1
0
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:
Quentin Colombet 2016-02-10 23:00:57 +00:00
parent b9cf91e435
commit fb75f3ace2

View File

@ -69,6 +69,9 @@ if(LLVM_PARALLEL_COMPILE_JOBS)
endif()
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
"Define the maximum number of concurrent link jobs.")