mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 18:22:00 +00:00
Do not link intel JIT events when compiling LLVM for ARM64
This commit is contained in:
parent
79614562b9
commit
1568366d9c
4
3rdparty/llvm/CMakeLists.txt
vendored
4
3rdparty/llvm/CMakeLists.txt
vendored
@ -17,12 +17,14 @@ if(WITH_LLVM)
|
|||||||
option(LLVM_CCACHE_BUILD OFF)
|
option(LLVM_CCACHE_BUILD OFF)
|
||||||
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "Enable compiler warnings.")
|
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "Enable compiler warnings.")
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32 AND COMPILER_X86)
|
||||||
set(LLVM_USE_INTEL_JITEVENTS ON)
|
set(LLVM_USE_INTEL_JITEVENTS ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
|
if(COMPILER_X86)
|
||||||
set(LLVM_USE_INTEL_JITEVENTS ON)
|
set(LLVM_USE_INTEL_JITEVENTS ON)
|
||||||
|
endif()
|
||||||
set(LLVM_USE_PERF ON)
|
set(LLVM_USE_PERF ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user