This repository was archived by the owner on Jun 20, 2023. It is now read-only.
Repository navigation
Commit 5d2cd83
authored
Work around bazelbuild/bazel#3828 (#130)
Current Bazel has a bug (bazelbuild/bazel#3828) when using `strip_include_prefix` that causes Bazel to erroneously report a missing dependency declaration.
This bug shows up when trying to `bazel build @llvm-project//llvm:NVPTXCodeGen`:
```
undeclared inclusion(s) in rule '@llvm-project//llvm:NVPTXCodeGen':
this rule is missing dependency declarations for the following files included by 'external/llvm-project/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp':
'external/llvm-project/llvm/lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.h'
```
This has been fixed in bazelbuild/bazel@e3b7e17. This PR is a workaround until we have a Bazel version that contains the fix.1 parent bc9a93f commit 5d2cd83
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1719 | 1723 | | |
1720 | 1724 | | |
1721 | 1725 | | |
| |||
0 commit comments