Building llvmlite requires LLVM 3.7.x. (but I have LLVM 3.8 and set the LLVM_CONFIG variable)
See original GitHub issueI’m trying to run :
python setup.py build
in the llvmlite directory.
I get:
running build
got version from VCS {'version': '0.12.1', 'full': '0641dd9dde0d0653fbab109001baf39ddc08f466'}
running build_ext
/usr/bin/python /home/ubuntu/llvmlite/ffi/build.py
LLVM version... 3.8.1
Traceback (most recent call last):
File "/home/ubuntu/llvmlite/ffi/build.py", line 152, in <module>
main()
File "/home/ubuntu/llvmlite/ffi/build.py", line 142, in main
main_posix('linux', '.so')
File "/home/ubuntu/llvmlite/ffi/build.py", line 119, in main_posix
raise RuntimeError(msg)
RuntimeError: Building llvmlite requires LLVM 3.7.x. Be sure to set LLVM_CONFIG to the right executable path.
Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
my environment variable is : LLVM_CONFIG=/usr/bin/llvm-config-3.8 .
Other then the llvm-3.8 version I do not have any other version… What can I do?
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Dockerfile fails with llvm-config error for numba install
RuntimeError : Building llvmlite requires LLVM 7.0.x, 7.1.x or 8.0.x, got '3.7.1'. Reference - https://apt.llvm.org/.
Read more >llvmlite Documentation - Read the Docs
A lightweight LLVM-Python binding for writing JIT compilers llvmlite provides a Python binding to LLVM for use in Numba.
Read more >Building LLVM with CMake — LLVM 16.0.0git documentation
This section explains basic aspects of CMake which you may need in your ... You can set a variable after the initial CMake...
Read more >Dockerfile fails with llvm-config error for numba install-docker
Used version 8, because got an error with the latest llvm version - RuntimeError: Building llvmlite requires LLVM 7.0.x, 7.1.x or 8.0.x, got...
Read more >Installation — llvmlite 0.40.0dev0-48-ged0f625-dirty ...
As mentioned above, building LLVM for llvmlite is challenging. ... This mitigates the need for a LLVM based binary wheel.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Now llvmlite is up to speed with llvm 3.9, the most recent steps for OS X are:
@kylemcdonald
I did what you said above, but pip is still trying to use the llvm install by the system. What can I do?