We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f2f81 commit 78703c1Copy full SHA for 78703c1
llvm/utils/gn/secondary/bolt/include/bolt/Core/BUILD.gn
@@ -1,6 +1,14 @@
1
import("//llvm/lib/Target/write_target_def_file.gni")
2
3
+bolt_targets_to_build = []
4
+foreach(target, llvm_targets_to_build) {
5
+ if (target == "AArch64" || target == "RISCV" || target == "X86") {
6
+ bolt_targets_to_build += [ target ]
7
+ }
8
+}
9
+
10
write_target_def_file("TargetConfig.def") {
11
key = "BOLT_ENUM_TARGETS"
12
value = "BOLT_TARGET"
13
+ all_targets = bolt_targets_to_build
14
}
0 commit comments