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

Fix TVM compile without LLVM #7621

Merged
merged 2 commits into from
Mar 10, 2021
Merged

Fix TVM compile without LLVM #7621

merged 2 commits into from
Mar 10, 2021

Conversation

trevor-m
Copy link
Contributor

@trevor-m trevor-m commented Mar 9, 2021

#7398 introduced an compilation error when using USE_LLVM=OFF. Fix by adding preprocessor if guard.

tvm/src/target/metadata_module.cc:120:23: error: ‘CreateLLVMCrtMetadataModule’ was not declared in this scope                                                   
       target_module = CreateLLVMCrtMetadataModule(crt_exportable_modules, target); 

@masahi masahi merged commit f3d9cc1 into apache:main Mar 10, 2021
@tqchen tqchen mentioned this pull request Mar 10, 2021
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* Fix TVM compile without LLVM

* Fix formatting
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
* Fix TVM compile without LLVM

* Fix formatting
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

Successfully merging this pull request may close these issues.

3 participants