Christian Sigg
f2694500c2
Update bazel examples.
...
Use the simplified repo rules from https://github.com/llvm/llvm-project/commit/934f084 .
Reviewed By: GMNGeoffrey
Differential Revision: https://reviews.llvm.org/D108237
2021-08-20 08:10:57 +02:00
Christian Sigg
81d5412439
Simplify setting up LLVM as bazel external repo
...
Only require one intermediate repository instead of two.
Fewer parameters in llvm_config.
Second attempt of https://reviews.llvm.org/D107714 , this time also updating `third_party_build` and `deps_impl` paths.
Reviewed By: GMNGeoffrey
Differential Revision: https://reviews.llvm.org/D108274
2021-08-19 09:37:26 +02:00
Geoffrey Martin-Noble
0bfe614bc2
Revert "Simplify setting up LLVM as bazel external repo"
...
This breaks the rules for creating repository dependencies when invoked
from another workspace. See comment on https://reviews.llvm.org/D107714
This reverts commit 934f084ad4
.
Differential Revision: https://reviews.llvm.org/D108245
2021-08-17 14:48:40 -07:00
Christian Sigg
934f084ad4
Simplify setting up LLVM as bazel external repo
...
Only require one intermediate repository instead of two.
Fewer parameters in llvm_config.
Remove bazel_skylib dependency.
Reviewed By: goncharov
Differential Revision: https://reviews.llvm.org/D107714
2021-08-17 21:58:43 +02:00
Geoffrey Martin-Noble
8b86b3a846
[Bazel] Use bazel_skylib paths for paths munging
...
We do a lot of path munging and bazel_sklyib is a pretty reasonable dep.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D106175
2021-07-16 13:52:07 -07:00
Geoffrey Martin-Noble
d08f8960d0
[Bazel] add missing load to submodule example
...
I missed this in https://reviews.llvm.org/D105245
Reviewed By: chandlerc
Differential Revision: https://reviews.llvm.org/D105252
2021-06-30 19:35:27 -07:00
Geoffrey Martin-Noble
9cc1ddd393
[Bazel] Update README with examples
...
Reviewed By: chandlerc
Differential Revision: https://reviews.llvm.org/D105245
2021-06-30 16:50:23 -07:00