[PATCH] D136452: [bazel] Add missing C++ style clang headers

Aaron Siddhartha Mondal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 07:15:12 PDT 2022


aaronmondal updated this revision to Diff 469603.
aaronmondal added a comment.

Move these headers into `glob` to clearly differentiate generated and non-generated files.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136452/new/

https://reviews.llvm.org/D136452

Files:
  utils/bazel/llvm-project-overlay/clang/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/clang/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -1473,7 +1473,15 @@
 # '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/algorithm",
+        "lib/Headers/cuda_wrappers/complex",
+        "lib/Headers/cuda_wrappers/new",
+        "lib/Headers/openmp_wrappers/cmath",
+        "lib/Headers/openmp_wrappers/complex",
+        "lib/Headers/openmp_wrappers/new",
+    ],
     exclude = [
         # FIXME: They are not handled in CMake side.
         "lib/Headers/openmp_wrappers/time.h",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136452.469603.patch
Type: text/x-patch
Size: 900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221021/7523bdfd/attachment.bin>


More information about the llvm-commits mailing list