diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index d2bae4a..cba1fb9 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -11,23 +11,23 @@ jobs: linux_64_cuda_compiler_version10.0: CONFIG: linux_64_cuda_compiler_version10.0 UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-cuda:10.0 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:10.0 linux_64_cuda_compiler_version10.1: CONFIG: linux_64_cuda_compiler_version10.1 UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-cuda:10.1 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:10.1 linux_64_cuda_compiler_version10.2: CONFIG: linux_64_cuda_compiler_version10.2 UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-cuda:10.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:10.2 linux_64_cuda_compiler_version11.0: CONFIG: linux_64_cuda_compiler_version11.0 UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-cuda:11.0 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.0 linux_64_cuda_compiler_version9.2: CONFIG: linux_64_cuda_compiler_version9.2 UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-cuda:9.2 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:9.2 timeoutInMinutes: 360 steps: diff --git a/.ci_support/linux_64_cuda_compiler_version10.0.yaml b/.ci_support/linux_64_cuda_compiler_version10.0.yaml index c8b4e1d..414a3af 100644 --- a/.ci_support/linux_64_cuda_compiler_version10.0.yaml +++ b/.ci_support/linux_64_cuda_compiler_version10.0.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos6 channel_sources: @@ -15,9 +15,9 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: -- condaforge/linux-anvil-cuda:10.0 +- quay.io/condaforge/linux-anvil-cuda:10.0 target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_64_cuda_compiler_version10.1.yaml b/.ci_support/linux_64_cuda_compiler_version10.1.yaml index 2dbf357..92e29b8 100644 --- a/.ci_support/linux_64_cuda_compiler_version10.1.yaml +++ b/.ci_support/linux_64_cuda_compiler_version10.1.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos6 channel_sources: @@ -15,9 +15,9 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: -- condaforge/linux-anvil-cuda:10.1 +- quay.io/condaforge/linux-anvil-cuda:10.1 target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_64_cuda_compiler_version10.2.yaml b/.ci_support/linux_64_cuda_compiler_version10.2.yaml index 193e165..cd17d83 100644 --- a/.ci_support/linux_64_cuda_compiler_version10.2.yaml +++ b/.ci_support/linux_64_cuda_compiler_version10.2.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos6 channel_sources: @@ -15,9 +15,9 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: -- condaforge/linux-anvil-cuda:10.2 +- quay.io/condaforge/linux-anvil-cuda:10.2 target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_64_cuda_compiler_version11.0.yaml b/.ci_support/linux_64_cuda_compiler_version11.0.yaml index 05a2cf8..cf3af8e 100644 --- a/.ci_support/linux_64_cuda_compiler_version11.0.yaml +++ b/.ci_support/linux_64_cuda_compiler_version11.0.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos6 channel_sources: @@ -15,9 +15,9 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: -- condaforge/linux-anvil-cuda:11.0 +- quay.io/condaforge/linux-anvil-cuda:11.0 target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_64_cuda_compiler_version9.2.yaml b/.ci_support/linux_64_cuda_compiler_version9.2.yaml index 0d122ef..2eba62a 100644 --- a/.ci_support/linux_64_cuda_compiler_version9.2.yaml +++ b/.ci_support/linux_64_cuda_compiler_version9.2.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos6 channel_sources: @@ -15,9 +15,9 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: -- condaforge/linux-anvil-cuda:9.2 +- quay.io/condaforge/linux-anvil-cuda:9.2 target_platform: - linux-64 zip_keys: diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 9734630..e746943 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "nvcc" %} -{% set number = 7 %} +{% set number = 8 %} package: name: "{{ name }}" @@ -20,22 +20,27 @@ outputs: run_exports: strong: - cudatoolkit {{ cuda_compiler_version }}|{{ cuda_compiler_version }}.* - - __glibc >=2.17 # [linux and cuda_compiler_version == "11.0"] + - __glibc >=2.17 # [linux and (cuda_compiler_version or "").startswith("11.")] requirements: host: # Needed to symlink libcuda into sysroot libs. - {{ compiler("c") }} - - sysroot_linux-64 2.17 # [linux and cuda_compiler_version == "11.0"] - - __glibc >=2.17 # [linux and cuda_compiler_version == "11.0"] + - sysroot_linux-64 2.17 # [linux and (cuda_compiler_version or "").startswith("11.")] + - __glibc >=2.17 # [linux and (cuda_compiler_version or "").startswith("11.")] run: - - sysroot_linux-64 2.17 # [linux and cuda_compiler_version == "11.0"] - - __glibc >=2.17 # [linux and cuda_compiler_version == "11.0"] + - sysroot_linux-64 2.17 # [linux and (cuda_compiler_version or "").startswith("11.")] + - __glibc >=2.17 # [linux and (cuda_compiler_version or "").startswith("11.")] + run_constrained: + - gcc_linux-64 <=10 # [linux and (cuda_compiler_version or "").startswith("11.1.")] + - gcc_linux-64 <=9 # [linux and (cuda_compiler_version or "").startswith("11.0.")] + - gcc_linux-64 <=8 # [linux and (cuda_compiler_version or "").startswith(("10.2.", "10.1."))] + - gcc_linux-64 <=7 # [linux and (cuda_compiler_version or "").startswith(("10.0.", "9.2."))] test: requires: - {{ compiler("c") }} # Host code is forwarded to a C++ compiler - {{ compiler("cxx") }} - - sysroot_linux-64 2.17 # [linux and cuda_compiler_version == "11.0"] + - sysroot_linux-64 2.17 # [linux and (cuda_compiler_version or "").startswith("11.")] files: - test.cu - test_nvcc.sh # [linux]