File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
llvm/utils/gn/secondary/llvm/unittests
tools/llvm-exegesis/RISCV Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ group("unittests") {
102
102
]
103
103
}
104
104
if (llvm_build_RISCV ) {
105
- deps += [ " Target/RISCV:RISCVTests" ]
105
+ deps += [
106
+ " Target/RISCV:RISCVTests" ,
107
+ " tools/llvm-exegesis/RISCV:LLVMExegesisRISCVTests" ,
108
+ ]
106
109
}
107
110
if (llvm_build_SystemZ ) {
108
111
deps += [ " MC/SystemZ:SystemZAsmLexerTests" ]
Original file line number Diff line number Diff line change
1
+ import (" //third-party/unittest/unittest.gni" )
2
+
3
+ unittest (" LLVMExegesisRISCVTests" ) {
4
+ deps = [
5
+ " //llvm/lib/DebugInfo/Symbolize" ,
6
+ " //llvm/lib/MC" ,
7
+ " //llvm/lib/MC/MCParser" ,
8
+ " //llvm/lib/Object" ,
9
+ " //llvm/lib/Support" ,
10
+ " //llvm/lib/Target/RISCV" ,
11
+
12
+ # Exegesis reaches inside the Target/RISCV tablegen internals and must
13
+ # depend on these Target/RISCV-internal build targets.
14
+ " //llvm/lib/Target/RISCV/MCTargetDesc" ,
15
+ " //llvm/tools/llvm-exegesis/lib" ,
16
+ " //llvm/tools/llvm-exegesis/lib/RISCV" ,
17
+ ]
18
+ include_dirs = [
19
+ " //llvm/lib/Target/RISCV" ,
20
+ " //llvm/tools/llvm-exegesis/lib" ,
21
+ ]
22
+ sources = [
23
+ " SnippetGeneratorTest.cpp" ,
24
+ " TargetTest.cpp" ,
25
+ ]
26
+ }
You can’t perform that action at this time.
0 commit comments