Commit 9c59946
authored
[bazel][test] Continue fixing bazel build from 97dee78 (llvm#141336)
this continues the work in 0967a6f by generating a header from
clang-tools-extra/unittests/clang-doc/config.h.cmake
not clear all the tests pass yet, but fixes this build error at least:
ERROR:
/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6a1efeb401da192d3572f00e2f11245b/external/llvm-project/clang-tools-extra/unittests/BUILD.bazel:57:8:
Compiling
clang-tools-extra/unittests/clang-doc/HTMLMustacheGeneratorTest.cpp
failed: (Exit 1): clang failed: error executing CppCompile command (from
target @@llvm-project//clang-tools-extra/unittests:clang_doc_test)
/usr/lib/llvm-18/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall
-Wthread-safety -Wself-assign -Wunused-but-set-parameter
-Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer ...
(remaining 328 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain
the sandbox build root for debugging
external/llvm-project/clang-tools-extra/unittests/clang-doc/HTMLMustacheGeneratorTest.cpp:12:10:
fatal error: 'config.h' file not found
12 | #include "config.h"
| ^~~~~~~~~~
1 error generated.1 parent a4031db commit 9c59946
File tree
1 file changed
+18
-1
lines changed- utils/bazel/llvm-project-overlay/clang-tools-extra/unittests
1 file changed
+18
-1
lines changedLines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
57 | 72 | | |
58 | 73 | | |
59 | 74 | | |
| |||
63 | 78 | | |
64 | 79 | | |
65 | 80 | | |
| 81 | + | |
66 | 82 | | |
67 | 83 | | |
68 | | - | |
| 84 | + | |
69 | 85 | | |
| 86 | + | |
70 | 87 | | |
71 | 88 | | |
72 | 89 | | |
| |||
0 commit comments