File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,19 @@ for host in $HOSTS; do
172
172
# for the particular $HOST we're building for
173
173
export HOST=" $host "
174
174
175
+ # shellcheck disable=SC2030
176
+ cat << EOF
177
+ INFO: Building commit ${GIT_COMMIT:? not set} for platform triple ${HOST:? not set} :
178
+ ...using reference timestamp: ${SOURCE_DATE_EPOCH:? not set}
179
+ ...running at most ${MAX_JOBS:? not set} jobs
180
+ ...from worktree directory: '${PWD} '
181
+ ...bind-mounted in container to: '/bitcoin'
182
+ ...in build directory: '$( distsrc_for_host " $HOST " ) '
183
+ ...bind-mounted in container to: '$( DISTSRC_BASE=/distsrc-base && distsrc_for_host " $HOST " ) '
184
+ ...outputting in: '${OUTDIR:? not set} '
185
+ ...bind-mounted in container to: '/outdir'
186
+ EOF
187
+
175
188
# Run the build script 'contrib/guix/libexec/build.sh' in the build
176
189
# container specified by 'contrib/guix/manifest.scm'.
177
190
#
Original file line number Diff line number Diff line change @@ -11,9 +11,15 @@ if [ -n "$V" ]; then
11
11
export VERBOSE=" $V "
12
12
fi
13
13
14
- # Check that environment variables assumed to be set by the environment are set
15
- echo " Building for platform triple ${HOST:? not set} with reference timestamp ${SOURCE_DATE_EPOCH:? not set} ..."
16
- echo " At most ${MAX_JOBS:? not set} jobs will run at once..."
14
+ # Check that required environment variables are set
15
+ cat << EOF
16
+ Required environment variables as seen inside the container:
17
+ HOST: ${HOST:? not set}
18
+ SOURCE_DATE_EPOCH: ${SOURCE_DATE_EPOCH:? not set}
19
+ MAX_JOBS: ${MAX_JOBS:? not set}
20
+ DISTSRC: ${DISTSRC:? not set}
21
+ OUTDIR: ${OUTDIR:? not set}
22
+ EOF
17
23
18
24
# ####################
19
25
# Environment Setup #
You can’t perform that action at this time.
0 commit comments