File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ endforeach()
2828if (CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "aarch64" )
2929 message (STATUS "Enabling Arm Performance Libraries integration" )
3030 include (${root} /cmake/aarch64InstructionFlags.cmake)
31- add_compile_definitions (BENCHMARK =arm64)
31+ add_compile_definitions (BENCHMARK_ARCH =arm64)
3232
3333else ()
3434 include (${root} /cmake/x86_64InstructionFlags.cmake)
35- add_compile_definitions (BENCHMARK =x86_64)
35+ add_compile_definitions (BENCHMARK_ARCH =x86_64)
3636endif ()
3737
3838# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Original file line number Diff line number Diff line change 2828#define CONCAT_WITH_UNDERSCORE (...) \
2929 EXPAND2(CONCAT(BM_FUNC_NAME_HELPER, EXPAND2(COUNT_ARGS(__VA_ARGS__)))(__VA_ARGS__))
3030
31- #if defined(CPU_FEATURES_ARCH_X86_64 )
32- #define BENCHMARK_ARCH x86_64
33- #elif defined(CPU_FEATURES_ARCH_AARCH64 )
34- #if defined(OPT_ARMV9 )
35- #define BENCHMARK_ARCH arm_v9
36- #else
37- #define BENCHMARK_ARCH arm_v8
38- #endif
39- #else
40- #define BENCHMARK_ARCH arm
41- #endif
42-
4331// Modify this macro to account for the extra BENCHMARK_ARCH parameter
4432#define CONCAT_WITH_UNDERSCORE_ARCH (...) CONCAT_WITH_UNDERSCORE(__VA_ARGS__, BENCHMARK_ARCH)
You can’t perform that action at this time.
0 commit comments