-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
meta.yaml
94 lines (89 loc) · 3.43 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package:
name: numba
version: {{ GIT_DESCRIBE_TAG }}
source:
path: ../..
build:
number: {{ GIT_DESCRIBE_NUMBER|int }}
string: np{{ NPY_VER }}py{{ PY_VER }}h{{ PKG_HASH }}_{{GIT_DESCRIBE_HASH}}_{{ GIT_DESCRIBE_NUMBER }}
entry_points:
- pycc = numba.pycc:main
- numba = numba.misc.numba_entry:main
script_env:
- PY_VCRUNTIME_REDIST
missing_dso_whitelist: # [osx]
# optional dependency: required only when omp is chosen as the backend for
# the threading layer
- lib/libiomp5.dylib # [osx]
ignore_run_exports:
# tbb-devel triggers hard dependency on tbb, this is not the case.
- tbb # [not (armv6l or armv7l or aarch64 or linux32)]
requirements:
# build and run dependencies are duplicated to avoid setuptools issues
# when we also set install_requires in setup.py
build:
- {{ compiler('c') }} # [not (armv6l or armv7l or aarch64)]
- {{ compiler('cxx') }} # [not (armv6l or armv7l or aarch64)]
# OpenMP headers from llvm needed for OSX.
- llvm-openmp # [osx]
host:
- python
- numpy
- setuptools
- importlib_metadata # [py<39]
# On channel https://anaconda.org/numba/
- llvmlite 0.39.*
# TBB devel version is to match TBB libs.
# 2020.3 is the last version with the "old" ABI
# NOTE: 2021.1..2021.5 are API compatible for Numba's purposes.
# NOTE: ppc64le exclusion is temporary until packages are more generally
# available.
- tbb-devel >=2021,<2021.6 # [not (armv6l or armv7l or aarch64 or linux32 or ppc64le)]
run:
- python >=3.7
# NumPy 1.22.0, 1.22.1, 1.22.2 are all broken for ufuncs, see #7756
- numpy >=1.18, !=1.22.0, !=1.22.1, !=1.22.2, <1.24
- setuptools
- importlib_metadata # [py<39]
# On channel https://anaconda.org/numba/
- llvmlite 0.39.*
run_constrained:
# If TBB is present it must be at least version 2021
- tbb >=2021 # [not (armv6l or armv7l or aarch64 or linux32 or ppc64le)]
# avoid confusion from openblas bugs
- libopenblas !=0.3.6 # [x86_64]
# 0.3.17 buggy on M1 silicon
# https://github.com/xianyi/OpenBLAS/blob/v0.3.20/Changelog.txt#L118
# https://github.com/numba/numba/issues/7822#issuecomment-1063229855
# Exclude 0.3.20 too
# https://github.com/numba/numba/issues/8096
- libopenblas >=0.3.18, !=0.3.20 # [arm64]
# CUDA 10.2 or later is required for CUDA support
- cudatoolkit >=10.2
# scipy 1.0 or later
- scipy >=1.0
# CUDA Python 11.6 or later
- cuda-python >=11.6
test:
requires:
- jinja2
# Required to test optional Numba features
- cffi
# temporarily disable scipy testing on ARM, need to build out more packages
- scipy # [not (armv6l or armv7l)]
- ipython # [not (armv6l or armv7l or aarch64)]
- setuptools
- tbb >=2021 # [not (armv6l or armv7l or aarch64 or linux32 or ppc64le)]
- llvm-openmp # [osx]
# This is for driving gdb tests
- pexpect # [linux64]
# For testing ipython
- ipykernel
# Need these for AOT. Do not init msvc as it may not be present
- {{ compiler('c') }} # [not (win or armv6l or armv7l or aarch64)]
- {{ compiler('cxx') }} # [not (win or armv6l or armv7l or aarch64)]
about:
home: https://numba.pydata.org/
license: BSD
license_file: LICENSE
summary: a just-in-time Python function compiler based on LLVM