Skip to content

Commit 1f9bb85

Browse files
committed
[bazel][clang] Exclude wasm interpreter
These only work under emscripten. Introduced in 9a9546e.
1 parent b67d557 commit 1f9bb85

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

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

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,11 +1869,19 @@ cc_library(
18691869

18701870
cc_library(
18711871
name = "interpreter",
1872-
srcs = glob([
1873-
"lib/Interpreter/*.cpp",
1874-
"lib/Interpreter/*.h",
1875-
]),
1876-
hdrs = glob(["include/clang/Interpreter/*.h"]),
1872+
srcs = glob(
1873+
[
1874+
"lib/Interpreter/*.cpp",
1875+
"lib/Interpreter/*.h",
1876+
],
1877+
exclude = ["lib/Interpreter/Wasm.cpp"],
1878+
),
1879+
hdrs = glob(
1880+
[
1881+
"include/clang/Interpreter/*.h",
1882+
],
1883+
exclude = ["lib/Interpreter/Wasm.cpp"],
1884+
),
18771885
includes = ["include"],
18781886
deps = [
18791887
":analysis",

0 commit comments

Comments
 (0)