Skip to content

Commit

Permalink
Avoid mixing sysroot and stdlib("c")
Browse files Browse the repository at this point in the history
Follow https://conda-forge.org/news/2024/03/24/stdlib-migration/

Also specify vs2019 and C++ compiler on Windows
  • Loading branch information
oleksandr-pavlyk committed Oct 18, 2024
1 parent 2c459e6 commit 4ddcbb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
numpy:
- 1.23
c_stdlib_version: # [linux]
- 2.28 # [linux]
c_stdlib: # [win]
- vs # [win]
cxx_compiler: # [win]
- vs2019 # [win]
1 change: 0 additions & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ requirements:
- {{ compiler('cxx') }}
- {{ stdlib('c') }}
- {{ compiler('dpcpp') }} >={{ required_compiler_version }}
- sysroot_linux-64 >=2.28 # [linux]
host:
- python
- pip >=24.0
Expand Down

0 comments on commit 4ddcbb1

Please sign in to comment.