Skip to content
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

"bf != nullptr Target llvm is not enabled", but LLVM_CONFIG is set in config.mk, make clean and make run fine #1020

Closed
Bryanscott13 opened this issue Mar 18, 2018 · 5 comments

Comments

@Bryanscott13
Copy link

I fixed this issue yesterday and it was running fine, but today I come back to do some work and it is again telling me that "LLVM is not enabled". I tried re building and remaking a few times but it continues to give the same error. My config.mk is properly setup, and nothing has changed since yesterday except I restarted my machine at one point. Here is my config.mk (Which was working fine 24 hours ago)
LLVM_CONFIG = /usr/local/Cellar/llvm/6.0.0/bin/llvm-config

@eqy
Copy link
Contributor

eqy commented Mar 18, 2018

Can you check if the LLVM_CONFIG path in your config.mk is being used? A simple check would be setting it to a clearly bad path, and seeing if the build breaks.

@Bryanscott13
Copy link
Author

I tried setting a bad path, and the make failed. So it is definitely using the path from the config.mk

@PariksheetPinjari909
Copy link
Contributor

After build, have you done "setup.py install --user" for both tvm and topi?

@tqchen
Copy link
Member

tqchen commented Mar 25, 2018

close due to inactive status, feel free to reopen

@tqchen tqchen closed this as completed Mar 25, 2018
@henrywu2019
Copy link
Contributor

I still got this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants