Skip to content

Commit

Permalink
Add diagnostic output for b2 and exception test prog builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-goodspeed committed Nov 21, 2024
1 parent 4482c4b commit 9e28593
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,11 @@ case "$AUTOBUILD_PLATFORM" in
"-sZLIB_LIBRARY_PATH=$ZLIB_RELEASE_PATH"
"-sZLIB_NAME=zlib")
sep "build"
set -x
"${bjam}" link=static variant=release context-impl=winfib \
--prefix="$(native "${stage}")" --libdir="$(native "${stage_release}")" \
"${RELEASE_BJAM_OPTIONS[@]}" $BOOST_BUILD_SPAM stage
set +x

# Constraining Windows unit tests to link=static produces unit-test
# link errors. While it may be possible to edit the test/Jamfile.v2
Expand Down Expand Up @@ -353,6 +355,7 @@ fi # =========================================================================
testo="$TEMP/$btest.obj"
testx="$TEMP/$btest.exe"
sep "$btest"
set -x
if cl \
/DBOOST_USE_WINFIB \
/EHsc /I. /Fo"$(native "$testo")" /Fe"$(native "$testx")" "$(native "$test")" \
Expand All @@ -361,6 +364,7 @@ fi # =========================================================================
"$testx"
rm "$testo" "$testx"
fi
set +x
done

sep "version"
Expand Down

0 comments on commit 9e28593

Please sign in to comment.