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

meta: only check for the C++ compiler when needed #6

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

no92
Copy link
Member

@no92 no92 commented Jun 1, 2024

This avoids the check when it is unnecessary, as that might be unwanted in some cases. For instance, using subproject("bragi") would trigger the check, even if the intent is only to get the dependency to pull in the support headers, where no compiler is necessary. This becomes relevant when building mlibc-headers, as that is required for building a cross-gcc, and as such has no cross-gcc available.

This avoids the check when it is unnecessary, as that might be unwanted
in some cases. For instance, using `subproject("bragi")` would trigger
the check, even if the intent is only to get the dependency to pull in
the support headers, where no compiler is necessary. This becomes
relevant when building `mlibc-headers`, as that is required for building
a cross-gcc, and as such has no cross-gcc available.
Copy link
Member

@Dennisbonke Dennisbonke left a comment

Choose a reason for hiding this comment

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

LGTM

@avdgrinten avdgrinten merged commit 3a683bf into managarm:master Jun 1, 2024
1 check passed
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.

4 participants