Skip to content

Commit bbdb3d6

Browse files
committed
meta.yaml to accommodate numpy-base or numpy
1 parent 9f9e8b5 commit bbdb3d6

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

conda-recipe/meta.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% set use_numpy_base = environ.get('USE_NUMPY_BASE', 'true').lower() == 'true' %}
2+
13
package:
24
name: mkl_fft
35
version: {{ GIT_DESCRIBE_TAG }}
@@ -23,13 +25,21 @@ requirements:
2325
- setuptools >=77
2426
- mkl-devel
2527
- cython
28+
{% if use_numpy_base %}
2629
- numpy-base
30+
{% else %}
31+
- numpy
32+
{% endif %}
2733
- wheel >=0.41.3
2834
run:
2935
- python
3036
- python-gil # [py>=314]
3137
- mkl-service
32-
- {{ pin_compatible('numpy-base') }}
38+
{% if use_numpy_base %}
39+
- numpy-base
40+
{% else %}
41+
- numpy >=1.26.4
42+
{% endif %}
3343

3444
test:
3545
commands:

0 commit comments

Comments
 (0)