From 45c89e4250e75e97b13e15364142458a68c63726 Mon Sep 17 00:00:00 2001 From: Sergey Pokhodenko Date: Mon, 16 Nov 2020 05:16:15 -0600 Subject: [PATCH] Uncomment require_global_compiler_lock() This line was commented when introduced codegen debugging by @DrTodd13. Uncommenting this line requires modifications in numba-dppy. It seems that numba-dppy compilation does not work correctly with global compiler lock. --- numba/core/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numba/core/codegen.py b/numba/core/codegen.py index 324a999fbe3..e22fa89012e 100644 --- a/numba/core/codegen.py +++ b/numba/core/codegen.py @@ -220,7 +220,7 @@ def finalize(self): Finalization involves various stages of code optimization and linking. """ - #require_global_compiler_lock() + require_global_compiler_lock() # Report any LLVM-related problems to the user self._codegen._check_llvm_bugs()