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

Move CMake code for building multilib and variants to subprojects #562

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

dcandler
Copy link
Collaborator

This patch restructures the top-level CMake script in order to split building the library variants into a separate CMake project. This better encapsulates the code to build the variants, and untethers it from the toolchain builds so that libraries can be developed and tested without having the rebuild the entire toolchain.

Similarly, a new subproject has been created to build a multilib set of library variants, using a selected C library. A simple JSON format has been used to define the flags and variants, which are then built and collected into the appropriate layout.

This patch restructures the top-level CMake script in order to split
building the library variants into a separate CMake project. This
better encapsulates the code to build the variants, and untethers it
from the toolchain builds so that libraries can be developed and
tested without having the rebuild the entire toolchain.

Similarly, a new subproject has been created to build a multilib set
of library variants, using a selected C library. A simple JSON format
has been used to define the flags and variants, which are then built
and collected into the appropriate layout.
@dcandler dcandler requested a review from statham-arm November 18, 2024 09:58
Copy link
Collaborator

@statham-arm statham-arm left a comment

Choose a reason for hiding this comment

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

LGTM this time, thanks!

@dcandler dcandler merged commit 4f3243f into ARM-software:main Nov 18, 2024
1 check passed
@dcandler dcandler deleted the lib_cmake branch November 18, 2024 15:02
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