Lines Matching +full:is +full:- +full:glob
1 diff --git a/utils/bazel/configure.bzl b/utils/bazel/configure.bzl
3 --- a/utils/bazel/configure.bzl
5 @@ -70,6 +70,11 @@ def _overlay_directories(repository_ctx):
17 @@ -86,6 +91,16 @@ llvm_configure = repository_rule(
22 + Label("//utils/bazel/llvm-project-overlay/clang:BUILD.bazel"),
23 + Label("//utils/bazel/llvm-project-overlay/libunwind:BUILD.bazel"),
24 + Label("//utils/bazel/llvm-project-overlay/llvm:binary_alias.bzl"),
25 + Label("//utils/bazel/llvm-project-overlay/llvm:BUILD.bazel"),
26 + Label("//utils/bazel/llvm-project-overlay/llvm:cc_plugin_library.bzl"),
27 + Label("//utils/bazel/llvm-project-overlay/llvm:config.bzl"),
28 + Label("//utils/bazel/llvm-project-overlay/llvm:tblgen.bzl"),
29 + Label("//utils/bazel/llvm-project-overlay/llvm:template_rule.bzl"),
34 diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/…
36 --- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
37 +++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
38 @@ -5,6 +5,7 @@
46 @@ -28,7 +29,7 @@ cc_binary(
50 - ],
55 @@ -391,8 +392,8 @@ cc_library(
59 - "include/clang/Basic/Version.inc",
62 ] + glob([
65 @@ -406,7 +407,7 @@ cc_library(
67 "-DHAVE_VCS_VERSION_INC",
69 - ],
74 @@ -471,6 +472,7 @@ cc_library(
75 hdrs = glob([
82 @@ -711,7 +713,7 @@ cc_library(
84 "-I$(GENDIR)/external/llvm-project/clang/lib/AST",
85 "-I$(GENDIR)/external/llvm-project/clang/lib/AST/Interp",
86 - ],
91 @@ -763,6 +765,7 @@ cc_library(
93 "include/clang-c/*.h",
99 @@ -786,6 +789,7 @@ cc_library(
100 hdrs = glob([
105 textual_hdrs = glob([
107 @@ -844,7 +848,7 @@ cc_library(
109 "include/clang-c/*.h",
111 - copts = ["$(STACK_FRAME_UNLIMITED)"],
116 @@ -911,6 +915,7 @@ cc_library(
119 ] + glob(["include/clang/Parse/*.h"]),
124 @@ -932,6 +937,7 @@ cc_library(
127 hdrs = glob(["include/clang/ASTMatchers/*.h"]),
132 @@ -948,7 +954,7 @@ cc_library(
135 hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"]),
136 - copts = ["$(STACK_FRAME_UNLIMITED)"],
141 @@ -966,6 +972,7 @@ cc_library(
144 hdrs = glob(["include/clang/Rewrite/Core/*.h"]),
149 @@ -982,6 +989,7 @@ cc_library(
152 hdrs = glob(["include/clang/Testing/*.h"]),
157 @@ -996,6 +1004,7 @@ cc_library(
160 hdrs = glob(["include/clang/Tooling/Core/*.h"]),
165 @@ -1018,6 +1027,7 @@ cc_library(
166 hdrs = glob([
173 @@ -1042,6 +1052,7 @@ cc_library(
174 hdrs = glob([
181 @@ -1061,6 +1072,7 @@ cc_library(
189 @@ -1094,6 +1106,7 @@ cc_library(
191 srcs = glob(["lib/Tooling/Syntax/**/*.cpp"]),
192 hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"]),
197 @@ -1108,6 +1121,7 @@ cc_library(
199 srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"]),
200 hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"]),
205 @@ -1123,6 +1137,7 @@ cc_library(
207 srcs = glob(["lib/Tooling/Transformer/**/*.cpp"]),
208 hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"]),
213 @@ -1138,6 +1153,7 @@ cc_library(
214 name = "ast-diff",
215 srcs = glob(["lib/Tooling/ASTDiff/*.cpp"]),
216 hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"]),
221 @@ -1150,6 +1166,7 @@ cc_library(
223 srcs = glob(["lib/CrossTU/*.cpp"]),
224 hdrs = glob(["include/clang/CrossTU/*.h"]),
229 @@ -1174,6 +1191,7 @@ cc_library(
230 ] + glob([
237 @@ -1188,6 +1206,7 @@ cc_library(
239 srcs = glob(["lib/Edit/*.cpp"]),
240 hdrs = glob(["include/clang/Edit/*.h"]),
245 @@ -1222,6 +1241,7 @@ cc_library(
246 hdrs = glob([
251 textual_hdrs = glob([
253 @@ -1268,7 +1288,7 @@ cc_library(
254 ] + glob([
257 - copts = ["$(STACK_FRAME_UNLIMITED)"],
262 @@ -1316,7 +1336,7 @@ cc_library(
263 hdrs = glob([
266 - copts = ["$(STACK_FRAME_UNLIMITED)"],
270 # TODO: This is likely a layering issue, but files in Arch are currently
271 @@ -1479,7 +1499,7 @@ cc_library(
272 hdrs = glob([
275 - copts = ["$(STACK_FRAME_UNLIMITED)"],
279 textual_hdrs = glob([
280 @@ -1519,6 +1539,7 @@ cc_library(
283 hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]),
288 @@ -1541,6 +1562,7 @@ cc_library(
291 hdrs = glob(["include/clang/Interpreter/*.h"]),
296 @@ -1573,7 +1595,7 @@ cc_library(
299 hdrs = glob(["include/clang/CodeGen/*.h"]),
300 - copts = ["$(STACK_FRAME_UNLIMITED)"],
305 @@ -1624,6 +1646,7 @@ cc_library(
308 hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"]),
313 @@ -1678,6 +1701,7 @@ cc_library(
314 hdrs = glob([
319 textual_hdrs = glob([
321 @@ -1705,6 +1729,7 @@ cc_library(
324 hdrs = glob(["include/clang/FrontendTool/*.h"]),
329 @@ -1726,6 +1751,7 @@ cc_library(
332 hdrs = glob(["include/clang/ARCMigrate/*.h"]),
337 @@ -1752,6 +1778,7 @@ cc_library(
340 hdrs = glob(["include/clang-c/*.h"]),
345 @@ -1783,7 +1810,7 @@ cc_plugin_library(
347 "@bazel_tools//src/conditions:windows": ["-D_CINDEX_LIB_"],
349 - }),
354 @@ -1912,7 +1939,7 @@ cc_library(
358 - ],
363 @@ -1947,6 +1974,7 @@ cc_library(
370 ":clang-driver",
371 diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/l…
373 --- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
374 +++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
375 @@ -4,7 +4,7 @@
379 -load(":config.bzl", "llvm_config_defines")
384 @@ -21,10 +21,12 @@ exports_files(["LICENSE.TXT"])
385 # toolchain or the `.bazelrc` file. This is just a workaround until we have a
388 -llvm_copts = [
398 @@ -167,10 +169,69 @@ genrule(
399 "echo -e '#undef HANDLE_EXTENSION' >> $@\n",
402 +# TODO: This separation is required to separate out C++ and C opts
405 - name = "Support",
406 + name = "Support-c",
407 srcs = glob([
410 + hdrs = glob([
414 + "include/llvm-c/Core.h",
415 + "include/llvm-c/DataTypes.h",
416 + "include/llvm-c/Deprecated.h",
417 + "include/llvm-c/DisassemblerTypes.h",
418 + "include/llvm-c/Error.h",
419 + "include/llvm-c/ErrorHandling.h",
420 + "include/llvm-c/ExternC.h",
421 + "include/llvm-c/Support.h",
422 + "include/llvm-c/Types.h",
432 + "-pthread",
433 + "-lexecinfo",
434 + "-ldl",
435 + "-lm",
438 + "-pthread",
439 + "-ldl",
440 + "-lm",
443 + textual_hdrs = glob([
452 + # will be an empty library unless terminfo is enabled, in which case it
457 + # be an empty library unless zlib is enabled, in which case it will
465 + srcs = glob([
469 @@ -223,6 +284,7 @@ cc_library(
473 + ":Support-c",
477 diff --git a/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl b/utils/bazel/llvm-project…
479 --- a/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl
480 +++ b/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl
481 @@ -16,6 +16,7 @@ configure generic aspects of all generated rules such as `testonly`. Lastly,
488 # Neither the name of the plugin binary nor tags on whether it is built are
489 @@ -29,6 +30,7 @@ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_pre
497 @@ -38,6 +40,7 @@ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_pre
505 diff --git a/utils/bazel/llvm-project-overlay/llvm/config.bzl b/utils/bazel/llvm-project-overlay/ll…
507 --- a/utils/bazel/llvm-project-overlay/llvm/config.bzl
508 +++ b/utils/bazel/llvm-project-overlay/llvm/config.bzl
509 @@ -97,3 +97,8 @@ llvm_config_defines = os_defines + select({
516 + "//conditions:default": ["-std=c++17"],
518 diff --git a/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl b/utils/bazel/llvm-project-overlay/ll…
520 --- a/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
521 +++ b/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
522 @@ -12,6 +12,8 @@ TODO(chandlerc): Currently this expresses include-based dependencies as
531 @@ -77,5 +79,6 @@ def gentbl(
534 features = ["-parse_headers", "-header_modules"],