Skip to content

Commit b117fda

Browse files
authored
Migrate to {{ stdlib("c") }} (#224)
The `sysroot*` syntax is getting phased out (conda-forge/conda-forge.github.io#2102). The recommendation is to move to `{{ stdlib("c") }}`. Ref rapidsai/build-planning#39 Authors: - Philip Hyunsu Cho (https://github.com/hcho3) Approvers: - Peter Andreas Entschev (https://github.com/pentschev) - Bradley Dice (https://github.com/bdice) - https://github.com/jakirkham - Ray Douglass (https://github.com/raydouglass) URL: #224
1 parent 8e7e624 commit b117fda

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

conda/recipes/ucxx/conda_build_config.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ cuda_compiler:
1010
cuda11_compiler:
1111
- nvcc
1212

13-
sysroot_linux_64:
13+
c_stdlib:
14+
- sysroot
15+
16+
c_stdlib_version:
1417
- "2.17"
1518

1619
cmake:

conda/recipes/ucxx/meta.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ requirements:
4343
{% endif %}
4444
- cuda-version ={{ cuda_version }}
4545
- ninja
46-
- sysroot_{{ target_platform }}
46+
- {{ stdlib("c") }}
4747
host:
4848
{% if cuda_major != "11" %}
4949
- cuda-cudart-dev
@@ -79,7 +79,7 @@ outputs:
7979
- {{ compiler('cuda') }}
8080
{% endif %}
8181
- cuda-version ={{ cuda_version }}
82-
- sysroot_{{ target_platform }}
82+
- {{ stdlib("c") }}
8383
- cmake
8484
- ninja
8585
host:
@@ -170,7 +170,7 @@ outputs:
170170
- {{ compiler('cuda') }}
171171
{% endif %}
172172
- cuda-version ={{ cuda_version }}
173-
- sysroot_{{ target_platform }}
173+
- {{ stdlib("c") }}
174174
- cmake
175175
- ninja
176176
host:
@@ -216,7 +216,7 @@ outputs:
216216
{% endif %}
217217
- cuda-version ={{ cuda_version }}
218218
- ninja
219-
- sysroot_{{ target_platform }}
219+
- {{ stdlib("c") }}
220220
host:
221221
- python
222222
- pip

0 commit comments

Comments
 (0)