Skip to content

Merge main -> google - #2543

Merged
copybara-service[bot] merged 5 commits into
iree-org:googlefrom
ScottTodd:main-to-google
Jul 16, 2020
Merged

copybara-service[bot] merged 5 commits into
iree-org:googlefrom
ScottTodd:main-to-google

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

asaadaldien and others added 5 commits July 14, 2020 23:11
This is a new feature in OSS Bazel (which has been available internally
for a while) that checks layering. That is, cc_* BUILD rules should
directly depend on a rule that exports each header that is `#include`'ed
in the rule's sources.

This is now available since we upgraded to Bazel 3.3.1 (iree-org#2495).

Unfortunately we can't just enable this in the .bazelrc with
`--features=layering_check` because that would enable it for all our
dependencies as well, which we are not interested in enforcing. I'm not
aware of an equivalent to `--per_file_copt` for features.

Includes adding package and license declarations to some packages that
were missing them.
@copybara-service
copybara-service Bot merged commit c89e8ee into iree-org:google Jul 16, 2020
@ScottTodd ScottTodd mentioned this pull request Jul 16, 2020
ScottTodd added a commit that referenced this pull request Jul 16, 2020
* b2145c7 Synchronize submodules                                                          
* 13bdb7e Integrate TF at tensorflow/tensorflow@33a4c1a0aba     
* c89e8ee Merge pull request #2543 from ScottTodd:main-to-google                          
* 8be9242 Synchronize submodules                                                          
* b0737d2 Integrate LLVM at llvm/llvm-project@1067d3e176ea      
* 3e574a9 Synchronize submodules                                                          
* d875628 Integrate LLVM at llvm/llvm-project@b2018198c32a      
* 28e7bc2 Synchronize submodules                                                          
* 3f7687c Integrate LLVM at llvm/llvm-project@f233b92f92a6      
* af5f150 Adds a way to register modules with the context through the java API            
* 79586bd Synchronize submodules                                                          
* 95d8c9f Integrate TF at ebcd2928f5b0                                                    
* 3aadd21 Synchronize submodules                                                          
* 0ee9524 Integrate LLVM at llvm/llvm-project@c11c78a1bd0b      
* 0bdd8f2 Synchronize submodules                                                          
* 89bf08f Integrate LLVM at llvm/llvm-project@f782d9c7002e      
* 764c9dd Merge pull request #2512 from ScottTodd:main-to-google
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.

5 participants