Skip to content

Commit bd1d042

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 bd1d042

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

conda-recipe/conda_build_config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
numpy:
22
- 1.23
3+
c_compiler: # [linux]
4+
- gcc # [linux]
5+
cxx_compiler: # [linux]
6+
- gxx # [linux]
7+
cxx_compiler_version: # [linux]
8+
- '14' # [linux]
9+
c_stdlib: # [linux]
10+
- sysroot # [linux]
11+
c_stdlib_version: # [linux]
12+
- 2.28 # [linux]
13+
c_stdlib: # [win]
14+
- vs # [win]
15+
cxx_compiler: # [win]
16+
- vs2019 # [win]
17+
c_compiler: # [win]
18+
- 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)