Add cmake message about which JIT we are using

This commit is contained in:
Ryan Houdek 2019-10-09 17:07:13 -07:00 committed by Stefanos Kornilios Mitsis Poiitidis
parent 0e35fddac6
commit e59a6fcd5d

View File

@ -27,13 +27,16 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
set(CMAKE_REQUIRED_DEFINITIONS "-fno-operator-names")
check_include_file_cxx(xbyak/xbyak.h XBYAK_FOUND)
if (XBYAK_FOUND)
message(STATUS "Enabling x86-64 JIT")
set(ENABLE_JIT 1)
else()
message(STATUS "xbyak not found. Not enabling runtime JIT")
endif()
endif()
endif()
if (FORCE_AARCH64 OR CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
message(STATUS "Enabling AArch64 JIT")
set(_M_ARM_64 1)
set(ENABLE_JIT 1)
add_subdirectory(External/vixl/)