We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3469110 commit fb09ef6Copy full SHA for fb09ef6
CMake/HPHPCompiler.cmake
@@ -95,6 +95,8 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQU
95
if (IS_X64)
96
list(APPEND GENERAL_CXX_OPTIONS "march=x86-64-v3")
97
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -march=x86-64-v3")
98
+ elseif (IS_AARCH64)
99
+ list(APPEND GENERAL_CXX_OPTIONS "march=armv8.2-a")
100
endif()
101
102
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang") # using Clang
0 commit comments