summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/conda/libastra/linux_build_config.yaml1
-rw-r--r--python/conda/linux_release/buildenv/Dockerfile12
-rw-r--r--python/conda/linux_release/release.sh4
3 files changed, 13 insertions, 4 deletions
diff --git a/python/conda/libastra/linux_build_config.yaml b/python/conda/libastra/linux_build_config.yaml
index 347557b..49f0038 100644
--- a/python/conda/libastra/linux_build_config.yaml
+++ b/python/conda/libastra/linux_build_config.yaml
@@ -5,6 +5,7 @@ cudatoolkit:
- 10.0
- 10.1
- 10.2
+ - 11.0
c_compiler_version: # [linux or win]
- 5.4 # [linux or win]
cxx_compiler_version: # [linux or win]
diff --git a/python/conda/linux_release/buildenv/Dockerfile b/python/conda/linux_release/buildenv/Dockerfile
index 18c2f82..7cb6443 100644
--- a/python/conda/linux_release/buildenv/Dockerfile
+++ b/python/conda/linux_release/buildenv/Dockerfile
@@ -3,6 +3,13 @@ ENV DEBIAN_FRONTEND noninteractive
#RUN echo 'deb http://archive.debian.org/debian/ wheezy main' > /etc/apt/sources.list && echo 'deb http://archive.debian.org/debian-security/ wheezy/updates main' >> /etc/apt/sources.list && apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y perl-modules build-essential autoconf libtool automake libboost-dev git libxml2 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y perl-modules build-essential autoconf libtool automake libboost-dev git libxml2 && rm -rf /var/lib/apt/lists/*
+FROM BUILDBASE AS CUDA110
+RUN touch /root/cuda110
+COPY cuda_11.0.3_450.51.06_linux.run /root
+RUN /bin/bash /root/cuda_11.0.3_450.51.06_linux.run --toolkit --silent --installpath=/usr/local/cuda-11.0 && \
+ rm -f /root/cuda_11.0.3_450.51.06_linux.run
+
+
FROM BUILDBASE AS CUDA102
RUN touch /root/cuda102
COPY cuda_10.2.89_440.33.01_linux.run /root
@@ -44,6 +51,7 @@ RUN /bin/bash /root/cuda_8.0.61.2_linux-run --silent --accept-eula && \
FROM BUILDBASE
RUN touch /root/cuda
+COPY --from=CUDA110 /usr/local/cuda-11.0 /usr/local/cuda-11.0
COPY --from=CUDA102 /usr/local/cuda-10.2 /usr/local/cuda-10.2
COPY --from=CUDA101 /usr/local/cuda-10.1 /usr/local/cuda-10.1
COPY --from=CUDA100 /usr/local/cuda-10.0 /usr/local/cuda-10.0
@@ -52,8 +60,8 @@ COPY --from=CUDA90 /usr/local/cuda-9.0 /usr/local/cuda-9.0
COPY --from=CUDA80 /usr/local/cuda-8.0 /usr/local/cuda-8.0
ENV PATH /root/miniconda3/bin:$PATH
-COPY Miniconda3-4.5.4-Linux-x86_64.sh /root/
-RUN /bin/bash /root/Miniconda3-4.5.4-Linux-x86_64.sh -b && \
+COPY Miniconda3-py38_4.8.3-Linux-x86_64.sh /root/
+RUN /bin/bash /root/Miniconda3-py38_4.8.3-Linux-x86_64.sh -b && \
rm -f /root/Miniconda3*
RUN conda install -y conda-build conda-verify
diff --git a/python/conda/linux_release/release.sh b/python/conda/linux_release/release.sh
index ef2e71c..bf9279c 100644
--- a/python/conda/linux_release/release.sh
+++ b/python/conda/linux_release/release.sh
@@ -4,7 +4,7 @@ set -e
D=`mktemp -d`
-for F in https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run https://developer.nvidia.com/compute/cuda/8.0/Prod2/patches/2/cuda_8.0.61.2_linux-run https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda_9.2.148_396.37_linux https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run ; do
+for F in https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.3-Linux-x86_64.sh https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run https://developer.nvidia.com/compute/cuda/8.0/Prod2/patches/2/cuda_8.0.61.2_linux-run https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda_9.2.148_396.37_linux https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_410.48_linux https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda_11.0.3_450.51.06_linux.run ; do
[ -f buildenv/`basename $F` ] || (cd buildenv; wget $F )
done
@@ -12,7 +12,7 @@ docker build -t astra-build-env buildenv
cp buildenv/build.sh $D
-docker run -v $D:/out:z astra-build-env /bin/bash /out/build.sh 1.9.9.dev4 0
+docker run -v $D:/out:z astra-build-env /bin/bash /out/build.sh 1.9.9.dev5 0
rm -f $D/build.sh