mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 18:59:26 +02:00
Just an small experiment
This commit is contained in:
parent
3725b4d46d
commit
81f396e70b
1 changed files with 18 additions and 5 deletions
|
|
@ -339,13 +339,26 @@ if (CXX_GCC OR CXX_CLANG)
|
||||||
endif()
|
endif()
|
||||||
elseif(ARCHITECTURE_arm64)
|
elseif(ARCHITECTURE_arm64)
|
||||||
# See https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
|
# See https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
|
||||||
set(YUZU_BUILD_PRESET "custom" CACHE STRING "Build preset to use. One of: custom, generic, armv9, native")
|
|
||||||
set(mtune generic)
|
set(mtune generic)
|
||||||
|
set(armv8_2_target armv8.2-a+fp16+dotprod)
|
||||||
|
|
||||||
if (${YUZU_BUILD_PRESET} STREQUAL "generic")
|
if (ANDROID)
|
||||||
set(march armv8-a)
|
set(YUZU_BUILD_PRESET "custom" CACHE STRING "Build preset to use. One of: custom, armv8.2, armv9, native")
|
||||||
elseif (${YUZU_BUILD_PRESET} STREQUAL "armv9")
|
set(march ${armv8_2_target})
|
||||||
set(march armv9-a)
|
|
||||||
|
if (${YUZU_BUILD_PRESET} STREQUAL "armv9")
|
||||||
|
set(march armv9-a)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(YUZU_BUILD_PRESET "custom" CACHE STRING "Build preset to use. One of: custom, generic, armv8.2, armv9, native")
|
||||||
|
|
||||||
|
if (${YUZU_BUILD_PRESET} STREQUAL "generic")
|
||||||
|
set(march armv8-a)
|
||||||
|
elseif (${YUZU_BUILD_PRESET} STREQUAL "armv8.2")
|
||||||
|
set(march ${armv8_2_target})
|
||||||
|
elseif (${YUZU_BUILD_PRESET} STREQUAL "armv9")
|
||||||
|
set(march armv9-a)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue