1
0
Fork 0

Adaptation of V8 architecture "arm64" with "aarch64" processor.

Set V8_PROC_ARCH to "arm64" by "aarch64"
Additional info: 
https://chromium.googlesource.com/v8/v8/+/refs/heads/5.0.71/build/standalone.gypi
This commit is contained in:
servusoft 2016-07-25 16:35:58 +02:00 committed by GitHub
parent 158f21b0da
commit 9ae6bd6831
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ endif()
if ("${CMAKE_TARGET_ARCHITECTURES}" STREQUAL "armv7")
set(V8_PROC_ARCH "arm")
list(APPEND V8_GYP_ARGS -Darm_version=7 -Darm_fpu=default -Darm_float_abi=default)
elseif("${CMAKE_TARGET_ARCHITECTURES}" STREQUAL "aarch64")
set(V8_PROC_ARCH "arm64")
list(APPEND V8_GYP_ARGS -Darm_fpu=default -Darm_float_abi=default)
else ()
if ("${BITS}" STREQUAL "64")
set(V8_PROC_ARCH "x64")