0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

guix: Update hint messages to mention guix-clean

This commit is contained in:
Carl Dong 2021-03-02 17:26:56 -05:00
parent 44f6d4f56b
commit 8f8b96fb54

View file

@ -103,6 +103,14 @@ ERR: Build directories for this commit already exist for the following platform
Aborting... Aborting...
Hint: To blow everything away, you may want to use:
$ ./contrib/guix/guix-clean
Specifically, this will remove all files without an entry in the index,
excluding the SDK directory, the depends download cache, the depends built
packages cache, the garbage collector roots for Guix environments, and the
output directory.
EOF EOF
for host in $hosts_distsrc_exists; do for host in $hosts_distsrc_exists; do
echo " ${host} '$(distsrc_for_host "$host")'" echo " ${host} '$(distsrc_for_host "$host")'"
@ -277,15 +285,16 @@ outdir_for_host() {
int_trap() { int_trap() {
cat << EOF cat << EOF
** INT received while building ${1}, you may want to clean up the relevant ** INT received while building ${1}, you may want to clean up the relevant
output, deploy, and distsrc-* directories before rebuilding work directories (e.g. distsrc-*) before rebuilding
Hint: To blow everything away, you may want to use: Hint: To blow everything away, you may want to use:
$ git clean -xdff --exclude='/depends/SDKs/*' $ ./contrib/guix/guix-clean
Specifically, this will remove all files without an entry in the index, Specifically, this will remove all files without an entry in the index,
excluding the SDK directory. Practically speaking, this means that all ignored excluding the SDK directory, the depends download cache, the depends built
and untracked files and directories will be wiped, allowing you to start anew. packages cache, the garbage collector roots for Guix environments, and the
output directory.
EOF EOF
} }