Skip to content

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