Skip to content

Commit

Permalink
disable warnings for benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
franziskuskiefer committed Oct 5, 2023
1 parent 31cac37 commit 90f97e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,8 @@ if(NOT MSVC)
-Wall
-Wextra
-pedantic
-Wconversion
-Wsign-conversion
# -Werror=gcc-compat
# -Wconversion
# -Wsign-conversion
$<$<CONFIG:DEBUG>:-g>
$<$<CONFIG:DEBUG>:-Og>
$<$<CONFIG:RELEASE>:-O3>
Expand Down Expand Up @@ -335,6 +334,9 @@ configure_file(config/Config.h.in config.h)
# Now combine everything into the hacl library
# # Dynamic library
add_library(hacl SHARED ${SOURCES_std} ${VALE_OBJECTS})
if(NOT MSVC)
target_compile_options(hacl PRIVATE -Wsign-conversion -Wconversion)
endif()

if(TOOLCHAIN_CAN_COMPILE_VEC128 AND HACL_VEC128_O)
add_dependencies(hacl hacl_vec128)
Expand Down

0 comments on commit 90f97e7

Please sign in to comment.