[PATCH] D137007: [Bazel] Use dynamic workspace root determination
Geoffrey Martin-Noble via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 3 16:29:17 PDT 2022
GMNGeoffrey added inline comments.
================
Comment at: utils/bazel/llvm-project-overlay/clang/BUILD.bazel:731
# headers such as `CXXABI.h`.
- "-I$(GENDIR)/external/llvm-project/clang/lib/AST",
- "-I$(GENDIR)/external/llvm-project/clang/lib/AST/Interp",
+ "-I$(GENDIR)/$(WORKSPACE_ROOT)/clang/lib/AST",
+ "-I$(GENDIR)/$(WORKSPACE_ROOT)/clang/lib/AST/Interp",
----------------
Oh this is way better. These have always felt like a hack relying on a Bazel implementation detail.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137007/new/
https://reviews.llvm.org/D137007
More information about the llvm-commits
mailing list