set ZT_AES_NEON for arm64

This commit is contained in:
Grant Limberg 2025-09-03 10:08:16 -07:00
parent 0f3a5148b1
commit d31b3a08db
2 changed files with 4 additions and 2 deletions

View file

@ -20,7 +20,7 @@ if(CPU_ARCHITECTURE STREQUAL "x86_64")
-DZT_USE_FAST_X64_ED25519=1
)
elseif(CPU_ARCHITECTURE STREQUAL "aarch64")
add_definitions(-DZT_ARCHITECTURE=4 -DZT_ARCH_ARM_HAS_NEON=1 -DZT_SSO_SUPPORTED=1)
add_definitions(-DZT_ARCHITECTURE=4 -DZT_ARCH_ARM_HAS_NEON=1 -DZT_SSO_SUPPORTED=1 -DZT_AES_NEON=1)
add_compile_options(-march=armv8-a+crypto -mtune=generic -mstrict-align)
endif()
@ -132,4 +132,4 @@ target_link_libraries(zerotier-selftest
Threads::Threads
nlohmann_json::nlohmann_json
prometheus-cpp-lite
Threads::Threads)
Threads::Threads)

View file

@ -1,5 +1,7 @@
#include "BigTableStatusWriter.hpp"
#include "ControllerConfig.hpp"
#include <google/cloud/bigtable/mutations.h>
#include <google/cloud/bigtable/row.h>
#include <google/cloud/bigtable/table.h>