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. |
| #DEPENDS iree_translate | ||
| ) | ||
|
|
||
| add_custom_command( |
There was a problem hiding this comment.
Yes, we would prefer to wrap these in a iree_bytecode_module CMake function to reduce code duplication and make synchronizing between Bazel and CMake simpler.
For now, this is a step in the right direction and we can refactor later. Getting more parts of the project building with CMake is a great help :)
|
@googlebot I signed it! |
|
@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. |
Handles tuple case, I resisted flipping to `auto` as that pipeline is newer and the currrent nvgpu plugin keys off the value of the pipeline. Fixes #140
This PR complements #160. I implemented the generation of emod, h and cc files, by using
add_custom_commandto calliree-translateandgenerate_cc_embed_data.At the moment, the
iree_translatetarget to build theiree-translateexecutable still fails. For testing puposes, I added#file(COPY "${CMAKE_SOURCE_DIR}/iree/tools/iree-translate" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")toiree/tools/CMakeLists.txtand replacedCOMMAND iree-translatebyCOMMAND "${CMAKE_BINARY_DIR}/iree/tools/iree-translate". This allowed me to verify that the additions to the CMakeLists.txt work as expected, using theiree-translateexecutable build with Bazel.Prior to (maybe) merging this, I would like to discuss if a raw
add_custom_commandis the way to go or, taking comment #160 (comment) into account, if wrapping, e.g. in a CMake function, would be preferable.