Repository navigation
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
1 similar comment
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
Ah yes, it looks like we need to define IREE_TABLEGEN_EXE similar to how MLIR_TABLEGEN_EXE is defined here: The LLVM cmake tablegen(XXX, ) macro then automatically looks for XXX_TABLEGEN_EXE. So we could add an argument to iree_tablegen_library that allows setting XXX ("TABLEGEN_PROJECT" or something here (instead of the hardcoded 'MLIR'): |
|
Yes, seems that somewhere near https://github.com/google/iree/blob/0d41620fbe415d5fa3b492a804653c9dea9b8fd5/build_tools/cmake/iree_copts.cmake#L130 would be the right place. Defining an additional |
|
@benvanik set(IREE_TABLEGEN_EXE iree-tblgen)
set(IREE_BINARY_DIR ${CMAKE_BINARY_DIR}/iree/tools)blow https://github.com/google/iree/blob/0d41620fbe415d5fa3b492a804653c9dea9b8fd5/build_tools/cmake/iree_copts.cmake#L133 |
|
Rebased onto latest master and added CMakeLists for Flow and HAL dialect. |
|
@googlebot Rescan |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
1 similar comment
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
@benvanik Sorry, didn't noticed what this PR was already approved and added further commits to fix the review requests. Therefore a re-review is required. |
|
Commits to address review comments should generally be added to the ongoing PR. We use the "ready to pull" label to attempt an automated merge after a set of internal checks and approvals. In this case, some of those (very opinionated...) internal checks failed, so we needed those small changes in order to complete the merge. The approval in GitHub is mostly cosmetic for this project at the moment - we can merge PRs without GitHub approval and don't always give explicit approval for all commits. |
|
By the way, if any part of that process is confusing, please feel free to point out areas where we can improve. We should really update our CONTRIBUTING.md, possibly taking some parts from TensorFlow's (or some other projects with similar setups) |
In the Bazel configuration
iree-translatedepends on"//iree/compiler/Dialect/VM/Target/Bytecode". This further pulls in several other dependencies. Right now, the build fails wittThis is because
iree-tblgenhas to be run and notmlir-tblgen. Within this context I noticed the comment "Runs iree-tablegen to produce some artifacts." iniree_tablegen_library. So is there a way to execiree-tblgeninstead ofmlir-tblgenwhich I have overlooked or is the comment wrong? If the latter is true, do we need anotheriree_tablegen_libraryfunction which really runsiree-tblgenor do somebody sees a simple way how to fix this?