2019-10-24 02:59:28 +02:00
|
|
|
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(+)
|
|
|
|
|
2021-11-18 21:40:38 +01:00
|
|
|
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():
|
2019-10-24 02:59:28 +02:00
|
|
|
"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()
|
|
|
|
|