File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tools/imagesets/oracle8conda Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ RUN conda install --yes --file /tmp/spec-file.txt \
20
20
&& rm /tmp/spec-file.txt
21
21
22
22
ENV CUDAHOSTCXX=x86_64-conda_cos6-linux-gnu-g++
23
- ENV CUDACXX=/usr/local/cuda-11.0 /bin/nvcc
23
+ ENV CUDACXX=/usr/local/cuda-${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR} /bin/nvcc
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ ENV GDAL_DRIVER_PATH=$conda_prefix/lib/gdalplugins
31
31
ENV PROJ_LIB=$conda_prefix/share/proj
32
32
ENV MPLCONFIGDIR=/tmp
33
33
34
- ENV CUDA_PKG_VERSION 11-0
34
+ ENV CUDA_VERSION_MAJOR 11
35
+ ENV CUDA_VERSION_MINOR 0
36
+ ENV CUDA_PKG_VERSION "${CUDA_VERSION_MAJOR}-${CUDA_VERSION_MINOR}"
35
37
36
38
RUN yum install -y \
37
39
cuda-cudart-$CUDA_PKG_VERSION \
You can’t perform that action at this time.
0 commit comments