-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
meta.yaml
130 lines (119 loc) · 3.56 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{% set name = "numba" %}
{% set version = "0.57.1" %}
{% set sha256 = "33c0500170d213e66d90558ad6aca57d3e03e97bb11da82e6d87ab793648cb17" %}
package:
name: numba
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
# url: https://github.com/numba/numba/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 0
entry_points:
- numba = numba.misc.numba_entry:main
script:
- export CC="${CC} -pthread" # [linux]
- export CXX="${CXX} -pthread" # [linux]
- {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv
ignore_run_exports:
# tbb-devel triggers hard dependency on tbb, this is not the case.
- tbb
skip: true # [python_impl == 'pypy']
skip: true # [py<38]
requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
- {{ compiler('c') }}
- {{ compiler('cxx') }}
# llvm is needed for the headers
- llvm-openmp # [osx]
host:
- python
- pip
- setuptools
- llvmlite 0.40.*
- numpy
- tbb-devel 2021.6.0
run:
- python
- {{ pin_compatible('llvmlite', max_pin='x.x') }}
- {{ pin_compatible('numpy') }}
- importlib-metadata # [py < 39]
run_constrained:
- {{ pin_compatible('tbb', max_pin=None) }}
# avoid confusion from openblas bugs
- libopenblas !=0.3.6 # [x86_64]
- libopenblas >=0.3.18, !=0.3.20 # [arm64]
# CUDA 10.2 or later is required for CUDA support
- cuda-version >=10.2
- cudatoolkit >=10.2
# scipy 1.0 or later
- scipy >=1.0
# NumPy has a hard upper limit.
# Also NumPy 1.22.0, 1.22.1, 1.22.2 are all broken for ufuncs
# xref: https://github.com/numba/numba/issues/7756
- numpy >=1.21,!=1.22.0,!=1.22.1,!=1.22.2,<1.25
# CUDA Python 11.6 or later
- cuda-python >=11.6
test:
requires:
- pip
# Required to test optional Numba features
- jinja2
- cffi
- scipy
- ipython
- setuptools
- tbb
- llvm-openmp # [osx]
# Need these for AOT. Do not init msvc as it may not be present
- {{ compiler('c') }} # [not win]
- {{ compiler('cxx') }} # [not win]
imports:
- numba
- numba.core.annotations
- numba.core.datamodel
- numba.core.rewrites
- numba.core.runtime
- numba.core.typeconv
- numba.core.typing
- numba.core.unsafe
- numba.cuda
- numba.cuda.cudadrv
- numba.cuda.kernels
- numba.cuda.simulator
- numba.cuda.simulator.cudadrv
- numba.cuda.tests
- numba.cuda.tests.cudadrv
- numba.cuda.tests.cudapy
- numba.cuda.tests.cudasim
- numba.cuda.tests.nocuda
- numba.experimental.jitclass
- numba.np.ufunc
- numba.scripts
- numba.testing
- numba.tests
- numba.tests.npyufunc
about:
home: http://numba.pydata.org
license: BSD-2-Clause
license_family: BSD
license_file: LICENSE
summary: NumPy aware dynamic Python compiler using LLVM
description: |
Numba is an Open Source NumPy-aware optimizing compiler for Python
sponsored by Anaconda, Inc. It uses the remarkable LLVM compiler
infrastructure to compile Python syntax to machine code."
doc_url: http://numba.pydata.org/
dev_url: https://github.com/numba/numba
extra:
recipe-maintainers:
- souravsingh
- marcelotrevisani
- henryiii
- mbargull
- jakirkham
- step21