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

strip out build tools like cmake, ninja, meson after bootstrapping Prefix for compat layer #139

Open
boegel opened this issue Nov 27, 2021 · 1 comment
Labels
change Change to be made

Comments

@boegel
Copy link
Contributor

boegel commented Nov 27, 2021

We currently have several packages for build tools installed in the compat layer that we don't really want/need there, including dev-util/cmake, dev-util/meson, dev-util/ninja (possibly others too).

EasyBuild will install these tools as build dependencies in the software layer when they are needed, because the specific version being used may matter (I recall several cases where an older CMake version had to be used because of bugs/changes/regressions in more recent versions, for example).

I took a quick look at emerge --depclean for this, but it seems like build tools wouldn't be removed with this (see output produced by emerge --depclean --pretend).

@amadio: Any idea if there's an easy way to strip out all packages that were only installed because they are a build dependency for other packages?

@boegel boegel added the change Change to be made label Nov 27, 2021
@amadio
Copy link

amadio commented Nov 27, 2021

As with linux-headers the easy way to check what's holding off removal is to pretend to remove the package with something like emerge -pvc cmake, for example. It could be that some package erroneously lists CMake or other build tool as runtime dependency, in which case you should file a bug, but Gentoo being a source distro, some of these tools are probably part of the system set. Just be careful with what you remove, because you can make it quite hard to update the system later if you remove things from system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Change to be made
Projects
Status: No status
Development

No branches or pull requests

2 participants