From 96c98055de71684f81ffd548a9322c7ddb590bd9 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Fri, 3 Jan 2020 17:42:14 +0100 Subject: [PATCH] ARM64 build Note that the build may fail to run with "illegal instruction"; to check --- src/external/atomic_queue/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/atomic_queue/defs.h b/src/external/atomic_queue/defs.h index 0e031850..7f7d3ada 100644 --- a/src/external/atomic_queue/defs.h +++ b/src/external/atomic_queue/defs.h @@ -14,7 +14,7 @@ static inline void spin_loop_pause() noexcept { _mm_pause(); } } // namespace atomic_queue -#elif defined(__arm__) +#elif defined(__arm__) || defined(__aarch64__) // TODO: These need to be verified as I do not have access to ARM platform. namespace atomic_queue { constexpr int CACHE_LINE_SIZE = 64;