forked from OSchip/llvm-project
[Bazel] Make `builtin_headers_gen` as subset of CMake's `clang-resource-headers`
At the moment, two files are not installed by CMake. - `lib/Headers/openmp_wrappers/time.h` - `lib/Headers/ppc_wrappers/nmmintrin.h` `builtin_headers_gen` is available as the source of rules_pkg. The difference of the layout of installed headers makes cache hit harder.
This commit is contained in:
parent
7e4ab9d5b8
commit
1ecfc12b0c
|
@ -1455,7 +1455,11 @@ gentbl(
|
|||
# We generate the set of builtin headers under a special subdirectory in the
|
||||
# 'bin' section of the bazel output so that they can be used as data
|
||||
# dependencies. It requires listing explicitly all the generated inputs here.
|
||||
builtin_headers = glob(["lib/Headers/**/*.h"]) + [
|
||||
builtin_headers = glob(["lib/Headers/**/*.h"], exclude = [
|
||||
# FIXME: They are not handled in CMake side.
|
||||
"lib/Headers/openmp_wrappers/time.h",
|
||||
"lib/Headers/ppc_wrappers/nmmintrin.h",
|
||||
]) + [
|
||||
"lib/Headers/arm_cde.h",
|
||||
"lib/Headers/arm_fp16.h",
|
||||
"lib/Headers/arm_mve.h",
|
||||
|
|
Loading…
Reference in New Issue