summaryrefslogtreecommitdiff
path: root/src/compilers/clang-18-native.TARGETS
diff options
context:
space:
mode:
Diffstat (limited to 'src/compilers/clang-18-native.TARGETS')
-rw-r--r--src/compilers/clang-18-native.TARGETS39
1 files changed, 11 insertions, 28 deletions
diff --git a/src/compilers/clang-18-native.TARGETS b/src/compilers/clang-18-native.TARGETS
index ee433f7..c4eef3c 100644
--- a/src/compilers/clang-18-native.TARGETS
+++ b/src/compilers/clang-18-native.TARGETS
@@ -151,35 +151,18 @@
, "-DLLVM_INCLUDE_DOCS=OFF"
, "-DLLVM_INCLUDE_TESTS=OFF"
, "-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON"
- , { "type": "join"
- , "$1":
- [ "-DLLVM_ENABLE_PROJECTS="
- , { "type": "join_cmd"
- , "$1":
- [ { "type": "join"
- , "separator": ";"
- , "$1":
- { "type": "++"
- , "$1":
- [ ["clang"]
- , { "type": "if"
- , "cond":
- { "type": "lookup"
- , "key": "INCLUDE_LINTER"
- , "map":
- { "type": "var"
- , "name": "TOOLCHAIN_CONFIG"
- , "default": {"type": "empty_map"}
- }
- }
- , "then": ["clang-tools-extra"]
- }
- ]
- }
- }
- ]
+ , { "type": "if"
+ , "cond":
+ { "type": "lookup"
+ , "key": "INCLUDE_LINTER"
+ , "map":
+ { "type": "var"
+ , "name": "TOOLCHAIN_CONFIG"
+ , "default": {"type": "empty_map"}
}
- ]
+ }
+ , "then": "-DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra'"
+ , "else": "-DLLVM_ENABLE_PROJECTS=clang"
}
, "-DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi;libunwind'"
, "-DLLVM_TARGETS_TO_BUILD=X86"