-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_started.py error: src/codegen/codegen.cc:27: Check failed: bf != nullptr Target llvm is not enabled #346
Comments
Did you compile with LLVM_CONFIG? otherwise |
Okay, I'll try again! I compiled without LLVM_CONFIG. Is llvm necessary? I saw these lines in # whether build with LLVM support
# Requires LLVM version >= 4.0
# Set LLVM_CONFIG to your version, uncomment to build with llvm support
#
# LLVM_CONFIG = llvm-config It seems llvm is not necessary and it's commented out defaultly. However, I'm confused because of this error: |
I rebuild with LLVM_CONFIG. However, build failed as below: src/codegen/llvm/././llvm_common.h:10:40: fatal error: llvm/ExecutionEngine/MCJIT.h: No such file or directory
compilation terminated.
Makefile:160: recipe for target 'build/codegen/llvm/codegen_arm.o' failed
make: *** [build/codegen/llvm/codegen_arm.o] Error 1
make: *** Waiting for unfinished jobs.... |
run |
@Javelinjs Thanks! |
fix similar problem like https://github.com/apache/incubator-mxnet/pull/4589/files .
fix similar problem like https://github.com/apache/incubator-mxnet/pull/4589/files .
fix similar problem like https://github.com/apache/incubator-mxnet/pull/4589/files .
fix similar problem like https://github.com/apache/incubator-mxnet/pull/4589/files .
Is llvm necessary? I saw these lines in
config.mk
:It seems llvm is not necessary and it's commented out defaultly. However, I'm confused because of this error:
nullptr Target llvm is not enabled
Env.
I installed tvm on my laptop.
Ubuntu 16.04 64bit
clinfo
config.mk
I copy
./make/config.mk
to root directory and modified lines below:DEBUG = 1 USE_OPENCL = 1 # I installed opencl previously USE_BLAS = openblas
After successful build, I set the environment variable and executed
cd python; python setup.py install --user
according totvm/install.md
.Error Log
The text was updated successfully, but these errors were encountered: