[PATCH] D107714: Simplify setting up LLVM as bazel external repo
Christian Sigg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 17 07:12:00 PDT 2021
csigg updated this revision to Diff 366890.
csigg added a comment.
Revert back to `repository_ctx.path(Label("//:WORKSPACE")).dirname`.
`repository_ctx.path(".")` simply resolves to ".".
Adding `.realpath` doesn't help either, because that then resolves to the root of the repository we are creating (e.g. `llvm-project`), instead of the source repo (e.g. `llvm-archive`).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107714/new/
https://reviews.llvm.org/D107714
Files:
utils/bazel/WORKSPACE
utils/bazel/configure.bzl
utils/bazel/examples/http_archive/WORKSPACE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107714.366890.patch
Type: text/x-patch
Size: 3837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/57cb3649/attachment.bin>
More information about the llvm-commits
mailing list