mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-24 10:51:57 +02:00
guix: Make V=1 more powerful for debugging
- Print commands in both unexpanded and expanded forms - Set VERBOSE=1 for CMake
This commit is contained in:
parent
e45fb7e0d2
commit
85f4a4b082
@ -3,6 +3,14 @@ export LC_ALL=C
|
|||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
|
|
||||||
|
if [ -n "$V" ]; then
|
||||||
|
# Print both unexpanded (-v) and expanded (-x) forms of commands as they are
|
||||||
|
# read from this file.
|
||||||
|
set -vx
|
||||||
|
# Set VERBOSE for CMake-based builds
|
||||||
|
export VERBOSE="$V"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check that environment variables assumed to be set by the environment are set
|
# Check that environment variables assumed to be set by the environment are set
|
||||||
echo "Building for platform triple ${HOST:?not set} with reference timestamp ${SOURCE_DATE_EPOCH:?not set}..."
|
echo "Building for platform triple ${HOST:?not set} with reference timestamp ${SOURCE_DATE_EPOCH:?not set}..."
|
||||||
echo "At most ${MAX_JOBS:?not set} jobs will run at once..."
|
echo "At most ${MAX_JOBS:?not set} jobs will run at once..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user