python-numba/unpin-llvmlite.patch
Markéta Machová a0ae4b85f1 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
2020-11-03 13:11:54 +00:00

14 lines
503 B
Diff

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',
]