Skip to content

Add BUILD files to directories without - #1001

Closed
GMNGeoffrey wants to merge 1 commit into
iree-org:masterfrom
GMNGeoffrey:add-build-files
Closed

GMNGeoffrey wants to merge 1 commit into
iree-org:masterfrom
GMNGeoffrey:add-build-files

Conversation

@GMNGeoffrey

Copy link
Copy Markdown
Member

Every directory is a package! This is helpful for consistency between bazel and cmake, and allows us to use bazel_to_cmake to keep things in sync. We need CMakeLists.txt files in these directories to add the subdirectories.

@marbre

marbre commented Mar 9, 2020

Copy link
Copy Markdown
Member

It would of course also possible to include deeper level subdirectories, but I like this approach much better 👍

@copybara-service copybara-service Bot closed this in b530d23 Mar 9, 2020
copybara-service Bot pushed a commit that referenced this pull request Mar 9, 2020
When iterating locally, it's useful to rebuild and rely on CMake's caching rather than doing a full clean build. CMake's caching is a bit sketchy sometimes, so it's also useful to do a full clean build. Split things out so we have a script for each.

Depends on #1001

Closes #1003

COPYBARA_INTEGRATE_REVIEW=#1003 from GMNGeoffrey:rebuild-cmake 95a4fc6
PiperOrigin-RevId: 299882490
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.

4 participants