Skip to content

[ATfL] Gradually retire the ability to pass COMMON_CMAKE_FLAGS from the outside#860

Open
pawosm-arm wants to merge 1 commit into
arm-softwarefrom
users/pawosm-arm/atfl-no-common-cmake-flags
Open

[ATfL] Gradually retire the ability to pass COMMON_CMAKE_FLAGS from the outside#860
pawosm-arm wants to merge 1 commit into
arm-softwarefrom
users/pawosm-arm/atfl-no-common-cmake-flags

Conversation

@pawosm-arm
Copy link
Copy Markdown
Contributor

No description provided.

@pawosm-arm pawosm-arm requested a review from a team as a code owner May 26, 2026 13:23
@pawosm-arm pawosm-arm requested a review from amilendra May 28, 2026 17:18
## Configuration: Build ##
##########################

if [[ -n "${COMMON_CMAKE_FLAGS}" ]]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The commit message says "gradually retire". So shouldn't we first emit a message of deprecation, continue without exiting and then completely remove it in a future release?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We never recommended to use it in the first place, and I don't remember what circumstances allowed this feature to appear here. The 'gradual retire' effectively means we're looking if something is going to fail (showing the error message) after we introduce this commit.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Looking at the log:

This will allow us to tweak the CMake configuration.

I can't remember which part of the CMake configuration we wanted to tweak using this hammer, I guess we were facing some problem, and this was one of the measures to address it. I have no idea if this has found any use in our CI, I hope it hasn't.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants