1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 21:31:15 +02:00

Add OpenBSD Arm64 support (#367)

This commit is contained in:
Brad Smith
2024-11-08 05:14:32 -05:00
committed by GitHub
parent 7a8174a371
commit aabbd16864
9 changed files with 31 additions and 24 deletions

View File

@ -25,7 +25,7 @@ target_link_libraries(stack_line_reader_for_test string_view filesystem_for_test
add_library(all_libraries
../src/hwcaps.c
../src/hwcaps_linux_or_android.c
../src/hwcaps_freebsd.c
../src/hwcaps_freebsd_or_openbsd.c
../src/stack_line_reader.c)
target_link_libraries(all_libraries hwcaps_for_testing stack_line_reader string_view)
@ -81,7 +81,7 @@ if(PROCESSOR_IS_AARCH64)
../src/impl_aarch64_linux_or_android.c
../src/impl_aarch64_windows.c
../src/impl_aarch64_macos_or_iphone.c
../src/impl_aarch64_freebsd.c
../src/impl_aarch64_freebsd_or_openbsd.c
)
if(APPLE)
target_compile_definitions(cpuinfo_aarch64_test PUBLIC CPU_FEATURES_MOCK_SYSCTL_AARCH64)