summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2022-08-31 13:13:25 +0300
committerGitHub <noreply@github.com>2022-08-31 13:13:25 +0300
commit8b9b349e06d7ccb3c180632c79167f077c592223 (patch)
treea59b25b5a374ffa3388ee5f8f06c214d1e3f4a74 /numpy/core/setup_common.py
parent8a0859835d3e6002858b9ffd9a232b059cf9ea6c (diff)
parent1d4cb4ba641e7b3662f7cd498865a2ceea62ec47 (diff)
downloadnumpy-8b9b349e06d7ccb3c180632c79167f077c592223.tar.gz
Merge pull request #22152 from RinCat/main
BUG: Support using libunwind for backtrack
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r--numpy/core/setup_common.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
index c19a8479f..0100906d0 100644
--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -158,7 +158,9 @@ OPTIONAL_HEADERS = [
"immintrin.h", # AVX
"features.h", # for glibc version linux
"xlocale.h", # see GH#8367
- "dlfcn.h", # dladdr
+ "dlfcn.h", # dladdr
+ "execinfo.h", # backtrace
+ "libunwind.h", # backtrace for LLVM/Clang using libunwind
"sys/mman.h", #madvise
]