support cos7 cuda
@@ -47,12 +47,19 @@ jobs:
export CI=azure
export CONFIG=linux64
+ if [[ "$NEED_CENTOS7" == "1" ]]; then
+ export IMAGE_NAME=quay.io/condaforge/linux-anvil-cos7-cuda:9.2
+ else
export IMAGE_NAME=quay.io/condaforge/linux-anvil-cuda:9.2
+ fi
export AZURE=True
export CF_CUDA_VERSION="9.2"
.scripts/run_docker_build.sh
displayName: Run docker build for CUDA 9.2
+ env:
+ ${{ if eq(dependencies.linux_64.outputs['linux_64_build.NEED_CENTOS7'], '1') }}:
+ NEED_CENTOS7: 1
- publish: build_artifacts/linux-64/
artifact: conda_pkgs_linux_64_cuda_92
@@ -76,12 +83,19 @@ jobs:
export CI=azure
export CONFIG=linux64
+ if [[ "$NEED_CENTOS7" == "1" ]]; then
+ export IMAGE_NAME=quay.io/condaforge/linux-anvil-cos7-cuda:10.0
+ else
export IMAGE_NAME=quay.io/condaforge/linux-anvil-cuda:10.0
+ fi
export AZURE=True
export CF_CUDA_VERSION="10.0"
.scripts/run_docker_build.sh
displayName: Run docker build for CUDA 10.0
+ env:
+ ${{ if eq(dependencies.linux_64.outputs['linux_64_build.NEED_CENTOS7'], '1') }}:
+ NEED_CENTOS7: 1
- publish: build_artifacts/linux-64/
artifact: conda_pkgs_linux_64_cuda_100
@@ -105,12 +119,19 @@ jobs:
export CI=azure
export CONFIG=linux64
+ if [[ "$NEED_CENTOS7" == "1" ]]; then
+ export IMAGE_NAME=quay.io/condaforge/linux-anvil-cos7-cuda:10.1
+ else
export IMAGE_NAME=quay.io/condaforge/linux-anvil-cuda:10.1
+ fi
export AZURE=True
export CF_CUDA_VERSION="10.1"
.scripts/run_docker_build.sh
displayName: Run docker build for CUDA 10.1
+ env:
+ ${{ if eq(dependencies.linux_64.outputs['linux_64_build.NEED_CENTOS7'], '1') }}:
+ NEED_CENTOS7: 1
- publish: build_artifacts/linux-64/
artifact: conda_pkgs_linux_64_cuda_101
@@ -134,12 +155,19 @@ jobs:
export CI=azure
export CONFIG=linux64
+ if [[ "$NEED_CENTOS7" == "1" ]]; then
+ export IMAGE_NAME=quay.io/condaforge/linux-anvil-cos7-cuda:10.2
+ else
export IMAGE_NAME=quay.io/condaforge/linux-anvil-cuda:10.2
+ fi
export AZURE=True
export CF_CUDA_VERSION="10.2"
.scripts/run_docker_build.sh
displayName: Run docker build for CUDA 10.2
+ env:
+ ${{ if eq(dependencies.linux_64.outputs['linux_64_build.NEED_CENTOS7'], '1') }}:
+ NEED_CENTOS7: 1
- publish: build_artifacts/linux-64/
artifact: conda_pkgs_linux_64_cuda102
