From 365322aca32fd6ecd7027f5d7ec7be50b7f3cc2a Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Mon, 6 May 2024 10:41:12 -0700 Subject: [PATCH] Migrate to `{{ stdlib("c") }}` (#594) The `sysroot*` syntax is getting phased out (conda-forge/conda-forge.github.io#2102). The recommendation is to move to `{{ stdlib("c") }}`. Ref https://github.com/rapidsai/build-planning/issues/39 Authors: - Philip Hyunsu Cho (https://github.com/hcho3) Approvers: - Bradley Dice (https://github.com/bdice) - https://github.com/jakirkham - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/rapids-cmake/pull/594 --- .../recipes/rapids_core_dependencies/conda_build_config.yaml | 5 ++++- conda/recipes/rapids_core_dependencies/meta.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/conda/recipes/rapids_core_dependencies/conda_build_config.yaml b/conda/recipes/rapids_core_dependencies/conda_build_config.yaml index c65bc4f3..304a0b3d 100644 --- a/conda/recipes/rapids_core_dependencies/conda_build_config.yaml +++ b/conda/recipes/rapids_core_dependencies/conda_build_config.yaml @@ -10,5 +10,8 @@ cuda11_compiler: cmake_version: - ">=3.26.4" -sysroot_version: +c_stdlib: + - sysroot + +c_stdlib_version: - "2.17" diff --git a/conda/recipes/rapids_core_dependencies/meta.yaml b/conda/recipes/rapids_core_dependencies/meta.yaml index 9e8efa00..be59652b 100644 --- a/conda/recipes/rapids_core_dependencies/meta.yaml +++ b/conda/recipes/rapids_core_dependencies/meta.yaml @@ -34,7 +34,7 @@ requirements: - cuda-version ={{ cuda_version }} - make - ninja - - sysroot_{{ target_platform }} {{ sysroot_version }} + - {{ stdlib("c") }} host: - cuda-version ={{ cuda_version }} run: