brintos

brintos / llvm-project-archived public Read only

0
0
Text · 992 B · 975923f Raw
38 lines · plain
1add_lldb_unittest(EmulatorTests2  ARM64/TestAArch64Emulator.cpp3  LoongArch/TestLoongArchEmulator.cpp4  RISCV/TestRISCVEmulator.cpp5  6  LINK_COMPONENTS7    Support8  LINK_LIBS9    lldbCore10    lldbSymbol11    lldbTarget12    lldbPluginInstructionARM6413    lldbPluginInstructionLoongArch14    lldbPluginInstructionRISCV15  )16 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 added20# causing build failures.21if ("RISCV" IN_LIST LLVM_TARGETS_TO_BUILD)22  add_lldb_unittest(RISCVEmulatorTests23    RISCV/TestRiscvInstEmulation.cpp24 25    LINK_COMPONENTS26      Support27      ${LLVM_TARGETS_TO_BUILD}28    LINK_LIBS29      lldbCore30      lldbSymbol31      lldbTarget32      lldbPluginInstructionRISCV33      lldbPluginDisassemblerLLVMC34      lldbPluginUnwindAssemblyInstEmulation35      lldbPluginProcessUtility36    )37endif()38