File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
llvm/utils/gn/secondary/llvm
tools/llvm-exegesis/lib/RISCV Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import("//llvm/lib/Target/targets.gni")
33targets_with_exegesis = []
44foreach (target , llvm_targets_to_build ) {
55 if (target == " AArch64" || target == " Mips" || target == " PowerPC" ||
6- target == " X86" ) {
6+ target == " RISCV " || target == " X86" ) {
77 targets_with_exegesis += [ target ]
88 }
99}
Original file line number Diff line number Diff line change 1+ static_library (" RISCV" ) {
2+ output_name = " LLVMExegesisRISCV"
3+ deps = [
4+ " //llvm/lib/CodeGen" ,
5+ " //llvm/lib/IR" ,
6+ " //llvm/lib/Support" ,
7+
8+ # Exegesis reaches inside the Target/RISCV tablegen internals and must
9+ # depend on these Target/RISCV-internal build targets.
10+ " //llvm/lib/Target/RISCV/MCTargetDesc" ,
11+ ]
12+ sources = [ " Target.cpp" ]
13+ include_dirs = [ " //llvm/lib/Target/RISCV" ]
14+ }
You can’t perform that action at this time.
0 commit comments