|
|
|
@ -36,6 +36,10 @@ else() |
|
|
|
|
add_definitions(-DMCL_USE_LLVM=1) |
|
|
|
|
set(SRCS ${SRCS} src/asm/aarch64.s) |
|
|
|
|
set(CPU arch64) |
|
|
|
|
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm") |
|
|
|
|
add_definitions(-DMCL_USE_LLVM=1) |
|
|
|
|
set(SRCS ${SRCS} src/asm/arm.s) |
|
|
|
|
set(CPU arm) |
|
|
|
|
elseif(APPLE) |
|
|
|
|
add_definitions(-DMCL_USE_LLVM=1) |
|
|
|
|
set(SRCS ${SRCS} src/asm/x86-64mac.s src/asm/x86-64mac.bmi2.s) |
|
|
|
|