Skip to content

Commit

Permalink
More CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 committed Aug 1, 2023
1 parent d8189cb commit ca1cca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ if(NOT SNMALLOC_HEADER_ONLY_LIBRARY)
target_compile_options(${name} PRIVATE
-fomit-frame-pointer -ffunction-sections)

check_cxx_compiler_flag(-mprfchw SUPPORT_PREFETCH_WRITE)
check_cxx_compiler_flag("-Werror -Wextra -Wall -mprfchw" SUPPORT_PREFETCH_WRITE)
if (SUPPORT_PREFETCH_WRITE)
target_compile_options(${name} PRIVATE -mprfchw)
endif()
Expand Down

0 comments on commit ca1cca6

Please sign in to comment.