Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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