From 4e42221e368b4486be2ec8381f20382fc3609351 Mon Sep 17 00:00:00 2001 From: Todd 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()