Skip to content

Commit b77678e

Browse files
phausleritaiferber
authored andcommitted
Add logging diagnostics to nail down the build script failures
1 parent 192f68f commit b77678e

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
@@ -2391,6 +2391,7 @@ for host in "${ALL_HOSTS[@]}"; do
23912391
LLVM_BIN="$(build_directory_bin ${LOCAL_HOST} llvm)"
23922392

23932393
if [[ "${RECONFIGURE}" || ! -f "${LIBDISPATCH_BUILD_DIR}"/config.status ]]; then
2394+
echo "Reconfiguring libdispatch"
23942395
# First time building; need to run autotools and configure
23952396
if [[ "$LIBDISPATCH_BUILD_TYPE" == "Release" ]] ; then
23962397
dispatch_build_variant_arg="release"
@@ -2400,14 +2401,16 @@ for host in "${ALL_HOSTS[@]}"; do
24002401
dispatch_build_variant_arg="debug"
24012402
fi
24022403
call mkdir -p "${LIBDISPATCH_BUILD_DIR}"
2404+
echo `which autoreconf`
24032405
with_pushd "${LIBDISPATCH_SOURCE_DIR}" \
24042406
call autoreconf -fvi
24052407
with_pushd "${LIBDISPATCH_BUILD_DIR}" \
24062408
call env CC="${LLVM_BIN}/clang" CXX="${LLVM_BIN}/clang++" SWIFTC="${SWIFTC_BIN}" \
24072409
"${LIBDISPATCH_SOURCE_DIR}"/configure --with-swift-toolchain="${SWIFT_BUILD_PATH}" \
24082410
--with-build-variant=$dispatch_build_variant_arg \
24092411
--prefix="$(get_host_install_destdir ${host})$(get_host_install_prefix ${host})"
2410-
2412+
else
2413+
echo "Skipping reconfiguration of libdispatch"
24112414
fi
24122415
with_pushd "${LIBDISPATCH_BUILD_DIR}" \
24132416
call make

0 commit comments

Comments
 (0)