diff --git a/conda/recipes/cuml-cpu/conda_build_config.yaml b/conda/recipes/cuml-cpu/conda_build_config.yaml index 05a623f0db..2e58c8f113 100644 --- a/conda/recipes/cuml-cpu/conda_build_config.yaml +++ b/conda/recipes/cuml-cpu/conda_build_config.yaml @@ -7,5 +7,8 @@ cxx_compiler_version: cmake_version: - ">=3.26.4" -sysroot_version: +c_stdlib: + - sysroot + +c_stdlib_version: - "=2.17" diff --git a/conda/recipes/cuml-cpu/meta.yaml b/conda/recipes/cuml-cpu/meta.yaml index dae692c3a9..61bf97f4b0 100644 --- a/conda/recipes/cuml-cpu/meta.yaml +++ b/conda/recipes/cuml-cpu/meta.yaml @@ -22,7 +22,7 @@ requirements: - cmake {{ cmake_version }} - {{ compiler('c') }} - {{ compiler('cxx') }} - - sysroot_{{ target_platform }} {{ sysroot_version }} + - {{ stdlib("c") }} - ninja host: - python x.x diff --git a/conda/recipes/cuml/conda_build_config.yaml b/conda/recipes/cuml/conda_build_config.yaml index b42c9d56f3..780ff3c412 100644 --- a/conda/recipes/cuml/conda_build_config.yaml +++ b/conda/recipes/cuml/conda_build_config.yaml @@ -13,7 +13,10 @@ cuda11_compiler: cmake_version: - ">=3.26.4" -sysroot_version: +c_stdlib: + - sysroot + +c_stdlib_version: - "=2.17" treelite_version: diff --git a/conda/recipes/cuml/meta.yaml b/conda/recipes/cuml/meta.yaml index 5d2bcfbebf..3e3edf0e4b 100644 --- a/conda/recipes/cuml/meta.yaml +++ b/conda/recipes/cuml/meta.yaml @@ -52,7 +52,7 @@ requirements: - cuda-version ={{ cuda_version }} - cmake {{ cmake_version }} - ninja - - sysroot_{{ target_platform }} {{ sysroot_version }} + - {{ stdlib("c") }} host: - cuda-version ={{ cuda_version }} {% if cuda_major == "11" %} diff --git a/conda/recipes/libcuml/conda_build_config.yaml b/conda/recipes/libcuml/conda_build_config.yaml index a9e7f4d48a..db0a8a16c8 100644 --- a/conda/recipes/libcuml/conda_build_config.yaml +++ b/conda/recipes/libcuml/conda_build_config.yaml @@ -10,7 +10,10 @@ cuda_compiler: cuda11_compiler: - nvcc -sysroot_version: +c_stdlib: + - sysroot + +c_stdlib_version: - "=2.17" cmake_version: diff --git a/conda/recipes/libcuml/meta.yaml b/conda/recipes/libcuml/meta.yaml index 244592a49c..718375b198 100644 --- a/conda/recipes/libcuml/meta.yaml +++ b/conda/recipes/libcuml/meta.yaml @@ -45,7 +45,7 @@ requirements: - cuda-version ={{ cuda_version }} - cmake {{ cmake_version }} - ninja - - sysroot_{{ target_platform }} {{ sysroot_version }} + - {{ stdlib("c") }} host: - cuda-version ={{ cuda_version }} {% if cuda_major == "11" %}