Accepting request 845659 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 0.51.2 * The compilation chain is now based on LLVM 10 (Valentin Haenel). * Numba has internally switched to prefer non-literal types over literal ones so as to reduce function over-specialisation, this with view of speeding up compile times (Siu Kwan Lam). * On the CUDA target: Support for CUDA Toolkit 11, Ampere, and Compute Capability 8.0; Printing of ``SASS`` code for kernels; Callbacks to Python functions can be inserted into CUDA streams, and streams are async awaitable; Atomic ``nanmin`` and ``nanmax`` functions are added; Fixes for various miscompilations and segfaults. (mostly Graham Markall; call backs on streams by Peter Würtz). * Support for heterogeneous immutable lists and heterogeneous immutable string key dictionaries. Also optional initial/construction value capturing for all lists and dictionaries containing literal values (Stuart Archibald). * A new pass-by-reference mutable structure extension type ``StructRef`` (Siu Kwan Lam). * Object mode blocks are now cacheable, with the side effect of numerous bug fixes and performance improvements in caching. This also permits caching of functions defined in closures (Siu Kwan Lam). * The error handling and reporting system has been improved to reduce the size of error messages, and also improve quality and specificity. * The CUDA target has more stream constructors available and a new function for compiling to PTX without linking and loading the code to a device. Further, the macro-based system for describing CUDA threads and blocks has been replaced with standard typing and lowering implementations, for improved debugging and extensibility. - Better unpin llvmlite with unpin-llvmlite.patch to avoid breakages OBS-URL: https://build.opensuse.org/request/show/845659 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=45
This commit is contained in:
parent
90b2d8fdcc
commit
a0ae4b85f1
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89e1ad8215918036b0ffc53501888d44ed44c1f2cb09a9e047d06af5cd7e7a5a
|
||||
size 2011378
|
3
numba-0.51.2.tar.gz
Normal file
3
numba-0.51.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768
|
||||
size 2059680
|
@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 2 16:34:48 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 0.51.2
|
||||
* The compilation chain is now based on LLVM 10 (Valentin Haenel).
|
||||
* Numba has internally switched to prefer non-literal types over literal ones so
|
||||
as to reduce function over-specialisation, this with view of speeding up
|
||||
compile times (Siu Kwan Lam).
|
||||
* On the CUDA target: Support for CUDA Toolkit 11, Ampere, and Compute
|
||||
Capability 8.0; Printing of ``SASS`` code for kernels; Callbacks to Python
|
||||
functions can be inserted into CUDA streams, and streams are async awaitable;
|
||||
Atomic ``nanmin`` and ``nanmax`` functions are added; Fixes for various
|
||||
miscompilations and segfaults. (mostly Graham Markall; call backs on
|
||||
streams by Peter Würtz).
|
||||
* Support for heterogeneous immutable lists and heterogeneous immutable string
|
||||
key dictionaries. Also optional initial/construction value capturing for all
|
||||
lists and dictionaries containing literal values (Stuart Archibald).
|
||||
* A new pass-by-reference mutable structure extension type ``StructRef`` (Siu
|
||||
Kwan Lam).
|
||||
* Object mode blocks are now cacheable, with the side effect of numerous bug
|
||||
fixes and performance improvements in caching. This also permits caching of
|
||||
functions defined in closures (Siu Kwan Lam).
|
||||
* The error handling and reporting system has been improved to reduce the size
|
||||
of error messages, and also improve quality and specificity.
|
||||
* The CUDA target has more stream constructors available and a new function for
|
||||
compiling to PTX without linking and loading the code to a device. Further,
|
||||
the macro-based system for describing CUDA threads and blocks has been
|
||||
replaced with standard typing and lowering implementations, for improved
|
||||
debugging and extensibility.
|
||||
- Better unpin llvmlite with unpin-llvmlite.patch to avoid breakages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 07:24:32 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-numba%{psuffix}
|
||||
Version: 0.49.1
|
||||
Version: 0.51.2
|
||||
Release: 0
|
||||
Summary: NumPy-aware optimizing compiler for Python using LLVM
|
||||
License: BSD-2-Clause
|
||||
@ -36,6 +36,7 @@ Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{v
|
||||
Patch0: skip-failing-tests.patch
|
||||
# PATCH-FIX-UPSTREAM fix-max-name-size.patch -- fix for gh#numba/numba#3876 -- from gh#numba/numba#4373
|
||||
Patch1: fix-max-name-size.patch
|
||||
Patch2: unpin-llvmlite.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.15}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -43,7 +44,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: tbb-devel
|
||||
Requires: python-llvmlite >= 0.31
|
||||
Requires: python-llvmlite >= 0.33
|
||||
Requires: python-numpy >= 1.15
|
||||
Requires: python-scipy >= 0.16
|
||||
Requires(post): update-alternatives
|
||||
@ -58,9 +59,10 @@ BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module Pygments}
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module ipython}
|
||||
BuildRequires: %{python_module llvmlite >= 0.31}
|
||||
BuildRequires: %{python_module llvmlite >= 0.33}
|
||||
BuildRequires: %{python_module numba >= %{version}}
|
||||
BuildRequires: %{python_module numba-devel >= %{version}}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scipy >= 0.16}
|
||||
BuildRequires: %{python_module tbb}
|
||||
@ -96,7 +98,6 @@ This package contains files for developing applications using numba.
|
||||
%prep
|
||||
%setup -q -n numba-%{version}
|
||||
%autopatch -p1
|
||||
sed -i '1{\@^#!%{_bindir}/env python@d}' numba/appdirs.py
|
||||
|
||||
# due to new numpy version tests now fail
|
||||
# Remove this with version update! (>0.48.0)
|
||||
@ -111,8 +112,6 @@ rm numba/tests/test_hashing.py
|
||||
rm numba/tests/test_typedlist.py
|
||||
# as we reduced the amount of tests:
|
||||
sed -i -e 's:5000:3000:' numba/tests/test_runtests.py
|
||||
# unpin llvmlite since it screws up dependencies
|
||||
sed -i 's/,<={max_llvmlite_version}//' setup.py
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fPIC"
|
||||
|
13
unpin-llvmlite.patch
Normal file
13
unpin-llvmlite.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: numba-0.51.2/setup.py
|
||||
===================================================================
|
||||
--- numba-0.51.2.orig/setup.py
|
||||
+++ numba-0.51.2/setup.py
|
||||
@@ -300,7 +300,7 @@ packages = find_packages(include=["numba
|
||||
|
||||
build_requires = ['numpy >={}'.format(min_numpy_build_version)]
|
||||
install_requires = [
|
||||
- 'llvmlite >={},<{}'.format(min_llvmlite_version, max_llvmlite_version),
|
||||
+ 'llvmlite >={}'.format(min_llvmlite_version),
|
||||
'numpy >={}'.format(min_numpy_run_version),
|
||||
'setuptools',
|
||||
]
|
Loading…
Reference in New Issue
Block a user