Den 08.02.2025 15:47, skrev Jacques Montier:
Hello everyone,
Is it possible to stop a compilation midway in the case of a very long
compilation and then resume it from the same point without having to
start over from the beginning ?
Thank you for your response.
For the big compiles I set PORTAGE_TMPDIR=/pt/ , which I have created
and which is NOT a tmpfs, so it will survive a reboot (and I don't have
enough ram anyway) . You might also want to check FEATURES, either
globally or on a per-package basis, make sure you don't have fail-clean.
Watch out so your newly permanent tmpdir does not fill up.
Then, if it dies for some reason, I do for example:
<code> ebuild `equery w www-client/firefox ` merge. </code>
make or cmake or whatever will do the best it can to pick up where it
left off.
P.S: Search the web to find out to set FEATURES and PORTAGE_TMPDIR in
the environment on a per-package basis, or just prepend the settings to
your command-line.