From e43d8f4003f756df07109054416a97e09c57a6f1 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <121827174+conda-forge-webservices[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 19:32:12 +0000 Subject: [PATCH 1/4] dummy commit for rerendering --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9cde58f4..4cfd0a31 100644 --- a/README.md +++ b/README.md @@ -414,3 +414,6 @@ Feedstock Maintainers * [@leofang](https://github.com/leofang/) * [@toslunar](https://github.com/toslunar/) + + + From cc96c8fea036acc2cd252dda15df88b3629d7784 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 19:35:27 +0000 Subject: [PATCH 2/4] MNT: Re-rendered with conda-build 3.28.4, conda-smithy 3.30.4, and conda-forge-pinning 2024.01.24.18.23.23 --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 4cfd0a31..9cde58f4 100644 --- a/README.md +++ b/README.md @@ -414,6 +414,3 @@ Feedstock Maintainers * [@leofang](https://github.com/leofang/) * [@toslunar](https://github.com/toslunar/) - - - From 346a6651258ce0fec44e4b86598960f13fdfb24a Mon Sep 17 00:00:00 2001 From: jakirkham Date: Wed, 24 Jan 2024 11:37:04 -0800 Subject: [PATCH 3/4] Drop libraries from `requirements/build` --- recipe/meta.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 80544bdf..67e7425d 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -149,23 +149,6 @@ outputs: - cross-python_{{ target_platform }} # [build_platform != target_platform] - python # [build_platform != target_platform] - cython >=0.29.22,<3 # [build_platform != target_platform] - # TODO: clean up - {% if cuda_major >= 12 %} - - cuda-driver-dev # [build_platform != target_platform and linux] - - cuda-cudart-dev # [build_platform != target_platform] - - cuda-nvrtc-dev # [build_platform != target_platform] - - cuda-nvtx-dev # [build_platform != target_platform] - - cuda-profiler-api # [build_platform != target_platform] - - libcublas-dev # [build_platform != target_platform] - - libcufft-dev # [build_platform != target_platform] - - libcurand-dev # [build_platform != target_platform] - - libcusolver-dev # [build_platform != target_platform] - - libcusparse-dev # [build_platform != target_platform] - {% endif %} - # optional dependencies for CUDA 11.2+ - - cudnn ~=8.8 # [build_platform != target_platform and not (aarch64 or (ppc64le and (cuda_compiler_version or "").startswith("12")))] - - nccl ~=2.16 # [build_platform != target_platform] - - cutensor ~=2.0 # [build_platform != target_platform] host: - python - pip From 759dcb8e28de2721cb90cfcdf8b0fd94496c17c7 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Wed, 24 Jan 2024 13:37:52 -0800 Subject: [PATCH 4/4] Symlink cross-compilation targets to build env --- recipe/meta.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 67e7425d..01868758 100755 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -94,10 +94,17 @@ outputs: - echo "nvcc is %NVCC%, CUDA path is %CUDA_PATH%" # [win] # Workaround __ieee128 error; see https://github.com/LLNL/blt/issues/341 - export NVCC="$NVCC -Xcompiler -mno-float128" # [ppc64le] - + + # When cross-compiling, symlink `targets` from `$PREFIX` to `$BUILD_PREFIX` + - ln -s "${PREFIX}/targets/ppc64le-linux" "${BUILD_PREFIX}/targets/ppc64le-linux" # [ppc64le and (build_platform != target_platform)] + - ln -s "${PREFIX}/targets/sbsa-linux" "${BUILD_PREFIX}/targets/sbsa-linux" # [aarch64 and (build_platform != target_platform)] + - >- {{ PYTHON }} -m pip install . --no-deps -vv - if errorlevel 1 exit 1 # [win] + + - rm "${PREFIX}/targets/ppc64le-linux" # [ppc64le and (build_platform != target_platform)] + - rm "${PREFIX}/targets/sbsa-linux" # [aarch64 and (build_platform != target_platform)] # copy activate/deactivate scripts - mkdir -p "${PREFIX}/etc/conda/activate.d" # [linux]