Skip to content

Conversation

yhmtsai
Copy link
Member

@yhmtsai yhmtsai commented Aug 27, 2025

This PR improves the ginkgo_print_flag information.

Some flags contain build_type specific and common one used by all build type, such as CMAKE_CXX_FLAGS and CMAKE_CXX_FLAGS_RELEASE.

This will print the common flag if it is defined.

@yhmtsai yhmtsai requested a review from a team August 27, 2025 14:30
@yhmtsai yhmtsai self-assigned this Aug 27, 2025
@yhmtsai yhmtsai added the 1:ST:ready-for-review This PR is ready for review label Aug 27, 2025
@ginkgo-bot ginkgo-bot added the reg:build This is related to the build system. label Aug 27, 2025
Comment on lines +67 to +69
if(DEFINED ${var_name})
ginkgo_print_variable(${log_type} ${var_name})
endif()
Copy link
Member Author

Choose a reason for hiding this comment

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

these three lines are the main changes. I swap the function such that ginkgo_print_variable is defined earlier than ginkgo_print_flags

@yhmtsai yhmtsai requested a review from MarcelKoch August 28, 2025 13:58
yhmtsai and others added 2 commits August 28, 2025 20:39
@yhmtsai yhmtsai added 1:ST:ready-to-merge This PR is ready to merge. 1:ST:no-changelog-entry Skip the wiki check for changelog update and removed 1:ST:ready-for-review This PR is ready for review labels Aug 28, 2025
@yhmtsai yhmtsai merged commit 95253eb into develop Aug 29, 2025
18 of 21 checks passed
@yhmtsai yhmtsai deleted the improve_get_info branch August 29, 2025 12:00
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1:ST:no-changelog-entry Skip the wiki check for changelog update 1:ST:ready-to-merge This PR is ready to merge. reg:build This is related to the build system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants