From 51442b76985991edac8ec668c15a85899e16cd58 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <121827174+conda-forge-webservices[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 00:01:33 +0000 Subject: [PATCH 01/11] dummy commit for rerendering --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 091c30f..877b239 100644 --- a/README.md +++ b/README.md @@ -244,3 +244,6 @@ Feedstock Maintainers * [@carterbox](https://github.com/carterbox/) * [@conda-forge/pytorch-cpu](https://github.com/conda-forge/pytorch-cpu/) + + + From 46693f123ed3db59bbdbbccf390a538e40f762d3 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Wed, 17 Jul 2024 19:18:57 -0500 Subject: [PATCH 02/11] REL: Update to version 2.8.0 --- recipe/meta.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 37b5510..6f12bff 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -84,7 +84,7 @@ {% set cuda_major = environ.get("cuda_compiler_version", "11.2").split(".")[0]|int %} -{% set version = "2.7.2" %} +{% set version = "2.8.0" %} package: name: libmagma @@ -92,17 +92,14 @@ package: source: - url: https://icl.utk.edu/projectsfiles/magma/downloads/magma-{{ version }}.tar.gz - sha256: 729bc1a70e518a7422fe7a3a54537a4741035a77be3349f66eac5c362576d560 + sha256: f4e5e75350743fe57f49b615247da2cc875e5193cc90c11b43554a7c82cc4348 - path: make.inc - patches: - optional-install.patch build: - number: 2 + number: 0 skip: true # [cuda_compiler_version == "None"] - skip: true # [cuda_compiler_version == "10.2"] - skip: true # [cuda_compiler_version == "11.0"] - skip: true # [cuda_compiler_version == "11.1"] run_exports: - {{ pin_subpackage('libmagma', max_pin='x.x.x') }} @@ -111,6 +108,7 @@ requirements: - {{ compiler('c') }} - {{ compiler('cxx') }} - {{ compiler('cuda') }} + - {{ stdlib('c') }} - cmake >=3.20 - libgomp # [linux] - llvm-openmp # [osx] From 1bf8b50ec29fa6577efb0d23a304bdf5f11529f5 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 00:21:10 +0000 Subject: [PATCH 03/11] MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.37.1, and conda-forge-pinning 2024.07.17.19.24.35 --- .azure-pipelines/azure-pipelines-win.yml | 4 - ...ler_version11.2cxx_compiler_version10.yaml | 35 ------- ...ler_version11.8cxx_compiler_version11.yaml | 7 +- ...ler_version12.0cxx_compiler_version12.yaml | 7 +- ...ler_version11.2cxx_compiler_version10.yaml | 39 -------- ...ler_version11.8cxx_compiler_version11.yaml | 7 +- ...ler_version12.0cxx_compiler_version12.yaml | 7 +- ...ler_version11.2cxx_compiler_version10.yaml | 35 ------- ...ler_version11.8cxx_compiler_version11.yaml | 7 +- ...ler_version12.0cxx_compiler_version12.yaml | 7 +- .ci_support/migrations/cuda118.yaml | 99 ------------------- ...lercuda-nvcccuda_compiler_version12.0.yaml | 4 + ...compilernvcccuda_compiler_version11.2.yaml | 23 ----- ...compilernvcccuda_compiler_version11.8.yaml | 2 + .gitattributes | 4 +- .gitignore | 13 ++- .scripts/build_steps.sh | 18 ++-- .scripts/run_docker_build.sh | 6 ++ .scripts/run_win_build.bat | 9 +- README.md | 31 ------ build-locally.py | 5 +- 21 files changed, 81 insertions(+), 288 deletions(-) delete mode 100644 .ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml delete mode 100644 .ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml delete mode 100644 .ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml delete mode 100644 .ci_support/migrations/cuda118.yaml delete mode 100644 .ci_support/win_64_cuda_compilernvcccuda_compiler_version11.2.yaml diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 64422ff..195a0b2 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -12,10 +12,6 @@ jobs: CONFIG: win_64_cuda_compilercuda-nvcccuda_compiler_version12.0 UPLOAD_PACKAGES: 'True' SHORT_CONFIG: win_64_cuda_compilercuda-nvcccuda_c_h42eb0bda18 - win_64_cuda_compilernvcccuda_compiler_version11.2: - CONFIG: win_64_cuda_compilernvcccuda_compiler_version11.2 - UPLOAD_PACKAGES: 'True' - SHORT_CONFIG: win_64_cuda_compilernvcccuda_compil_h6dd062e242 win_64_cuda_compilernvcccuda_compiler_version11.8: CONFIG: win_64_cuda_compilernvcccuda_compiler_version11.8 UPLOAD_PACKAGES: 'True' diff --git a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml b/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml deleted file mode 100644 index b85605d..0000000 --- a/.ci_support/linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml +++ /dev/null @@ -1,35 +0,0 @@ -c_compiler: -- gcc -c_compiler_version: -- '10' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -github_actions_labels: -- cirun-openstack-gpu-large -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -target_platform: -- linux-64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml index e398629..556ef89 100644 --- a/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml +++ b/.ci_support/linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml @@ -2,6 +2,10 @@ c_compiler: - gcc c_compiler_version: - '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' cdt_name: - cos7 channel_sources: @@ -29,7 +33,8 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version + - cdt_name - cuda_compiler - cuda_compiler_version - - cdt_name - docker_image diff --git a/.ci_support/linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml b/.ci_support/linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml index 5e2dc3e..48ce88f 100644 --- a/.ci_support/linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml +++ b/.ci_support/linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml @@ -2,6 +2,10 @@ c_compiler: - gcc c_compiler_version: - '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' cdt_name: - cos7 channel_sources: @@ -29,7 +33,8 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version + - cdt_name - cuda_compiler - cuda_compiler_version - - cdt_name - docker_image diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml deleted file mode 100644 index 0c8ff49..0000000 --- a/.ci_support/linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml +++ /dev/null @@ -1,39 +0,0 @@ -BUILD: -- aarch64-conda_cos7-linux-gnu -c_compiler: -- gcc -c_compiler_version: -- '10' -cdt_arch: -- aarch64 -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -github_actions_labels: -- cirun-openstack-gpu-large -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -target_platform: -- linux-aarch64 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml index 8b9f5f8..db4f4e3 100644 --- a/.ci_support/linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml @@ -4,6 +4,10 @@ c_compiler: - gcc c_compiler_version: - '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' cdt_arch: - aarch64 cdt_name: @@ -33,7 +37,8 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version + - cdt_name - cuda_compiler - cuda_compiler_version - - cdt_name - docker_image diff --git a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml index 2b25ae3..6add352 100644 --- a/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml +++ b/.ci_support/linux_aarch64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml @@ -4,6 +4,10 @@ c_compiler: - gcc c_compiler_version: - '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' cdt_arch: - aarch64 cdt_name: @@ -33,7 +37,8 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version + - cdt_name - cuda_compiler - cuda_compiler_version - - cdt_name - docker_image diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml deleted file mode 100644 index 580cad3..0000000 --- a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10.yaml +++ /dev/null @@ -1,35 +0,0 @@ -c_compiler: -- gcc -c_compiler_version: -- '10' -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- gxx -cxx_compiler_version: -- '10' -docker_image: -- quay.io/condaforge/linux-anvil-cuda:11.2 -github_actions_labels: -- cirun-openstack-gpu-large -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -target_platform: -- linux-ppc64le -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - cuda_compiler - - cuda_compiler_version - - cdt_name - - docker_image diff --git a/.ci_support/linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml index f929293..66b8703 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11.yaml @@ -2,6 +2,10 @@ c_compiler: - gcc c_compiler_version: - '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' cdt_name: - cos7 channel_sources: @@ -29,7 +33,8 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version + - cdt_name - cuda_compiler - cuda_compiler_version - - cdt_name - docker_image diff --git a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml index 8de7e2d..224de8b 100644 --- a/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml +++ b/.ci_support/linux_ppc64le_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12.yaml @@ -2,6 +2,10 @@ c_compiler: - gcc c_compiler_version: - '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' cdt_name: - cos7 channel_sources: @@ -29,7 +33,8 @@ target_platform: zip_keys: - - c_compiler_version - cxx_compiler_version + - c_stdlib_version + - cdt_name - cuda_compiler - cuda_compiler_version - - cdt_name - docker_image diff --git a/.ci_support/migrations/cuda118.yaml b/.ci_support/migrations/cuda118.yaml deleted file mode 100644 index fdd298b..0000000 --- a/.ci_support/migrations/cuda118.yaml +++ /dev/null @@ -1,99 +0,0 @@ -migrator_ts: 1692828152 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 - paused: false - override_cbc_keys: - - cuda_compiler_stub - operation: key_add - check_solvable: false - primary_key: cuda_compiler_version - ordering: - cxx_compiler_version: - - 9 - - 8 - - 7 - c_compiler_version: - - 9 - - 8 - - 7 - fortran_compiler_version: - - 9 - - 8 - - 7 - docker_image: - # Native builds - - 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"] - - # Legacy CUDAs - - 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"] - - quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - # CUDA 11.2 - - quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - # CUDA 11.2 arch: native compilation (build == target) - - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - # CUDA 11.2 arch: cross-compilation (build != target) - - quay.io/condaforge/linux-anvil-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - # CUDA 11.8 - - quay.io/condaforge/linux-anvil-cuda:11.8 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - # CUDA 11.8 arch: native compilation (build == target) - - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-aarch64-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - # CUDA 11.8 arch: cross-compilation (build != target) - - quay.io/condaforge/linux-anvil-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - # Native CentOS 7 image - - quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - cuda_compiler_version: - - None - - 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.2 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.8 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 12.0 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - commit_message: | - Rebuild for CUDA 11.8 w/arch support - -cuda_compiler: # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - nvcc # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -cuda_compiler_version: # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11.8 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -cxx_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -fortran_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -cdt_name: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - cos7 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - -docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-") and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] - - quay.io/condaforge/linux-anvil-cuda:11.8 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] - # case: native compilation (build == target) - - quay.io/condaforge/linux-anvil-ppc64le-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] - - quay.io/condaforge/linux-anvil-aarch64-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] - # case: cross-compilation (build != target) - - quay.io/condaforge/linux-anvil-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] - - quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] diff --git a/.ci_support/win_64_cuda_compilercuda-nvcccuda_compiler_version12.0.yaml b/.ci_support/win_64_cuda_compilercuda-nvcccuda_compiler_version12.0.yaml index db47a5b..4abdb09 100644 --- a/.ci_support/win_64_cuda_compilercuda-nvcccuda_compiler_version12.0.yaml +++ b/.ci_support/win_64_cuda_compilercuda-nvcccuda_compiler_version12.0.yaml @@ -1,5 +1,7 @@ c_compiler: - vs2019 +c_stdlib: +- vs channel_sources: - conda-forge channel_targets: @@ -10,6 +12,8 @@ cuda_compiler_version: - '12.0' cxx_compiler: - vs2019 +github_actions_labels: +- cirun-openstack-gpu-large libblas: - 3.9 *netlib liblapack: diff --git a/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.2.yaml b/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.2.yaml deleted file mode 100644 index c744064..0000000 --- a/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.2.yaml +++ /dev/null @@ -1,23 +0,0 @@ -c_compiler: -- vs2019 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.2' -cxx_compiler: -- vs2019 -github_actions_labels: -- cirun-openstack-gpu-large -libblas: -- 3.9 *netlib -liblapack: -- 3.9 *netlib -target_platform: -- win-64 -zip_keys: -- - cuda_compiler - - cuda_compiler_version diff --git a/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.8.yaml b/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.8.yaml index f87ac08..3ba3217 100644 --- a/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.8.yaml +++ b/.ci_support/win_64_cuda_compilernvcccuda_compiler_version11.8.yaml @@ -1,5 +1,7 @@ c_compiler: - vs2019 +c_stdlib: +- vs channel_sources: - conda-forge channel_targets: diff --git a/.gitattributes b/.gitattributes index 7f32763..18f114a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -20,8 +20,8 @@ bld.bat text eol=crlf .travis.yml linguist-generated=true .scripts/* linguist-generated=true .woodpecker.yml linguist-generated=true -LICENSE.txt linguist-generated=true -README.md linguist-generated=true +/LICENSE.txt linguist-generated=true +/README.md linguist-generated=true azure-pipelines.yml linguist-generated=true build-locally.py linguist-generated=true shippable.yml linguist-generated=true diff --git a/.gitignore b/.gitignore index c002910..179afe5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,11 +3,22 @@ # Everything else is managed by the conda-smithy rerender process. # Please do not modify +# Ignore all files and folders in root * !/conda-forge.yml -!/*/ +# Don't ignore any files/folders if the parent folder is 'un-ignored' +# This also avoids warnings when adding an already-checked file with an ignored parent. +!/**/ +# Don't ignore any files/folders recursively in the following folders !/recipe/** !/.ci_support/** +# Since we ignore files/folders recursively, any folders inside +# build_artifacts gets ignored which trips some build systems. +# To avoid that we 'un-ignore' all files/folders recursively +# and only ignore the root build_artifacts folder. +!/build_artifacts/** +/build_artifacts + *.pyc diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 5382195..6c805a9 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -34,9 +34,9 @@ CONDARC export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build boa conda-forge-ci-setup=4 + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build boa conda-forge-ci-setup=4 + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -54,12 +54,6 @@ if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" fi -if [[ "${sha:-}" == "" ]]; then - pushd ${FEEDSTOCK_ROOT} - sha=$(git rev-parse HEAD) - popd -fi - 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}" @@ -71,10 +65,16 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then # Drop into an interactive shell /bin/bash else - conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ --suppress-variables ${EXTRA_CB_OPTIONS:-} \ --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" + ( startgroup "Inspecting artifacts" ) 2> /dev/null + + # inspect_artifacts was only added in conda-forge-ci-setup 4.6.0 + command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0" + + ( endgroup "Inspecting artifacts" ) 2> /dev/null ( startgroup "Validating outputs" ) 2> /dev/null validate_recipe_outputs "${FEEDSTOCK_NAME}" diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index b70ef01..00f377a 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -21,6 +21,12 @@ if [ -z ${FEEDSTOCK_NAME} ]; then export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) fi +if [[ "${sha:-}" == "" ]]; then + pushd "${FEEDSTOCK_ROOT}" + sha=$(git rev-parse HEAD) + popd +fi + docker info # In order for the conda-build process in the container to write to the mounted diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index 7bde26b..24ef201 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -24,7 +24,7 @@ set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" :: Provision the necessary dependencies to build the recipe later echo Installing dependencies -mamba.exe install "python=3.10" pip mamba conda-build boa conda-forge-ci-setup=4 -c conda-forge --strict-channel-priority --yes +mamba.exe install "python=3.10" pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -c conda-forge --strict-channel-priority --yes if !errorlevel! neq 0 exit /b !errorlevel! :: Set basic configuration @@ -50,9 +50,14 @@ call :end_group :: Build the recipe echo Building recipe -conda.exe mambabuild "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% +conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% if !errorlevel! neq 0 exit /b !errorlevel! +call :start_group "Inspecting artifacts" +:: inspect_artifacts was only added in conda-forge-ci-setup 4.6.0 +WHERE inspect_artifacts >nul 2>nul && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0" +call :end_group + :: Prepare some environment variables for the upload step if /i "%CI%" == "github_actions" ( set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" diff --git a/README.md b/README.md index 877b239..868069e 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,6 @@ Current build status - - - - - - - - - - - -
VariantStatus
linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10 - - variant - -
linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 @@ -49,13 +42,6 @@ Current build status variant
linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10 - - variant - -
linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 @@ -70,13 +56,6 @@ Current build status variant
linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10 - - variant - -
linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 @@ -98,13 +77,6 @@ Current build status variant
win_64_cuda_compilernvcccuda_compiler_version11.2 - - variant - -
win_64_cuda_compilernvcccuda_compiler_version11.8 @@ -244,6 +216,3 @@ Feedstock Maintainers * [@carterbox](https://github.com/carterbox/) * [@conda-forge/pytorch-cpu](https://github.com/conda-forge/pytorch-cpu/) - - - diff --git a/build-locally.py b/build-locally.py index 3f4b7a7..e0d408d 100755 --- a/build-locally.py +++ b/build-locally.py @@ -64,8 +64,9 @@ def verify_config(ns): elif ns.config.startswith("osx"): if "OSX_SDK_DIR" not in os.environ: raise RuntimeError( - "Need OSX_SDK_DIR env variable set. Run 'export OSX_SDK_DIR=SDKs' " - "to download the SDK automatically to 'SDKs/MacOSX.sdk'. " + "Need OSX_SDK_DIR env variable set. Run 'export OSX_SDK_DIR=$PWD/SDKs' " + "to download the SDK automatically to '$PWD/SDKs/MacOSX.sdk'. " + "Note: OSX_SDK_DIR must be set to an absolute path. " "Setting this variable implies agreement to the licensing terms of the SDK by Apple." ) From 344fbba221fd3f2159dd0f160d7aa31f9957f0d0 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:43:19 +0000 Subject: [PATCH 04/11] MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.37.1, and conda-forge-pinning 2024.07.18.05.06.15 From 262cb429b66dadf712876e0835aa035159404a53 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Thu, 18 Jul 2024 11:05:09 -0500 Subject: [PATCH 05/11] BLD: Add skip back for CUDA 11.2 --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0a28a5e..d673191 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -100,6 +100,7 @@ source: build: number: 0 skip: true # [cuda_compiler_version == "None"] + skip: true # [cuda_compiler_version == "11.2"] run_exports: - {{ pin_subpackage('libmagma', max_pin='x.x.x') }} From 319163a58a0631bc3cbedf72ac545322c515916e Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Thu, 18 Jul 2024 11:14:06 -0500 Subject: [PATCH 06/11] BLD: Add some compiler args recommended by compiler error --- recipe/build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipe/build.sh b/recipe/build.sh index dabae44..6f6c2dd 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -6,6 +6,12 @@ set -exv # Only about 7 virtual archs can be built 6 hours for CUDA 11 # Only about 8 archs fit into the default 2GB address space; could use # -mcmodel=medium to increase address space +if [[ "$target_platform" == "linux-64"]] || [[ "$target_platform" == "linux-ppc64le"]]; then + export CXXFLAGS="${CXXFLAGS} -mcmodel=medium" +fi +if [[ "$target_platform" == "linux-aarch64"]]; then + export CXXFLAGS="${CXXFLAGS} -mcmodel=small" +fi # 11.2 supports archs 3.5 - 8.6 # 11.8 supports archs 3.5 - 9.0 @@ -23,6 +29,8 @@ fi if [[ "$cuda_compiler_version" == "11.8" ]]; then export CUDA_ARCH_LIST="${CUDA_ARCH_LIST},sm_35,sm_89,sm_90" export CUDAARCHS="${CUDAARCHS};35-real;89-real;90" + # Recommended by compiler error for CUDA 11.8 because too many objects to link + export LDFLAGS="${LDFLAGS} --no-relax" fi if [[ "$cuda_compiler_version" == "12.0" ]]; then From 0fedb81386b56d03d4185de827a1e169bbe2fb86 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Thu, 18 Jul 2024 11:29:03 -0500 Subject: [PATCH 07/11] MNT: Re-rendered with conda-build 24.3.0, conda-smithy 3.37.1, and conda-forge-pinning 2024.07.18.05.06.15 --- .github/workflows/conda-build.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index cc44b39..a54d19b 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -21,12 +21,6 @@ jobs: fail-fast: false matrix: include: - - CONFIG: linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-large--${{ github.run_id }}-linux_64_c_compiler_version10cuda_c_h6c3dbf9b3c', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - CONFIG: linux_64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 UPLOAD_PACKAGES: True os: ubuntu @@ -39,12 +33,6 @@ jobs: runs_on: ['cirun-openstack-gpu-large--${{ github.run_id }}-linux_64_c_compiler_version12cuda_c_h0d07a5e0ab', 'linux', 'x64', 'self-hosted'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-large--${{ github.run_id }}-linux_aarch64_c_compiler_version10c_hb0ea797ce5', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - CONFIG: linux_aarch64_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 UPLOAD_PACKAGES: True os: ubuntu @@ -57,12 +45,6 @@ jobs: runs_on: ['cirun-openstack-gpu-large--${{ github.run_id }}-linux_aarch64_c_compiler_version12c_h235c88ac5f', 'linux', 'x64', 'self-hosted'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - - CONFIG: linux_ppc64le_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10 - UPLOAD_PACKAGES: True - os: ubuntu - runs_on: ['cirun-openstack-gpu-large--${{ github.run_id }}-linux_ppc64le_c_compiler_version10c_h8250958e79', 'linux', 'x64', 'self-hosted'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2 - CONDA_FORGE_DOCKER_RUN_ARGS: "--gpus all" - CONFIG: linux_ppc64le_c_compiler_version11cuda_compilernvcccuda_compiler_version11.8cxx_compiler_version11 UPLOAD_PACKAGES: True os: ubuntu @@ -78,7 +60,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - name: Build on Linux if: matrix.os == 'ubuntu' @@ -132,7 +114,7 @@ jobs: ./.scripts/run_osx_build.sh - name: Install Miniconda for windows - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4 with: miniforge-version: latest miniforge-variant: Mambaforge From f836983914ed76644e488701e39436c097e1306b Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Thu, 18 Jul 2024 16:21:12 -0500 Subject: [PATCH 08/11] BUG: FIx bash syntax --- recipe/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/build.sh b/recipe/build.sh index 6f6c2dd..67f6421 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -6,10 +6,10 @@ set -exv # Only about 7 virtual archs can be built 6 hours for CUDA 11 # Only about 8 archs fit into the default 2GB address space; could use # -mcmodel=medium to increase address space -if [[ "$target_platform" == "linux-64"]] || [[ "$target_platform" == "linux-ppc64le"]]; then +if [[ "$target_platform" == "linux-64" ]] || [[ "$target_platform" == "linux-ppc64le" ]]; then export CXXFLAGS="${CXXFLAGS} -mcmodel=medium" fi -if [[ "$target_platform" == "linux-aarch64"]]; then +if [[ "$target_platform" == "linux-aarch64" ]]; then export CXXFLAGS="${CXXFLAGS} -mcmodel=small" fi From 63d42bc21e1bb95ad9bafb3aea92ca4cc967324c Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Thu, 18 Jul 2024 16:58:59 -0500 Subject: [PATCH 09/11] BUG: Direct --no-relax to linker only --- recipe/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/build.sh b/recipe/build.sh index 67f6421..d7284de 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -30,7 +30,7 @@ if [[ "$cuda_compiler_version" == "11.8" ]]; then export CUDA_ARCH_LIST="${CUDA_ARCH_LIST},sm_35,sm_89,sm_90" export CUDAARCHS="${CUDAARCHS};35-real;89-real;90" # Recommended by compiler error for CUDA 11.8 because too many objects to link - export LDFLAGS="${LDFLAGS} --no-relax" + export LDFLAGS="${LDFLAGS} -Wl,--no-relax" fi if [[ "$cuda_compiler_version" == "12.0" ]]; then From b7719c986cb2c97d7659dd0a9d3959afbac4d9b0 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Fri, 19 Jul 2024 12:35:01 -0500 Subject: [PATCH 10/11] BLD: Switch mcmodel to large and set for both gcc and nvcc --- recipe/build.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/recipe/build.sh b/recipe/build.sh index d7284de..d412c0c 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -6,12 +6,6 @@ set -exv # Only about 7 virtual archs can be built 6 hours for CUDA 11 # Only about 8 archs fit into the default 2GB address space; could use # -mcmodel=medium to increase address space -if [[ "$target_platform" == "linux-64" ]] || [[ "$target_platform" == "linux-ppc64le" ]]; then - export CXXFLAGS="${CXXFLAGS} -mcmodel=medium" -fi -if [[ "$target_platform" == "linux-aarch64" ]]; then - export CXXFLAGS="${CXXFLAGS} -mcmodel=small" -fi # 11.2 supports archs 3.5 - 8.6 # 11.8 supports archs 3.5 - 9.0 @@ -31,6 +25,8 @@ if [[ "$cuda_compiler_version" == "11.8" ]]; then export CUDAARCHS="${CUDAARCHS};35-real;89-real;90" # Recommended by compiler error for CUDA 11.8 because too many objects to link export LDFLAGS="${LDFLAGS} -Wl,--no-relax" + export CXXFLAGS="${CXXFLAGS} -mcmodel=large" + export CUDAFLAGS="${CUDAFLAGS} -mcmodel=large" fi if [[ "$cuda_compiler_version" == "12.0" ]]; then From 2ee843eb07aa28bba709598c4acb6c2f5f738d93 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Sun, 21 Jul 2024 19:26:13 -0500 Subject: [PATCH 11/11] BLD: Move 75-real to CUDA 12 only --- recipe/build.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/recipe/build.sh b/recipe/build.sh index d412c0c..f447328 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -12,8 +12,8 @@ set -exv # 12.x supports archs 5.0 - 9.0 # Duplicate lists because of https://bitbucket.org/icl/magma/pull-requests/32 -export CUDA_ARCH_LIST="sm_50,sm_60,sm_70,sm_75,sm_80" -export CUDAARCHS="50-real;60-real;70-real;75-real;80-real" +export CUDA_ARCH_LIST="sm_50,sm_60,sm_70,sm_80" +export CUDAARCHS="50-real;60-real;70-real;80-real" if [[ "$cuda_compiler_version" == "11.2" ]]; then export CUDA_ARCH_LIST="${CUDA_ARCH_LIST},sm_35,sm_86" @@ -23,15 +23,11 @@ fi if [[ "$cuda_compiler_version" == "11.8" ]]; then export CUDA_ARCH_LIST="${CUDA_ARCH_LIST},sm_35,sm_89,sm_90" export CUDAARCHS="${CUDAARCHS};35-real;89-real;90" - # Recommended by compiler error for CUDA 11.8 because too many objects to link - export LDFLAGS="${LDFLAGS} -Wl,--no-relax" - export CXXFLAGS="${CXXFLAGS} -mcmodel=large" - export CUDAFLAGS="${CUDAFLAGS} -mcmodel=large" fi if [[ "$cuda_compiler_version" == "12.0" ]]; then - export CUDA_ARCH_LIST="${CUDA_ARCH_LIST},sm_89,sm_90" - export CUDAARCHS="${CUDAARCHS};89-real;90" + export CUDA_ARCH_LIST="${CUDA_ARCH_LIST},sm_75,sm_89,sm_90" + export CUDAARCHS="${CUDAARCHS};75-real;89-real;90" fi # Remove CXX standard flags added by conda-forge. std=c++11 is required to