Change LLVM path for pywrap
- Dominant language
- C++
- Stars
- 197
- Forks
- 47
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 6
Description
I'm an ArchLinux user compiling after https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=python-ocp
Due to incompatibilities I've just recompiled my clang15, whose include path is now
`/usr/lib/llvm15/lib/clang/15.0.7/include` instead of `/usr/lib/llvm15/lib/clang/15/include` before
I've tried many environment variables, but pywrap always chooses the path I no longer have:
`/usr/bin/cmake -E env PYTHONPATH=./OCP/pywrap /usr/bin/python3.10 -m bindgen --njobs 15 -l /usr/lib/llvm15/lib/libclang.so.15.0.7 -i /usr/lib/llvm15/include/ -i /usr/include/vtk/ -i /usr/lib/llvm15/lib/clang/15/include/ -p [..]/src/OCP ...`
Is there any other way to fix this than by a symlink?
I'm also fighting with a crash in /usr/lib/python3.10/site-packages/clang/cindex.py :
`clang.cindex.LibclangError: /usr/lib/llvm15/lib/libclang.so.15.0.7: undefined symbol: clang_CXXMethod_isDeleted. Please ensure that your python bindings are compatible with your libclang.so version.`
while `/usr/lib/python3.10/site-packages/clang15/cindex.py` would be the right python lib.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.