This repository was archived by the owner on Apr 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ source /etc/lsb-release
11
11
if [[ " $DISTRIB_RELEASE " == 14.04 ]]; then
12
12
if which conda & > /dev/null; then
13
13
echo " Building TC in conda env"
14
+ source activate
14
15
conda install -y -c pytorch pytorch
15
16
conda install -y pyyaml
16
17
WITH_PYTHON_C2=OFF CLANG_PREFIX=/usr/local/clang+llvm-tapir5.0 BUILD_TYPE=Release ./build.sh --all
23
24
if [[ " $DISTRIB_RELEASE " == 16.04 ]]; then
24
25
if which conda & > /dev/null; then
25
26
echo " Building TC in conda env"
27
+ source activate
26
28
conda install -y pytorch cuda90 -c pytorch
27
29
conda install -y pyyaml
28
30
WITH_PYTHON_C2=OFF CLANG_PREFIX=/usr/local/clang+llvm-tapir5.0 BUILD_TYPE=Release ./build.sh --all
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ apt-get update
6
+ apt-get install sudo
7
+
5
8
# Mirror jenkins user in container
6
9
echo " jenkins:x:$JENKINS_UID :$JENKINS_GID ::/var/lib/jenkins:" >> /etc/passwd
7
10
echo " jenkins:x:$JENKINS_GID :" >> /etc/group
Original file line number Diff line number Diff line change @@ -59,7 +59,4 @@ RUN python --version
59
59
RUN which cmake
60
60
RUN cmake --version
61
61
62
- # activate the root conda environment
63
- RUN source activate
64
-
65
62
CMD ["bash" ]
You can’t perform that action at this time.
0 commit comments