Skip to content

Commit 427283a

Browse files
committed
use stdlib('c') in conda-forge meta.yaml
1 parent b1cdaf7 commit 427283a

2 files changed

Lines changed: 29 additions & 3 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
numpy:
2+
- '1.26.4'
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+
- vs2022 # [win]
17+
c_compiler: # [win]
18+
- vs2022 # [win]
19+
CFLAGS:
20+
- -fno-fast-math # [linux]
21+
CXXFLAGS:
22+
- -fno-fast-math # [linux]
23+
CL:
24+
- /fp:precise # [win]

conda-recipe-cf/meta.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@
33

44
package:
55
name: mkl_umath
6-
version: {{ version }}
6+
version: {{ GIT_DESCRIBE_TAG }}
77

88
source:
99
path: ../
1010

1111
build:
12-
number: {{ buildnumber }}
12+
number: {{ GIT_DESCRIBE_NUMBER }}
13+
script_env:
14+
- WHEELS_OUTPUT_FOLDER
1315
ignore_run_exports:
1416
- blas
1517

1618
requirements:
1719
build:
1820
- {{ compiler('c') }}
1921
- {{ compiler('cxx') }}
22+
- {{ stdlib('c') }}
2023
- {{ compiler('dpcpp') }} >=2024.2 # [not osx]
21-
- sysroot_linux-64 >=2.28 # [linux]
2224
host:
2325
- meson-python >=0.13.0
2426
- meson

0 commit comments

Comments
 (0)