Skip to content

Commit f131f82

Browse files
committed
Add logging diagnostics to nail down the build script failures
1 parent 0ca01e1 commit f131f82

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/build-script-impl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,6 +2409,7 @@ for host in "${ALL_HOSTS[@]}"; do
24092409
LLVM_BIN="$(build_directory_bin ${LOCAL_HOST} llvm)"
24102410

24112411
if [[ "${RECONFIGURE}" || ! -f "${LIBDISPATCH_BUILD_DIR}"/config.status ]]; then
2412+
echo "Reconfiguring libdispatch"
24122413
# First time building; need to run autotools and configure
24132414
if [[ "$LIBDISPATCH_BUILD_TYPE" == "Release" ]] ; then
24142415
dispatch_build_variant_arg="release"
@@ -2418,14 +2419,16 @@ for host in "${ALL_HOSTS[@]}"; do
24182419
dispatch_build_variant_arg="debug"
24192420
fi
24202421
call mkdir -p "${LIBDISPATCH_BUILD_DIR}"
2422+
echo `which autoreconf`
24212423
with_pushd "${LIBDISPATCH_SOURCE_DIR}" \
24222424
call autoreconf -fvi
24232425
with_pushd "${LIBDISPATCH_BUILD_DIR}" \
24242426
call env CC="${LLVM_BIN}/clang" CXX="${LLVM_BIN}/clang++" SWIFTC="${SWIFTC_BIN}" \
24252427
"${LIBDISPATCH_SOURCE_DIR}"/configure --with-swift-toolchain="${SWIFT_BUILD_PATH}" \
24262428
--with-build-variant=$dispatch_build_variant_arg \
24272429
--prefix="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})"
2428-
2430+
else
2431+
echo "Skipping reconfiguration of libdispatch"
24292432
fi
24302433
with_pushd "${LIBDISPATCH_BUILD_DIR}" \
24312434
call make

0 commit comments

Comments
 (0)