File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lldb/unittests/Instruction Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,19 @@ add_lldb_unittest(EmulatorTests
55
66 LINK_COMPONENTS
77 Support
8- ${LLVM_TARGETS_TO_BUILD}
98 LINK_LIBS
109 lldbCore
1110 lldbSymbol
1211 lldbTarget
1312 lldbPluginInstructionARM64
1413 lldbPluginInstructionLoongArch
1514 lldbPluginInstructionRISCV
16- lldbPluginProcessUtility
1715 )
1816
17+ # Only add RISCV emulator tests if RISCV is in the list of LLVM targets to build.
18+ # This is necessary because some buildbots (e.g., X86-only machines)
19+ # do not have RISCV support enabled. Without this check, the RISCV tests would be added
20+ # causing build failures.
1921if ("RISCV" IN_LIST LLVM_TARGETS_TO_BUILD)
2022 add_lldb_unittest(RISCVEmulatorTests
2123 RISCV/TestRiscvInstEmulation.cpp
You can’t perform that action at this time.
0 commit comments