Matej Cepl
2847e66244
- Update to 0.54.1 * This is a bugfix release for 0.54.0. It fixes a regression in structured array type handling, a potential leak on initialization failure in the CUDA target, a regression caused by Numba’s vendored cloudpickle module resetting dynamic classes and a few minor testing/infrastructure related problems. - Release summary for 0.54.0 * This release includes a significant number of new features, important refactoring, critical bug fixes and a number of dependency upgrades. * Python language support enhancements: - Basic support for f-strings. - dict comprehensions are now supported. - The sum built-in function is implemented. * NumPy features/enhancements, The following functions are now supported: - np.clip - np.iscomplex - np.iscomplexobj - np.isneginf - np.isposinf - np.isreal - np.isrealobj - np.isscalar - np.random.dirichlet - np.rot90 - np.swapaxes * Also np.argmax has gained support for the axis keyword argument and it’s now possible to use 0d NumPy arrays as scalars in OBS-URL: https://build.opensuse.org/request/show/932318 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=49
27 lines
842 B
Diff
27 lines
842 B
Diff
From 4e42221e368b4486be2ec8381f20382fc3609351 Mon Sep 17 00:00:00 2001
|
|
From: Todd <toddrme2178@gmail.com>
|
|
Date: Sat, 27 Jul 2019 18:29:47 -0400
|
|
Subject: [PATCH] Set maximum name size to maximum allowable value
|
|
|
|
Fix for #3876 without needing to patch LLVM.
|
|
---
|
|
numba/__init__.py | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
Index: numba-0.54.1/numba/__init__.py
|
|
===================================================================
|
|
--- numba-0.54.1.orig/numba/__init__.py
|
|
+++ numba-0.54.1/numba/__init__.py
|
|
@@ -119,6 +119,11 @@ def _ensure_llvm():
|
|
"Please update llvmlite." %
|
|
(_min_llvm_version + llvm_version_info))
|
|
raise ImportError(msg)
|
|
+
|
|
+ try:
|
|
+ llvmlite.binding.set_option("tmp", "-non-global-value-max-name-size=4294967295")
|
|
+ except:
|
|
+ pass
|
|
|
|
check_jit_execution()
|
|
|