mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Revert "Renovate CMake files in the llvm-exegesis
tool."
This reverts commit 549a1e2e59508d4aeaf9a93912b479798954bd5e. I see some buildbot failures, so reverting while I look into them.
This commit is contained in:
parent
3bd26be636
commit
e62267e2bf
@ -1,5 +1,4 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
MC
|
||||
MCParser
|
||||
Support
|
||||
native
|
||||
@ -8,9 +7,6 @@ set(LLVM_LINK_COMPONENTS
|
||||
add_llvm_tool(llvm-exegesis
|
||||
DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
llvm-exegesis.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
add_subdirectory(lib)
|
||||
|
@ -3,17 +3,16 @@ include_directories(
|
||||
${LLVM_BINARY_DIR}/lib/Target/AArch64
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
AArch64
|
||||
Exegesis
|
||||
Core
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisAArch64
|
||||
DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
add_library(LLVMExegesisAArch64
|
||||
STATIC
|
||||
Target.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
llvm_update_compile_flags(LLVMExegesisAArch64)
|
||||
llvm_map_components_to_libnames(libs
|
||||
AArch64
|
||||
Exegesis
|
||||
)
|
||||
|
||||
target_link_libraries(LLVMExegesisAArch64 ${libs})
|
||||
set_target_properties(LLVMExegesisAArch64 PROPERTIES FOLDER "Libraries")
|
||||
|
@ -19,29 +19,7 @@ endif()
|
||||
|
||||
set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} ${TARGETS_TO_APPEND}" PARENT_SCOPE)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Analysis
|
||||
CodeGen
|
||||
Core
|
||||
ExecutionEngine
|
||||
GlobalISel
|
||||
MC
|
||||
MCDisassembler
|
||||
MCJIT
|
||||
MCParser
|
||||
Object
|
||||
ObjectYAML
|
||||
RuntimeDyld
|
||||
Support
|
||||
)
|
||||
|
||||
set(libs)
|
||||
if(LLVM_ENABLE_LIBPFM AND HAVE_LIBPFM)
|
||||
list(APPEND libs pfm)
|
||||
endif()
|
||||
|
||||
add_llvm_library(LLVMExegesis
|
||||
DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
add_library(LLVMExegesis
|
||||
STATIC
|
||||
Analysis.cpp
|
||||
Assembler.cpp
|
||||
@ -64,9 +42,28 @@ add_llvm_library(LLVMExegesis
|
||||
SnippetRepetitor.cpp
|
||||
Target.cpp
|
||||
UopsBenchmarkRunner.cpp
|
||||
|
||||
LINK_LIBS ${libs}
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
llvm_update_compile_flags(LLVMExegesis)
|
||||
llvm_map_components_to_libnames(libs
|
||||
Analysis
|
||||
CodeGen
|
||||
Core
|
||||
ExecutionEngine
|
||||
GlobalISel
|
||||
MC
|
||||
MCDisassembler
|
||||
MCJIT
|
||||
MCParser
|
||||
Object
|
||||
ObjectYAML
|
||||
RuntimeDyld
|
||||
Support
|
||||
)
|
||||
|
||||
if(LLVM_ENABLE_LIBPFM AND HAVE_LIBPFM)
|
||||
list(APPEND libs pfm)
|
||||
endif()
|
||||
|
||||
target_link_libraries(LLVMExegesis ${libs})
|
||||
set_target_properties(LLVMExegesis PROPERTIES FOLDER "Libraries")
|
||||
|
@ -3,17 +3,16 @@ include_directories(
|
||||
${LLVM_BINARY_DIR}/lib/Target/Mips
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Mips
|
||||
Exegesis
|
||||
Core
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisMips
|
||||
DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
add_library(LLVMExegesisMips
|
||||
STATIC
|
||||
Target.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
llvm_update_compile_flags(LLVMExegesisMips)
|
||||
llvm_map_components_to_libnames(libs
|
||||
Mips
|
||||
Exegesis
|
||||
)
|
||||
|
||||
target_link_libraries(LLVMExegesisMips ${libs})
|
||||
set_target_properties(LLVMExegesisMips PROPERTIES FOLDER "Libraries")
|
||||
|
@ -3,17 +3,16 @@ include_directories(
|
||||
${LLVM_BINARY_DIR}/lib/Target/PowerPC
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
PowerPC
|
||||
Exegesis
|
||||
Core
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisPowerPC
|
||||
DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
add_library(LLVMExegesisPowerPC
|
||||
STATIC
|
||||
Target.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
llvm_update_compile_flags(LLVMExegesisPowerPC)
|
||||
llvm_map_components_to_libnames(libs
|
||||
PowerPC
|
||||
Exegesis
|
||||
)
|
||||
|
||||
target_link_libraries(LLVMExegesisPowerPC ${libs})
|
||||
set_target_properties(LLVMExegesisPowerPC PROPERTIES FOLDER "Libraries")
|
||||
|
@ -3,18 +3,17 @@ include_directories(
|
||||
${LLVM_BINARY_DIR}/lib/Target/X86
|
||||
)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
X86
|
||||
Exegesis
|
||||
Core
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMExegesisX86
|
||||
DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
add_library(LLVMExegesisX86
|
||||
STATIC
|
||||
Target.cpp
|
||||
X86Counter.cpp
|
||||
|
||||
DEPENDS
|
||||
intrinsics_gen
|
||||
)
|
||||
|
||||
llvm_update_compile_flags(LLVMExegesisX86)
|
||||
llvm_map_components_to_libnames(libs
|
||||
X86
|
||||
Exegesis
|
||||
)
|
||||
|
||||
target_link_libraries(LLVMExegesisX86 ${libs})
|
||||
set_target_properties(LLVMExegesisX86 PROPERTIES FOLDER "Libraries")
|
||||
|
@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
|
||||
TableGen
|
||||
)
|
||||
|
||||
add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
llvm_add_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
|
||||
CodeExpander.cpp
|
||||
GIMatchDag.cpp
|
||||
GIMatchDagEdge.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user