diff --git a/conda/recipes/cucim/conda_build_config.yaml b/conda/recipes/cucim/conda_build_config.yaml index fb04ce5c8..8a1b64ec6 100644 --- a/conda/recipes/cucim/conda_build_config.yaml +++ b/conda/recipes/cucim/conda_build_config.yaml @@ -10,5 +10,8 @@ cuda_compiler: cuda11_compiler: - nvcc -sysroot_version: +c_stdlib: + - sysroot + +c_stdlib_version: - "2.17" diff --git a/conda/recipes/cucim/meta.yaml b/conda/recipes/cucim/meta.yaml index 8a2b12e52..dbacd8015 100644 --- a/conda/recipes/cucim/meta.yaml +++ b/conda/recipes/cucim/meta.yaml @@ -54,7 +54,7 @@ requirements: - cmake >=3.23.1,!=3.25.0 - make - ninja - - sysroot_{{ target_platform }} {{ sysroot_version }} + - {{ stdlib("c") }} host: - click - cuda-version ={{ cuda_version }} diff --git a/conda/recipes/libcucim/conda_build_config.yaml b/conda/recipes/libcucim/conda_build_config.yaml index 6e58b05e2..d8a71327a 100644 --- a/conda/recipes/libcucim/conda_build_config.yaml +++ b/conda/recipes/libcucim/conda_build_config.yaml @@ -10,7 +10,10 @@ cuda_compiler: cuda11_compiler: - nvcc -sysroot_version: +c_stdlib: + - sysroot + +c_stdlib_version: - "2.17" # The CTK libraries below are missing from the conda-forge::cudatoolkit package diff --git a/conda/recipes/libcucim/meta.yaml b/conda/recipes/libcucim/meta.yaml index e2a9b2c78..5d24c368f 100644 --- a/conda/recipes/libcucim/meta.yaml +++ b/conda/recipes/libcucim/meta.yaml @@ -59,7 +59,7 @@ requirements: - cmake >=3.23.1,!=3.25.0 - make - ninja - - sysroot_{{ target_platform }} {{ sysroot_version }} + - {{ stdlib("c") }} - yasm # [x86_64] host: - cuda-version ={{ cuda_version }}