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

build-style/cmake: only look into masterdir libraries #26039

Merged
merged 1 commit into from
Nov 1, 2020

Conversation

sgn
Copy link
Member

@sgn sgn commented Nov 1, 2020

As of it's now, cmake will look into host's libraries, thus
bootstrapping will fail at ccache if host system doesn't have
libzstd-devel installed.

As of it's now, cmake will look into host's libraries, thus
bootstrapping will fail at ccache if host system doesn't have
libzstd-devel installed.
@sgn sgn force-pushed the bootstrap-cmake-build-style branch from 7410f6f to f7cc827 Compare November 1, 2020 12:41
@sgn sgn requested a review from Johnnynator November 1, 2020 12:44
@sgn
Copy link
Member Author

sgn commented Nov 1, 2020

Add John since John frequently touches cmake stuff

@pullmoll
Copy link
Member

pullmoll commented Nov 1, 2020

I'm not too acquainted with cmake thus I can only tell that to me it makes sense to not have cmake-bootstrap look at the host headers and libraries before the chroot is ready. At least I think this is what this PR does.

@Johnnynator
Copy link
Member

Only because I touch cmake stuff frequently, doesn't mean that I'm experienced in that mess. It looks fine on first glance, and since it is dependent on CHROOT_READY not being set, it won't break anything actively even if it is wrong (which it doesn't look like).

@q66
Copy link
Contributor

q66 commented Nov 1, 2020

i don't see this breaking anything, even potentially, considering cmake-bootstrap is used in exactly one case...

@q66 q66 merged commit 3c1727c into void-linux:master Nov 1, 2020
@sgn sgn deleted the bootstrap-cmake-build-style branch December 7, 2020 00:03
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2021
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.

4 participants