mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[CMake] Add a macro definition to detect if we are building GlobalISel:
LLVM_BUILD_GLOBAL_ISEL llvm-svn: 260457
This commit is contained in:
parent
b9cf91e435
commit
fb75f3ace2
@ -69,6 +69,9 @@ if(LLVM_PARALLEL_COMPILE_JOBS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(LLVM_BUILD_GLOBAL_ISEL OFF CACHE BOOL "Experimental: Build GlobalISel")
|
set(LLVM_BUILD_GLOBAL_ISEL OFF CACHE BOOL "Experimental: Build GlobalISel")
|
||||||
|
if(LLVM_BUILD_GLOBAL_ISEL)
|
||||||
|
add_definitions(-DLLVM_BUILD_GLOBAL_ISEL)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(LLVM_PARALLEL_LINK_JOBS "" CACHE STRING
|
set(LLVM_PARALLEL_LINK_JOBS "" CACHE STRING
|
||||||
"Define the maximum number of concurrent link jobs.")
|
"Define the maximum number of concurrent link jobs.")
|
||||||
|
Loading…
Reference in New Issue
Block a user