Skip to content

Commit 4ddcbb1

Browse files
Avoid mixing sysroot and stdlib("c")
Follow https://conda-forge.org/news/2024/03/24/stdlib-migration/ Also specify vs2019 and C++ compiler on Windows
1 parent 2c459e6 commit 4ddcbb1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

conda-recipe/conda_build_config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
numpy:
22
- 1.23
3+
c_stdlib_version: # [linux]
4+
- 2.28 # [linux]
5+
c_stdlib: # [win]
6+
- vs # [win]
7+
cxx_compiler: # [win]
8+
- vs2019 # [win]

conda-recipe/meta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ requirements:
2424
- {{ compiler('cxx') }}
2525
- {{ stdlib('c') }}
2626
- {{ compiler('dpcpp') }} >={{ required_compiler_version }}
27-
- sysroot_linux-64 >=2.28 # [linux]
2827
host:
2928
- python
3029
- pip >=24.0

0 commit comments

Comments
 (0)