-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
meta.yaml
91 lines (86 loc) · 3.01 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
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:
- 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 (aarch64 or ppc64le)]
requirements:
# build and run dependencies are duplicated to avoid setuptools issues
# when we also set install_requires in setup.py
build:
- {{ compiler('c') }} # [not aarch64]
- {{ compiler('cxx') }} # [not aarch64]
# OpenMP headers from llvm needed for OSX.
- llvm-openmp # [osx]
host:
- python
- numpy
- setuptools
# On channel https://anaconda.org/numba/
- llvmlite >=0.44.0dev0,<0.44
# TBB devel version is to match TBB libs.
# NOTE: ppc64le and aarch64 are pending testing so excluded for now.
- tbb-devel >=2021.6 # [not (aarch64 or ppc64le)]
run:
- python >=3.9
# NumPy 1.22.0, 1.22.1, 1.22.2 are all broken for ufuncs, see #7756
- numpy >=1.22.3
# On channel https://anaconda.org/numba/
- llvmlite >=0.44.0dev0,<0.44
run_constrained:
# If TBB is present it must be at least version 2021.6
- tbb >=2021.6 # [not (aarch64 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 11.2 or later is required for CUDA support
- cuda-version >=11.2
- cudatoolkit >=11.2
# scipy 1.0 or later
- scipy >=1.0
# CUDA Python 11.6 or later
- cuda-python >=11.6
# numba-rvsdg
- numba-rvsdg 0.0.* # [py==311]
test:
requires:
- jinja2
# Required to test optional Numba features
- cffi
- scipy
- ipython # [not aarch64]
# for pycc
- setuptools
- tbb >=2021.6 # [not (aarch64 or ppc64le)]
- llvm-openmp # [osx]
# This is for driving gdb tests
- pexpect # [linux64]
# For testing ipython. At the time of writing ipykernel was not available
# for Python 3.12.
- ipykernel # [not py==312]
# Need these for AOT. Do not init msvc as it may not be present
- {{ compiler('c') }} # [not (win or aarch64)]
- {{ compiler('cxx') }} # [not (win or aarch64)]
about:
home: https://numba.pydata.org/
license: BSD
license_file: LICENSE
summary: a just-in-time Python function compiler based on LLVM