From 2e2739d70d848d4090d25853f44fce1a4f55aba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Mon, 19 Apr 2021 16:48:54 +0200 Subject: [PATCH 01/12] enable ppc64le manually --- conda-forge.yml | 1 + recipe/conda_build_config.yaml | 16 +++++++++++++++- recipe/meta.yaml | 6 +++--- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/conda-forge.yml b/conda-forge.yml index 1c09752..d192d52 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1 +1,2 @@ conda_forge_output_validation: true +provider: {linux_ppc64le: azure} \ No newline at end of file diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index b70488d..6a7c4bb 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -1,3 +1,4 @@ + # When adding or removing cuda versions, make sure that the following entries are "zipped"; # e.g. each entry in cuda_compiler_version must have a matching entry in the other keys, # considering the effect of the selector: @@ -6,13 +7,22 @@ # cdt_name # docker_image +zip_keys: + - cuda_compiler_version # [linux64 or (linux and ppc64le)] + - cdt_name # [linux64 or (linux and ppc64le)] + - docker_image # [linux64 or (linux and ppc64le)] + - cudnn # [linux64] + +cuda_compiler: # [linux64 or win or (linux and ppc64le)] + - nvcc # [linux64 or win or (linux and ppc64le)] + cuda_compiler_version: - None - 9.2 # [linux64] - 10.0 # [linux64 or win] - 10.1 # [linux64 or win] - - 10.2 # [linux64 or win] + - 10.2 # [linux64 or win or (linux and ppc64le)] - 11.0 # [linux64 or win] - 11.1 # [linux64 or win] - 11.2 # [linux64 or win] @@ -33,6 +43,8 @@ docker_image: # [os.environ.get("BUILD_PLATFOR - quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] + - quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + cudnn: # start for cuda_compiler_version == None - undefined @@ -61,3 +73,5 @@ cdt_name: # [linux] - cos7 # [linux64] # CUDA 11.0 - cos7 # [linux64] # CUDA 11.1 - cos7 # [linux64] # CUDA 11.2 + + - cos7 # [linux and ppc64le] # CUDA 10.2 \ No newline at end of file diff --git a/recipe/meta.yaml b/recipe/meta.yaml index aeb3a56..baa3bdb 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -42,13 +42,13 @@ outputs: # Needed to symlink libcuda into sysroot libs. - {{ compiler("c") }} {% if cuda_major_minor >= (11, 0) %} - - sysroot_linux-64 2.17 # [linux] + - sysroot_linux-64 2.17 # [linux64] - __glibc >=2.17 # [linux] {% endif %} run: - sed # [linux] {% if cuda_major_minor >= (11, 0) %} - - sysroot_linux-64 2.17 # [linux] + - sysroot_linux-64 2.17 # [linux64] - __glibc >=2.17 # [linux] {% endif %} test: @@ -57,7 +57,7 @@ outputs: # Host code is forwarded to a C++ compiler - {{ compiler("cxx") }} {% if cuda_major_minor >= (11, 0) %} - - sysroot_linux-64 2.17 # [linux] + - sysroot_linux-64 2.17 # [linux64] {% endif %} files: - test.cu From 0a21f1b152d2649babcc91c502eea9c3a4c350ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Mon, 19 Apr 2021 17:05:18 +0200 Subject: [PATCH 02/12] Add ppc64le (removed migrators!) MNT: Re-rendered with conda-build 3.20.5, conda-smithy 3.10.0, and conda-forge-pinning 2021.04.17.14.54.41 --- .azure-pipelines/azure-pipelines-linux.yml | 4 ++ .../linux_64_cuda_compiler_version10.0.yaml | 8 +-- .../linux_64_cuda_compiler_version10.1.yaml | 8 +-- .../linux_64_cuda_compiler_version10.2.yaml | 8 +-- .../linux_64_cuda_compiler_version11.0.yaml | 8 +-- .../linux_64_cuda_compiler_version11.1.yaml | 8 +-- .../linux_64_cuda_compiler_version11.2.yaml | 8 +-- .../linux_64_cuda_compiler_version9.2.yaml | 8 +-- ...nux_ppc64le_cuda_compiler_version10.2.yaml | 28 ++++++++ .ci_support/migrations/cuda110.yaml | 72 ------------------- .ci_support/migrations/windows_cuda.yaml | 29 -------- .scripts/build_steps.sh | 27 ++++++- .scripts/logging_utils.sh | 35 +++++++++ .scripts/run_docker_build.sh | 13 +++- LICENSE.txt | 2 +- README.md | 12 +++- recipe/conda_build_config.yaml | 10 ++- recipe/meta.yaml | 2 +- 18 files changed, 150 insertions(+), 140 deletions(-) create mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml delete mode 100644 .ci_support/migrations/cuda110.yaml delete mode 100644 .ci_support/migrations/windows_cuda.yaml create mode 100644 .scripts/logging_utils.sh diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 44900fe..8f45b7f 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -36,6 +36,10 @@ jobs: CONFIG: linux_64_cuda_compiler_version9.2 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:9.2 + linux_ppc64le_cuda_compiler_version10.2: + CONFIG: linux_ppc64le_cuda_compiler_version10.2 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:10.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 b0a7af3..933e625 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,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:10.0 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version10.1.yaml b/.ci_support/linux_64_cuda_compiler_version10.1.yaml index 4c05dfa..68bbf7e 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,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:10.1 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version10.2.yaml b/.ci_support/linux_64_cuda_compiler_version10.2.yaml index cae524e..98da27f 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,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:10.2 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.0.yaml b/.ci_support/linux_64_cuda_compiler_version11.0.yaml index edccc4d..ad346f9 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: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:11.0 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.1.yaml b/.ci_support/linux_64_cuda_compiler_version11.1.yaml index c249bd7..799150f 100644 --- a/.ci_support/linux_64_cuda_compiler_version11.1.yaml +++ b/.ci_support/linux_64_cuda_compiler_version11.1.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:11.1 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version11.2.yaml b/.ci_support/linux_64_cuda_compiler_version11.2.yaml index 8f6561a..2035fba 100644 --- a/.ci_support/linux_64_cuda_compiler_version11.2.yaml +++ b/.ci_support/linux_64_cuda_compiler_version11.2.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '7' +- '9' cdt_name: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:11.2 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_64_cuda_compiler_version9.2.yaml b/.ci_support/linux_64_cuda_compiler_version9.2.yaml index ec487f0..b55dcbe 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,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '7' +- '9' docker_image: - quay.io/condaforge/linux-anvil-cuda:9.2 target_platform: @@ -23,6 +23,6 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version -- - cdt_name - - cuda_compiler_version +- - cuda_compiler_version + - cdt_name - docker_image diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml new file mode 100644 index 0000000..18e887d --- /dev/null +++ b/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml @@ -0,0 +1,28 @@ +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_name: +- cos7 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '10.2' +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/migrations/cuda110.yaml b/.ci_support/migrations/cuda110.yaml deleted file mode 100644 index 7fc4bf7..0000000 --- a/.ci_support/migrations/cuda110.yaml +++ /dev/null @@ -1,72 +0,0 @@ -migrator_ts: 1601612527 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 - override_cbc_keys: - - cuda_compiler_stub - ordering: - cxx_compiler_version: - - 9 - - 8 - - 7 - c_compiler_version: - - 9 - - 8 - - 7 - -cuda_compiler_version: - - None - - 9.2 # [linux64] - - 10.0 # [linux64] - - 10.1 # [linux64] - - 10.2 # [linux64] - - 11.0 # [linux64] - -c_compiler_version: # [linux] - - 7 # [linux64 or aarch64] - - 8 # [ppc64le] -cxx_compiler_version: # [linux] - - 7 # [linux64 or aarch64] - - 8 # [ppc64le] - -cudnn: - - undefined - - 7 # [linux64] - - 7 # [linux64] - - 7 # [linux64] - - 7 # [linux64] - - 8 # [linux64] - -cdt_name: # [linux] - - cos6 # [linux64] - - cos7 # [linux and aarch64] - - cos7 # [linux and ppc64le] - - cos7 # [linux and armv7l] - - - cos6 # [linux64] - - cos6 # [linux64] - - cos6 # [linux64] - - cos6 # [linux64] - - cos7 # [linux64] - -docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] - - quay.io/condaforge/linux-anvil-comp7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - - quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"] - - - quay.io/condaforge/linux-anvil-cuda:9.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:10.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:10.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:10.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - -zip_keys: - - - cudnn # [linux64] - - cuda_compiler_version # [linux64] - - docker_image # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - cdt_name # [linux64] diff --git a/.ci_support/migrations/windows_cuda.yaml b/.ci_support/migrations/windows_cuda.yaml deleted file mode 100644 index c241425..0000000 --- a/.ci_support/migrations/windows_cuda.yaml +++ /dev/null @@ -1,29 +0,0 @@ -migrator_ts: 1604255168 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 - override_cbc_keys: - - cuda_compiler_stub - check_solvable: false - -cuda_compiler: # [win] - - nvcc # [win] -cuda_compiler_version: # [win] - - None # [win] - - 10.0 # [win] - - 10.1 # [win] - - 10.2 # [win] - - 11.0 # [win] -cudnn: # [win] - - undefined # [win] - - 7 # [win] - - 7 # [win] - - 7 # [win] - - 8 # [win] -zip_keys: # [win] - - - cudnn # [win] - - cuda_compiler_version # [win] \ No newline at end of file diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index aa9727b..71a0686 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -6,8 +6,15 @@ # benefit from the improvement. set -xeuo pipefail -export PYTHONUNBUFFERED=1 export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" +source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh + + +( endgroup "Start Docker" ) 2> /dev/null + +( startgroup "Configuring conda" ) 2> /dev/null + +export PYTHONUNBUFFERED=1 export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" @@ -18,8 +25,9 @@ conda-build: root-dir: ${FEEDSTOCK_ROOT}/build_artifacts CONDARC +BUILD_CMD=build -conda install --yes --quiet "conda-forge-ci-setup=3" conda-build pip -c conda-forge +conda install --yes --quiet "conda-forge-ci-setup=3" conda-build pip ${GET_BOA:-} -c conda-forge # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -30,6 +38,8 @@ source run_conda_forge_build_setup make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" +( endgroup "Configuring conda" ) 2> /dev/null + if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" @@ -37,17 +47,28 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ ${EXTRA_CB_OPTIONS:-} \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" + # Drop into an interactive shell /bin/bash else - conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + conda $BUILD_CMD "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ --suppress-variables ${EXTRA_CB_OPTIONS:-} \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" + ( startgroup "Validating outputs" ) 2> /dev/null + validate_recipe_outputs "${FEEDSTOCK_NAME}" + ( endgroup "Validating outputs" ) 2> /dev/null + + ( startgroup "Uploading packages" ) 2> /dev/null + if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" fi + + ( endgroup "Uploading packages" ) 2> /dev/null fi +( startgroup "Final checks" ) 2> /dev/null + touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" \ No newline at end of file diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh new file mode 100644 index 0000000..57bc95c --- /dev/null +++ b/.scripts/logging_utils.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Provide a unified interface for the different logging +# utilities CI providers offer. If unavailable, provide +# a compatible fallback (e.g. bare `echo xxxxxx`). + +function startgroup { + # Start a foldable group of log lines + # Pass a single argument, quoted + case ${CI:-} in + azure ) + echo "##[group]$1";; + travis ) + echo "$1" + echo -en 'travis_fold:start:'"${1// /}"'\\r';; + github_actions ) + echo "::group::$1";; + * ) + echo "$1";; + esac +} 2> /dev/null + +function endgroup { + # End a foldable group of log lines + # Pass a single argument, quoted + + case ${CI:-} in + azure ) + echo "##[endgroup]";; + travis ) + echo -en 'travis_fold:end:'"${1// /}"'\\r';; + github_actions ) + echo "::endgroup::";; + esac +} 2> /dev/null diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index 36dacd6..44ad3ce 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -5,6 +5,10 @@ # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also # benefit from the improvement. +source .scripts/logging_utils.sh + +( startgroup "Configure Docker" ) 2> /dev/null + set -xeo pipefail THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" @@ -66,6 +70,10 @@ if [ -z "${CI}" ]; then DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" fi +( endgroup "Configure Docker" ) 2> /dev/null + +( startgroup "Start Docker" ) 2> /dev/null + export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" docker run ${DOCKER_RUN_ARGS} \ -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ @@ -88,4 +96,7 @@ docker run ${DOCKER_RUN_ARGS} \ /home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh # verify that the end of the script was reached -test -f "$DONE_CANARY" \ No newline at end of file +test -f "$DONE_CANARY" + +# This closes the last group opened in `build_steps.sh` +( endgroup "Final checks" ) 2> /dev/null \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt index 5f30279..ed3f451 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,5 +1,5 @@ BSD 3-clause license -Copyright (c) 2015-2020, conda-forge contributors +Copyright (c) 2015-2021, conda-forge contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/README.md b/README.md index 3cca12e..d6ba3de 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,13 @@ Current build status variant + + linux_ppc64le_cuda_compiler_version10.2 + + + variant + + win_64_cuda_compiler_version10.0 @@ -139,6 +146,7 @@ Installing `nvcc` from the `conda-forge` channel can be achieved by adding `cond ``` conda config --add channels conda-forge +conda config --set channel_priority strict ``` Once the `conda-forge` channel has been enabled, `nvcc_linux-64` can be installed with: @@ -209,9 +217,9 @@ build distinct package versions. In order to produce a uniquely identifiable distribution: * If the version of a package **is not** being increased, please add or increase - the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string). + the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). * If the version of a package **is** being increased, please remember to return - the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string) + the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) back to 0. Feedstock Maintainers diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 6a7c4bb..42f439e 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -23,8 +23,8 @@ cuda_compiler_version: - 10.0 # [linux64 or win] - 10.1 # [linux64 or win] - 10.2 # [linux64 or win or (linux and ppc64le)] - - 11.0 # [linux64 or win] - - 11.1 # [linux64 or win] + - 11.0 # [linux64 or win] # or (linux and ppc64le) + - 11.1 # [linux64 or win] # or (linux and ppc64le) - 11.2 # [linux64 or win] docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] @@ -44,6 +44,8 @@ docker_image: # [os.environ.get("BUILD_PLATFOR - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + # - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + # - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] cudnn: # start for cuda_compiler_version == None @@ -74,4 +76,6 @@ cdt_name: # [linux] - cos7 # [linux64] # CUDA 11.1 - cos7 # [linux64] # CUDA 11.2 - - cos7 # [linux and ppc64le] # CUDA 10.2 \ No newline at end of file + - cos7 # [linux and ppc64le] # CUDA 10.2 + # - cos7 # [linux and ppc64le] # CUDA 11.0 + # - cos7 # [linux and ppc64le] # CUDA 11.1 \ No newline at end of file diff --git a/recipe/meta.yaml b/recipe/meta.yaml index baa3bdb..e6d784d 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "nvcc" %} -{% set number = 12 %} +{% set number = 13 %} {% if cuda_compiler_version in (None, "None", True, False) %} {% set cuda_major = 0 %} From 10f0b1342ab6c9055205536432baca0cffd971b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 11:36:11 +0200 Subject: [PATCH 03/12] add 11.0+ --- recipe/conda_build_config.yaml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 42f439e..de8e245 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -11,7 +11,7 @@ zip_keys: - cuda_compiler_version # [linux64 or (linux and ppc64le)] - cdt_name # [linux64 or (linux and ppc64le)] - docker_image # [linux64 or (linux and ppc64le)] - - cudnn # [linux64] + - cudnn # [linux64 or (linux and ppc64le)] cuda_compiler: # [linux64 or win or (linux and ppc64le)] - nvcc # [linux64 or win or (linux and ppc64le)] @@ -23,9 +23,9 @@ cuda_compiler_version: - 10.0 # [linux64 or win] - 10.1 # [linux64 or win] - 10.2 # [linux64 or win or (linux and ppc64le)] - - 11.0 # [linux64 or win] # or (linux and ppc64le) - - 11.1 # [linux64 or win] # or (linux and ppc64le) - - 11.2 # [linux64 or win] + - 11.0 # [linux64 or win or (linux and ppc64le)] + - 11.1 # [linux64 or win or (linux and ppc64le)] + - 11.2 # [linux64 or win or (linux and ppc64le)] docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] # start cuda_compiler_version == None @@ -44,8 +44,9 @@ docker_image: # [os.environ.get("BUILD_PLATFOR - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - # - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - # - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] cudnn: # start for cuda_compiler_version == None @@ -60,6 +61,11 @@ cudnn: - 8 # [linux64 or win] # CUDA 11.1 - 8 # [linux64 or win] # CUDA 11.2 + - undefined # [linux and ppc64le] # CUDA 10.2 + - undefined # [linux and ppc64le] # CUDA 11.0 + - undefined # [linux and ppc64le] # CUDA 11.1 + - undefined # [linux and ppc64le] # CUDA 11.2 + cdt_name: # [linux] # start cuda_compiler_version == None - cos6 # [linux64] @@ -77,5 +83,6 @@ cdt_name: # [linux] - cos7 # [linux64] # CUDA 11.2 - cos7 # [linux and ppc64le] # CUDA 10.2 - # - cos7 # [linux and ppc64le] # CUDA 11.0 - # - cos7 # [linux and ppc64le] # CUDA 11.1 \ No newline at end of file + - cos8 # [linux and ppc64le] # CUDA 11.0 + - cos8 # [linux and ppc64le] # CUDA 11.1 + - cos8 # [linux and ppc64le] # CUDA 11.2 \ No newline at end of file From f82395dc7fe36337e514db2d4aaf844e1fe61e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 11:36:25 +0200 Subject: [PATCH 04/12] MNT: Re-rendered with conda-build 3.20.5, conda-smithy 3.10.0, and conda-forge-pinning 2021.04.20.06.10.28 --- .azure-pipelines/azure-pipelines-linux.yml | 12 ++++++++ ...nux_ppc64le_cuda_compiler_version11.0.yaml | 28 +++++++++++++++++++ ...nux_ppc64le_cuda_compiler_version11.1.yaml | 28 +++++++++++++++++++ ...nux_ppc64le_cuda_compiler_version11.2.yaml | 28 +++++++++++++++++++ README.md | 21 ++++++++++++++ 5 files changed, 117 insertions(+) create mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml create mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml create mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 8f45b7f..471873e 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -40,6 +40,18 @@ jobs: CONFIG: linux_ppc64le_cuda_compiler_version10.2 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 + linux_ppc64le_cuda_compiler_version11.0: + CONFIG: linux_ppc64le_cuda_compiler_version11.0 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 + linux_ppc64le_cuda_compiler_version11.1: + CONFIG: linux_ppc64le_cuda_compiler_version11.1 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 + linux_ppc64le_cuda_compiler_version11.2: + CONFIG: linux_ppc64le_cuda_compiler_version11.2 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 timeoutInMinutes: 360 steps: diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml new file mode 100644 index 0000000..5f54af6 --- /dev/null +++ b/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml @@ -0,0 +1,28 @@ +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_name: +- cos8 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.0' +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml new file mode 100644 index 0000000..f740ae6 --- /dev/null +++ b/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml @@ -0,0 +1,28 @@ +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_name: +- cos8 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.1' +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - cuda_compiler_version + - cdt_name + - docker_image diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml new file mode 100644 index 0000000..3a2c0f2 --- /dev/null +++ b/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml @@ -0,0 +1,28 @@ +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_name: +- cos8 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.2' +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - cuda_compiler_version + - cdt_name + - docker_image diff --git a/README.md b/README.md index d6ba3de..df2dd22 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,27 @@ Current build status variant + + linux_ppc64le_cuda_compiler_version11.0 + + + variant + + + + linux_ppc64le_cuda_compiler_version11.1 + + + variant + + + + linux_ppc64le_cuda_compiler_version11.2 + + + variant + + win_64_cuda_compiler_version10.0 From 1a5b197764a9e8ee39ceb120098f0ca5074b9a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 12:03:40 +0200 Subject: [PATCH 05/12] fix zip_keys? --- recipe/conda_build_config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index de8e245..91135e2 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -8,10 +8,11 @@ # docker_image zip_keys: - - cuda_compiler_version # [linux64 or (linux and ppc64le)] - - cdt_name # [linux64 or (linux and ppc64le)] - - docker_image # [linux64 or (linux and ppc64le)] - - cudnn # [linux64 or (linux and ppc64le)] + - - cuda_compiler_version # [linux64 or (linux and ppc64le)] + - cdt_name # [linux64 or (linux and ppc64le)] + - docker_image # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] + - docker_image # [linux and ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + - cudnn # [linux64 or (linux and ppc64le)] cuda_compiler: # [linux64 or win or (linux and ppc64le)] - nvcc # [linux64 or win or (linux and ppc64le)] From e52ae8338d3248ac53163e20fa78ae8b43eec620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 12:53:02 +0200 Subject: [PATCH 06/12] fix compiler versions --- recipe/conda_build_config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 91135e2..83e81d7 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -28,6 +28,14 @@ cuda_compiler_version: - 11.1 # [linux64 or win or (linux and ppc64le)] - 11.2 # [linux64 or win or (linux and ppc64le)] +c_compiler_version: # [os.environ.get("BUILD_PLATFORM", "").startswith(("linux-64", "linux-ppc64le"))] + - 7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] + - 8 # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + +cxx_compiler_version: # [os.environ.get("BUILD_PLATFORM", "").startswith(("linux-64", "linux-ppc64le"))] + - 7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] + - 8 # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] + docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-")] # start cuda_compiler_version == None - quay.io/condaforge/linux-anvil-comp7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] From d3a7d687561a916e6d466f50cefac3768af9fe49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 12:53:14 +0200 Subject: [PATCH 07/12] MNT: Re-rendered with conda-build 3.20.5, conda-smithy 3.10.0, and conda-forge-pinning 2021.04.20.06.10.28 --- .ci_support/linux_64_cuda_compiler_version10.0.yaml | 4 ++-- .ci_support/linux_64_cuda_compiler_version10.1.yaml | 4 ++-- .ci_support/linux_64_cuda_compiler_version10.2.yaml | 4 ++-- .ci_support/linux_64_cuda_compiler_version11.0.yaml | 4 ++-- .ci_support/linux_64_cuda_compiler_version11.1.yaml | 4 ++-- .ci_support/linux_64_cuda_compiler_version11.2.yaml | 4 ++-- .ci_support/linux_64_cuda_compiler_version9.2.yaml | 4 ++-- .ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml | 4 ++-- .ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml | 4 ++-- .ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml | 4 ++-- .ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.ci_support/linux_64_cuda_compiler_version10.0.yaml b/.ci_support/linux_64_cuda_compiler_version10.0.yaml index 933e625..2e65fa9 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: -- '9' +- '7' cdt_name: - cos6 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:10.0 target_platform: diff --git a/.ci_support/linux_64_cuda_compiler_version10.1.yaml b/.ci_support/linux_64_cuda_compiler_version10.1.yaml index 68bbf7e..c3fffc2 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: -- '9' +- '7' cdt_name: - cos6 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:10.1 target_platform: diff --git a/.ci_support/linux_64_cuda_compiler_version10.2.yaml b/.ci_support/linux_64_cuda_compiler_version10.2.yaml index 98da27f..c08f9f4 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: -- '9' +- '7' cdt_name: - cos6 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:10.2 target_platform: diff --git a/.ci_support/linux_64_cuda_compiler_version11.0.yaml b/.ci_support/linux_64_cuda_compiler_version11.0.yaml index ad346f9..5a695e1 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: -- '9' +- '7' cdt_name: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:11.0 target_platform: diff --git a/.ci_support/linux_64_cuda_compiler_version11.1.yaml b/.ci_support/linux_64_cuda_compiler_version11.1.yaml index 799150f..d70d8f0 100644 --- a/.ci_support/linux_64_cuda_compiler_version11.1.yaml +++ b/.ci_support/linux_64_cuda_compiler_version11.1.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '9' +- '7' cdt_name: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:11.1 target_platform: diff --git a/.ci_support/linux_64_cuda_compiler_version11.2.yaml b/.ci_support/linux_64_cuda_compiler_version11.2.yaml index 2035fba..ad86c27 100644 --- a/.ci_support/linux_64_cuda_compiler_version11.2.yaml +++ b/.ci_support/linux_64_cuda_compiler_version11.2.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '9' +- '7' cdt_name: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:11.2 target_platform: diff --git a/.ci_support/linux_64_cuda_compiler_version9.2.yaml b/.ci_support/linux_64_cuda_compiler_version9.2.yaml index b55dcbe..b094700 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: -- '9' +- '7' cdt_name: - cos6 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '7' docker_image: - quay.io/condaforge/linux-anvil-cuda:9.2 target_platform: diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml index 18e887d..be6ef2f 100644 --- a/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml +++ b/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '9' +- '8' cdt_name: - cos7 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '8' docker_image: - quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 target_platform: diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml index 5f54af6..c22966e 100644 --- a/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml +++ b/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '9' +- '8' cdt_name: - cos8 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '8' docker_image: - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 target_platform: diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml index f740ae6..6e9962d 100644 --- a/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml +++ b/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '9' +- '8' cdt_name: - cos8 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '8' docker_image: - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 target_platform: diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml index 3a2c0f2..fe536d6 100644 --- a/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml +++ b/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml @@ -1,7 +1,7 @@ c_compiler: - gcc c_compiler_version: -- '9' +- '8' cdt_name: - cos8 channel_sources: @@ -15,7 +15,7 @@ cuda_compiler_version: cxx_compiler: - gxx cxx_compiler_version: -- '9' +- '8' docker_image: - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 target_platform: From b640e9da6acfd2da698e398b60d2a89fb8bf97ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 16:23:28 +0200 Subject: [PATCH 08/12] workaround __ieee128 error --- recipe/test_nvcc.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipe/test_nvcc.sh b/recipe/test_nvcc.sh index b17800f..4b47c9b 100644 --- a/recipe/test_nvcc.sh +++ b/recipe/test_nvcc.sh @@ -68,4 +68,9 @@ fi source ${PREFIX}/etc/conda/activate.d/${PKG_NAME}_activate.sh # Try building something -nvcc test.cu \ No newline at end of file +NVCC_FLAGS="" +# Workaround __ieee128 error; see https://github.com/LLNL/blt/issues/341 +if [[ $target_platform == linux-ppc64le && $PKG_VERSION == 10.* ]]; + NVCC_FLAGS+=" -Xcompiler -mno-float128" +fi +nvcc $NVCC_FLAGS test.cu \ No newline at end of file From 50e5bc26fc8fc2e85152c2b61e0a1dbd63da28a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 20 Apr 2021 16:31:22 +0200 Subject: [PATCH 09/12] oops missing then --- recipe/test_nvcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/test_nvcc.sh b/recipe/test_nvcc.sh index 4b47c9b..782297f 100644 --- a/recipe/test_nvcc.sh +++ b/recipe/test_nvcc.sh @@ -70,7 +70,7 @@ source ${PREFIX}/etc/conda/activate.d/${PKG_NAME}_activate.sh # Try building something NVCC_FLAGS="" # Workaround __ieee128 error; see https://github.com/LLNL/blt/issues/341 -if [[ $target_platform == linux-ppc64le && $PKG_VERSION == 10.* ]]; +if [[ $target_platform == linux-ppc64le && $PKG_VERSION == 10.* ]]; then NVCC_FLAGS+=" -Xcompiler -mno-float128" fi nvcc $NVCC_FLAGS test.cu \ No newline at end of file From 4897f168fd7e42b4c49fee87960ce310b69cdb73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 11 May 2021 09:53:40 +0200 Subject: [PATCH 10/12] ppc64le for CUDA 10.2 only --- recipe/meta.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e6d784d..735f6d6 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -16,7 +16,7 @@ package: build: number: {{ number }} -{% if cuda_major == 0 %} +{% if cuda_major == 0 or (target_platform == "linux-ppc64le" and cuda_major_minor != (10, 2)) %} skip: true {% endif %} @@ -32,7 +32,7 @@ outputs: run_exports: strong: - cudatoolkit {{ cuda_compiler_version }}|{{ cuda_compiler_version }}.* -{% if cuda_major_minor >= (11, 0) %} +{% if cdt_name == "cos7" %} - __glibc >=2.17 # [linux] {% endif %} requirements: @@ -41,14 +41,14 @@ outputs: host: # Needed to symlink libcuda into sysroot libs. - {{ compiler("c") }} -{% if cuda_major_minor >= (11, 0) %} - - sysroot_linux-64 2.17 # [linux64] +{% if cdt_name == "cos7" %} + - sysroot_{{ target_platform }} 2.17 # [linux] - __glibc >=2.17 # [linux] {% endif %} run: - sed # [linux] -{% if cuda_major_minor >= (11, 0) %} - - sysroot_linux-64 2.17 # [linux64] +{% if cdt_name == "cos7" %} + - sysroot_{{ target_platform }} 2.17 # [linux] - __glibc >=2.17 # [linux] {% endif %} test: @@ -56,8 +56,8 @@ outputs: - {{ compiler("c") }} # Host code is forwarded to a C++ compiler - {{ compiler("cxx") }} -{% if cuda_major_minor >= (11, 0) %} - - sysroot_linux-64 2.17 # [linux64] +{% if cdt_name == "cos7" %} + - sysroot_{{ target_platform }} 2.17 # [linux] {% endif %} files: - test.cu From f9b451ae0639477e9e4f6250523d5d3725fe10ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Tue, 11 May 2021 09:56:20 +0200 Subject: [PATCH 11/12] MNT: Re-rendered with conda-build 3.21.4, conda-smithy 3.10.1, and conda-forge-pinning 2021.05.10.18.04.02 --- .azure-pipelines/azure-pipelines-linux.yml | 48 +++++++---------- ...dt_namecos6cuda_compiler_version10.0.yaml} | 0 ...dt_namecos6cuda_compiler_version10.1.yaml} | 0 ...dt_namecos6cuda_compiler_version10.2.yaml} | 0 ...cdt_namecos6cuda_compiler_version9.2.yaml} | 0 ...dt_namecos7cuda_compiler_version11.0.yaml} | 0 ...dt_namecos7cuda_compiler_version11.1.yaml} | 0 ...dt_namecos7cuda_compiler_version11.2.yaml} | 0 ...dt_namecos7cuda_compiler_version10.2.yaml} | 0 ...nux_ppc64le_cuda_compiler_version11.0.yaml | 28 ---------- ...nux_ppc64le_cuda_compiler_version11.1.yaml | 28 ---------- ...nux_ppc64le_cuda_compiler_version11.2.yaml | 28 ---------- .scripts/run_docker_build.sh | 6 +-- README.md | 53 ++++++------------- build-locally.py | 27 ++++++++-- 15 files changed, 61 insertions(+), 157 deletions(-) rename .ci_support/{linux_64_cuda_compiler_version10.0.yaml => linux_64_cdt_namecos6cuda_compiler_version10.0.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version10.1.yaml => linux_64_cdt_namecos6cuda_compiler_version10.1.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version10.2.yaml => linux_64_cdt_namecos6cuda_compiler_version10.2.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version9.2.yaml => linux_64_cdt_namecos6cuda_compiler_version9.2.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.0.yaml => linux_64_cdt_namecos7cuda_compiler_version11.0.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.1.yaml => linux_64_cdt_namecos7cuda_compiler_version11.1.yaml} (100%) rename .ci_support/{linux_64_cuda_compiler_version11.2.yaml => linux_64_cdt_namecos7cuda_compiler_version11.2.yaml} (100%) rename .ci_support/{linux_ppc64le_cuda_compiler_version10.2.yaml => linux_ppc64le_cdt_namecos7cuda_compiler_version10.2.yaml} (100%) delete mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml delete mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml delete mode 100644 .ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 471873e..b347422 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -8,50 +8,38 @@ jobs: vmImage: ubuntu-16.04 strategy: matrix: - linux_64_cuda_compiler_version10.0: - CONFIG: linux_64_cuda_compiler_version10.0 + linux_64_cdt_namecos6cuda_compiler_version10.0: + CONFIG: linux_64_cdt_namecos6cuda_compiler_version10.0 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:10.0 - linux_64_cuda_compiler_version10.1: - CONFIG: linux_64_cuda_compiler_version10.1 + linux_64_cdt_namecos6cuda_compiler_version10.1: + CONFIG: linux_64_cdt_namecos6cuda_compiler_version10.1 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:10.1 - linux_64_cuda_compiler_version10.2: - CONFIG: linux_64_cuda_compiler_version10.2 + linux_64_cdt_namecos6cuda_compiler_version10.2: + CONFIG: linux_64_cdt_namecos6cuda_compiler_version10.2 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:10.2 - linux_64_cuda_compiler_version11.0: - CONFIG: linux_64_cuda_compiler_version11.0 + linux_64_cdt_namecos6cuda_compiler_version9.2: + CONFIG: linux_64_cdt_namecos6cuda_compiler_version9.2 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:9.2 + linux_64_cdt_namecos7cuda_compiler_version11.0: + CONFIG: linux_64_cdt_namecos7cuda_compiler_version11.0 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.0 - linux_64_cuda_compiler_version11.1: - CONFIG: linux_64_cuda_compiler_version11.1 + linux_64_cdt_namecos7cuda_compiler_version11.1: + CONFIG: linux_64_cdt_namecos7cuda_compiler_version11.1 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.1 - linux_64_cuda_compiler_version11.2: - CONFIG: linux_64_cuda_compiler_version11.2 + linux_64_cdt_namecos7cuda_compiler_version11.2: + CONFIG: linux_64_cdt_namecos7cuda_compiler_version11.2 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - linux_64_cuda_compiler_version9.2: - CONFIG: linux_64_cuda_compiler_version9.2 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:9.2 - linux_ppc64le_cuda_compiler_version10.2: - CONFIG: linux_ppc64le_cuda_compiler_version10.2 + linux_ppc64le_cdt_namecos7cuda_compiler_version10.2: + CONFIG: linux_ppc64le_cdt_namecos7cuda_compiler_version10.2 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:10.2 - linux_ppc64le_cuda_compiler_version11.0: - CONFIG: linux_ppc64le_cuda_compiler_version11.0 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 - linux_ppc64le_cuda_compiler_version11.1: - CONFIG: linux_ppc64le_cuda_compiler_version11.1 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 - linux_ppc64le_cuda_compiler_version11.2: - CONFIG: linux_ppc64le_cuda_compiler_version11.2 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 timeoutInMinutes: 360 steps: diff --git a/.ci_support/linux_64_cuda_compiler_version10.0.yaml b/.ci_support/linux_64_cdt_namecos6cuda_compiler_version10.0.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version10.0.yaml rename to .ci_support/linux_64_cdt_namecos6cuda_compiler_version10.0.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version10.1.yaml b/.ci_support/linux_64_cdt_namecos6cuda_compiler_version10.1.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version10.1.yaml rename to .ci_support/linux_64_cdt_namecos6cuda_compiler_version10.1.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version10.2.yaml b/.ci_support/linux_64_cdt_namecos6cuda_compiler_version10.2.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version10.2.yaml rename to .ci_support/linux_64_cdt_namecos6cuda_compiler_version10.2.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version9.2.yaml b/.ci_support/linux_64_cdt_namecos6cuda_compiler_version9.2.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version9.2.yaml rename to .ci_support/linux_64_cdt_namecos6cuda_compiler_version9.2.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.0.yaml b/.ci_support/linux_64_cdt_namecos7cuda_compiler_version11.0.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.0.yaml rename to .ci_support/linux_64_cdt_namecos7cuda_compiler_version11.0.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.1.yaml b/.ci_support/linux_64_cdt_namecos7cuda_compiler_version11.1.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.1.yaml rename to .ci_support/linux_64_cdt_namecos7cuda_compiler_version11.1.yaml diff --git a/.ci_support/linux_64_cuda_compiler_version11.2.yaml b/.ci_support/linux_64_cdt_namecos7cuda_compiler_version11.2.yaml similarity index 100% rename from .ci_support/linux_64_cuda_compiler_version11.2.yaml rename to .ci_support/linux_64_cdt_namecos7cuda_compiler_version11.2.yaml diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml b/.ci_support/linux_ppc64le_cdt_namecos7cuda_compiler_version10.2.yaml similarity index 100% rename from .ci_support/linux_ppc64le_cuda_compiler_version10.2.yaml rename to .ci_support/linux_ppc64le_cdt_namecos7cuda_compiler_version10.2.yaml diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml deleted file mode 100644 index c22966e..0000000 --- a/.ci_support/linux_ppc64le_cuda_compiler_version11.0.yaml +++ /dev/null @@ -1,28 +0,0 @@ -c_compiler: -- gcc -c_compiler_version: -- '8' -cdt_name: -- cos8 -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.0' -cxx_compiler: -- gxx -cxx_compiler_version: -- '8' -docker_image: -- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.0 -target_platform: -- linux-ppc64le -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml deleted file mode 100644 index 6e9962d..0000000 --- a/.ci_support/linux_ppc64le_cuda_compiler_version11.1.yaml +++ /dev/null @@ -1,28 +0,0 @@ -c_compiler: -- gcc -c_compiler_version: -- '8' -cdt_name: -- cos8 -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.1' -cxx_compiler: -- gxx -cxx_compiler_version: -- '8' -docker_image: -- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.1 -target_platform: -- linux-ppc64le -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml b/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml deleted file mode 100644 index fe536d6..0000000 --- a/.ci_support/linux_ppc64le_cuda_compiler_version11.2.yaml +++ /dev/null @@ -1,28 +0,0 @@ -c_compiler: -- gcc -c_compiler_version: -- '8' -cdt_name: -- cos8 -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '8' -docker_image: -- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 -target_platform: -- linux-ppc64le -zip_keys: -- - c_compiler_version - - cxx_compiler_version -- - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index 44ad3ce..244ccd1 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -52,11 +52,11 @@ if [ -z "${DOCKER_IMAGE}" ]; then echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) if [ "${DOCKER_IMAGE}" = "" ]; then - echo "No docker_image entry found in ${CONFIG}. Falling back to condaforge/linux-anvil-comp7" - DOCKER_IMAGE="condaforge/linux-anvil-comp7" + echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" + DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" fi else - DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 )" + DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" fi fi diff --git a/README.md b/README.md index df2dd22..0c769b3 100644 --- a/README.md +++ b/README.md @@ -27,80 +27,59 @@ Current build status - + - + - + - + - + - + - + - + - - - - - - - - - diff --git a/build-locally.py b/build-locally.py index 3453cfe..00eeb34 100755 --- a/build-locally.py +++ b/build-locally.py @@ -7,6 +7,7 @@ import glob import subprocess from argparse import ArgumentParser +import platform def setup_environment(ns): @@ -16,6 +17,10 @@ def setup_environment(ns): os.environ["BUILD_WITH_CONDA_DEBUG"] = "1" if ns.output_id: os.environ["BUILD_OUTPUT_ID"] = ns.output_id + if "MINIFORGE_HOME" not in os.environ: + os.environ["MINIFORGE_HOME"] = os.path.join( + os.path.dirname(__file__), "miniforge3" + ) def run_docker_build(ns): @@ -23,6 +28,11 @@ def run_docker_build(ns): subprocess.check_call([script]) +def run_osx_build(ns): + script = ".scripts/run_osx_build.sh" + subprocess.check_call([script]) + + def verify_config(ns): valid_configs = { os.path.basename(f)[:-5] for f in glob.glob(".ci_support/*.yaml") @@ -46,10 +56,16 @@ def verify_config(ns): else: raise ValueError("config " + ns.config + " is not valid") # Remove the following, as implemented - if not ns.config.startswith("linux"): + if ns.config.startswith("win"): raise ValueError( - f"only Linux configs currently supported, got {ns.config}" + f"only Linux/macOS configs currently supported, got {ns.config}" ) + elif ns.config.startswith("osx") and platform.system() == "Darwin": + if "OSX_SDK_DIR" not in os.environ: + raise RuntimeError( + "Need OSX_SDK_DIR env variable set. Run 'export OSX_SDK_DIR=/opt'" + "to download the SDK automatically to '/opt/MacOSX.sdk'" + ) def main(args=None): @@ -68,7 +84,12 @@ def main(args=None): verify_config(ns) setup_environment(ns) - run_docker_build(ns) + if ns.config.startswith("linux") or ( + ns.config.startswith("osx") and platform.system() == "Linux" + ): + run_docker_build(ns) + elif ns.config.startswith("osx"): + run_osx_build(ns) if __name__ == "__main__": From 7d4daa452f0659c8ee4f43c82a304c3d24e00a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Rodr=C3=ADguez-Guerra?= Date: Wed, 12 May 2021 19:38:50 +0200 Subject: [PATCH 12/12] cdt_name only available on Linux --- recipe/meta.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 735f6d6..2093bbf 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -32,33 +32,33 @@ outputs: run_exports: strong: - cudatoolkit {{ cuda_compiler_version }}|{{ cuda_compiler_version }}.* -{% if cdt_name == "cos7" %} +{% if cdt_name == "cos7" %} # [linux] - __glibc >=2.17 # [linux] -{% endif %} +{% endif %} # [linux] requirements: build: # [win] - m2-sed # [win] host: # Needed to symlink libcuda into sysroot libs. - {{ compiler("c") }} -{% if cdt_name == "cos7" %} +{% if cdt_name == "cos7" %} # [linux] - sysroot_{{ target_platform }} 2.17 # [linux] - - __glibc >=2.17 # [linux] -{% endif %} + - __glibc >=2.17 # [linux] +{% endif %} # [linux] run: - - sed # [linux] -{% if cdt_name == "cos7" %} + - sed # [linux] +{% if cdt_name == "cos7" %} # [linux] - sysroot_{{ target_platform }} 2.17 # [linux] - - __glibc >=2.17 # [linux] -{% endif %} + - __glibc >=2.17 # [linux] +{% endif %} # [linux] test: requires: - {{ compiler("c") }} # Host code is forwarded to a C++ compiler - {{ compiler("cxx") }} -{% if cdt_name == "cos7" %} +{% if cdt_name == "cos7" %} # [linux] - sysroot_{{ target_platform }} 2.17 # [linux] -{% endif %} +{% endif %} # [linux] files: - test.cu - test_nvcc.sh # [linux]
VariantStatus
linux_64_cuda_compiler_version10.0linux_64_cdt_namecos6cuda_compiler_version10.0 - variant + variant
linux_64_cuda_compiler_version10.1linux_64_cdt_namecos6cuda_compiler_version10.1 - variant + variant
linux_64_cuda_compiler_version10.2linux_64_cdt_namecos6cuda_compiler_version10.2 - variant + variant
linux_64_cuda_compiler_version11.0linux_64_cdt_namecos6cuda_compiler_version9.2 - variant + variant
linux_64_cuda_compiler_version11.1linux_64_cdt_namecos7cuda_compiler_version11.0 - variant + variant
linux_64_cuda_compiler_version11.2linux_64_cdt_namecos7cuda_compiler_version11.1 - variant + variant
linux_64_cuda_compiler_version9.2linux_64_cdt_namecos7cuda_compiler_version11.2 - variant + variant
linux_ppc64le_cuda_compiler_version10.2linux_ppc64le_cdt_namecos7cuda_compiler_version10.2 - variant - -
linux_ppc64le_cuda_compiler_version11.0 - - variant - -
linux_ppc64le_cuda_compiler_version11.1 - - variant - -
linux_ppc64le_cuda_compiler_version11.2 - - variant + variant