diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel @@ -1478,7 +1478,12 @@ # '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"], + [ + "lib/Headers/*.h", + "lib/Headers/cuda_wrappers/*", + "lib/Headers/openmp_wrappers/*", + "lib/Headers/ppc_wrappers/*", + ], exclude = [ # FIXME: They are not handled in CMake side. "lib/Headers/openmp_wrappers/time.h",