Skip to content

Fix building iree::compiler::Dialect with CMake - #187

Closed
marbre wants to merge 5 commits into
iree-org:masterfrom
marbre:cmake-Dialect
Closed

marbre wants to merge 5 commits into
iree-org:masterfrom
marbre:cmake-Dialect

Conversation

@marbre

@marbre marbre commented Dec 12, 2019

Copy link
Copy Markdown
Member

After several changes in the source structure, I ported the necessary modifications from the Bazel BUILD files to CMake and further fixed some minor issues/typos.

@marbre

marbre commented Dec 12, 2019

Copy link
Copy Markdown
Member Author

iree::compiler::Dialect::VM::Target::Bytecode currently fails, because bytecode_module_def_generated.h cannot be found. It should be generated by iree::schemas::bytecode_module_def_cc_fbs, but somehow isn't. Couldn't yet figure out what went wrong.

@ScottTodd

Copy link
Copy Markdown
Member

Some of @GMNGeoffrey 's work on continuous integration should help us catch these differences between Bazel and CMake faster, and one of these days someone will get around to writing a script to help with the mirroring...

Thanks for the PRs!

@marbre

marbre commented Dec 13, 2019

Copy link
Copy Markdown
Member Author

Ah by the way, fixed the typo that prohibited the generation of bytecode_module_def_generated.h. Just forget to comment again..

@marbre

marbre commented Dec 14, 2019

Copy link
Copy Markdown
Member Author

Fixed conflicts that prevented merging.

copybara-service Bot pushed a commit that referenced this pull request Dec 17, 2019
With #184, #185, #186 and #187 merged, this enables the build toolchain to compile the examples. Together with the other PRs this nearly enables the compilation of the examples :)

Closes #188

COPYBARA_INTEGRATE_REVIEW=#188 from marbre:cmake-samples 0849a63
PiperOrigin-RevId: 286052836
@marbre
marbre deleted the cmake-Dialect branch January 6, 2020 09:48
stellaraccident pushed a commit that referenced this pull request Sep 24, 2023
* iree: 75be6d8 Clone complex.* producers into dispatch regions
(#14036) (Mon Jun 12 17:27:45 2023 -0700)
* xla: 6f3795843 Add utilities that allow direct unpacking and
construction of pytrees. (Tue Jun 13 12:01:37 2023 -0700)
* jax: 4dbbb2717 Merge pull request #16324 from axch:ragged-broadcast
(Tue Jun 13 12:10:52 2023 -0700)

---------

Co-authored-by: Okwan Kwon <[email protected]>
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