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

add macro for modular_adaptor test #69

Merged
merged 6 commits into from
May 8, 2024

Conversation

AndreyMlashkin
Copy link
Contributor

No description provided.

@AndreyMlashkin
Copy link
Contributor Author

closes #62

Comment on lines 20 to 22
uses: NilFoundation/ci-cd/.github/workflows/reusable-handle-syncwith.yml@v1.2.0
with:
ci-cd-ref: 'v1.2.0'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v1.2.1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Comment on lines 468 to 473
set_target_properties(${test_name} PROPERTIES CXX_STANDARD 17)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(${test_name} PRIVATE "-fconstexpr-steps=2147483647")
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(${test_name} PRIVATE "-fconstexpr-ops-limit=4294967295")
endif()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already set in define_runtime_multiprecision_test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, thank you

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: You moved the set_version.yml, but removed/created all other workflows. Better to keep smaller diff

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it a big problem? I don't see anything repo-specific in set_version, I guess it is safe to add

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside: I see, that naming as some_name_test.cpp is enforced by CMake define_runtime_multiprecision_test func, let's remove _test postfix someday though. It is obvious there are tests inside test dir

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed _test suffix

@AndreyMlashkin AndreyMlashkin force-pushed the add-modular_adaptor_test branch from f261741 to 0aa6b68 Compare May 8, 2024 11:52
@AndreyMlashkin AndreyMlashkin merged commit 2957e4e into master May 8, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants