mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
526e29b5b9
This relands commit 320eab2d558fde0b61437e9b9075bfd301c2c474. The test failed because it was looking for x86-linux target unconditionally. Now it gets the default target.
31 lines
511 B
CMake
31 lines
511 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Analysis
|
|
AsmParser
|
|
AsmPrinter
|
|
CodeGen
|
|
Core
|
|
MC
|
|
MIRParser
|
|
Passes
|
|
SelectionDAG
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_unittest(CodeGenTests
|
|
AArch64SelectionDAGTest.cpp
|
|
DIEHashTest.cpp
|
|
LowLevelTypeTest.cpp
|
|
LexicalScopesTest.cpp
|
|
MachineInstrBundleIteratorTest.cpp
|
|
MachineInstrTest.cpp
|
|
MachineOperandTest.cpp
|
|
PassManagerTest.cpp
|
|
ScalableVectorMVTsTest.cpp
|
|
TypeTraitsTest.cpp
|
|
TargetOptionsTest.cpp
|
|
)
|
|
|
|
add_subdirectory(GlobalISel)
|