File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ RUN apt-get update && \
1212 rm -rf /var/lib/apt/lists/*
1313
1414ARG JULIA=1.6
15- RUN curl -fsSL https://install.julialang.org | sh -s -- --yes
16- RUN /root /.juliaup/bin/juliaup add ${JULIA}
17- RUN /root /.juliaup/bin/juliaup default ${JULIA}
15+ RUN curl -fsSL https://install.julialang.org | sh -s -- --path /usr/local/.juliaup -- yes
16+ RUN /usr/local /.juliaup/bin/juliaup add ${JULIA}
17+ RUN /usr/local /.juliaup/bin/juliaup default ${JULIA}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pipeline {
2727 }
2828 steps {
2929 sh '''
30- /root /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
30+ /usr/local /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
3131 '''
3232 }
3333 }
@@ -51,7 +51,7 @@ pipeline {
5151 }
5252 steps {
5353 sh '''
54- /root /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
54+ /usr/local /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cuda"])'
5555 '''
5656 }
5757 }
@@ -75,7 +75,7 @@ pipeline {
7575 }
7676 steps {
7777 sh '''
78- /root /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
78+ /usr/local /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
7979 '''
8080 }
8181 }
@@ -99,7 +99,7 @@ pipeline {
9999 }
100100 steps {
101101 sh '''
102- /root /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
102+ /usr/local /.juliaup/bin/julia -e 'using Pkg; Pkg.activate(temp=true); Pkg.Registry.update(); Pkg.update(); Pkg.develop(path="./NDTensors"); Pkg.develop(path="."); Pkg.test("NDTensors"; test_args=["cutensor"])'
103103 '''
104104 }
105105 }
You can’t perform that action at this time.
0 commit comments