Page MenuHomePhabricator

Fix MLIR build with MLIR_INCLUDE_TESTS=OFF
ClosedPublic

Authored by nihui on Aug 26 2020, 12:20 AM.

Details

Reviewers
mehdi_amini
Group Reviewers
Restricted Project
Commits
rGdf2efd770047: Fix MLIR build with MLIR_INCLUDE_TESTS=OFF
Summary

error message

/usr/bin/ld: CMakeFiles/mlir-opt.dir/mlir-opt.cpp.o: in function `main':
mlir-opt.cpp:(.text.startup.main+0xb9): undefined reference to `mlir::registerTestDialect(mlir::DialectRegistry&)'

Diff Detail

Event Timeline

nihui created this revision.Aug 26 2020, 12:20 AM
nihui requested review of this revision.Aug 26 2020, 12:20 AM
This revision is now accepted and ready to land.Aug 26 2020, 12:25 AM
nihui added a comment.EditedAug 26 2020, 6:34 AM

I do not have commit access, someone has to commit the change for me (with attribution). Thanks

I do not have commit access, someone has to commit the change for me (with attribution). Thanks

Please provide a Name <email> with which to attribute. (Alternatively in the future, you can use arc to upload your patch which provides attribution automatically)

nihui added a comment.Aug 26 2020, 7:31 PM

I do not have commit access, someone has to commit the change for me (with attribution). Thanks

Please provide a Name <email> with which to attribute. (Alternatively in the future, you can use arc to upload your patch which provides attribution automatically)

Ni Hui <shuizhuyuanluo@gmail.com>

Thanks !

This revision was automatically updated to reflect the committed changes.