Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

circuits and cmake update #83 #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ macro(define_transpiler_test name)
)
add_dependencies(compile_and_run_transpiler_tests transpiler_${name}_test_run)

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(transpiler_${name}_test PRIVATE "-fconstexpr-steps=2147483647")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(transpiler_${name}_test PRIVATE "-fconstexpr-ops-limit=4294967295")
endif()

endmacro()

set(TESTS_NAMES
Expand Down
Loading