Skip to content

Add iree_cc_embed_data and iree_bytecode_module CMake functions.#215

Closed
ScottTodd wants to merge 4 commits into
iree-org:masterfrom
ScottTodd:cmake-functions
Closed

Add iree_cc_embed_data and iree_bytecode_module CMake functions.#215
ScottTodd wants to merge 4 commits into
iree-org:masterfrom
ScottTodd:cmake-functions

Conversation

@ScottTodd
Copy link
Copy Markdown
Member

Tested on Linux and Windows. Both are able to build the relevant targets, though Windows with MSVC isn't able to build iree/vm/sequencer_dispatch.cc on my machine so I can't yet run the samples with CMake there.

Fixes #211
Fixes #212

Not sure if there's a way for CMake to figure this out on its own, but we need to handle both files in the source tree and (generated) files in the build tree as inputs for cc_embed_data.
@ScottTodd ScottTodd added the infrastructure Relating to build systems, CI, or testing label Dec 18, 2019
@ScottTodd ScottTodd requested a review from benvanik December 18, 2019 21:43
@ScottTodd ScottTodd deleted the cmake-functions branch January 15, 2020 21:45
stellaraccident pushed a commit that referenced this pull request Sep 24, 2023
* iree: 566ed4d Fix mmperf and sharktank to use A100 runner (#14286)
(Fri Jun 30 23:03:54 2023 +0000)
* xla: c4eb412dc Branches the AutoSharding solver logic into its own
[.cc, .h] files. (Sun Jul 2 11:21:19 2023 -0700)
* jax: 404e3061b Merge pull request #16605 from
froystig:random-test-with-new-and-old-rng (Fri Jun 30 21:19:00 2023
-0700)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMake equivalent to Bazel iree_bytecode_module CMake equiavlent to Bazel cc_embed_data

3 participants