Skip to content

Commit cf8fb0e

Browse files
committed
CI/Build: Create a debug build for boost.
Signed-off-by: Pascal Spörri <[email protected]>
1 parent 9ebdce4 commit cf8fb0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build-boost.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ source "${ROOT}/DEPENDENCIES"
1313

1414
BUILD_TYPE=${BUILD_TYPE:-Release}
1515

16-
INSTALL_PREFIX=${INSTALL_PREFIX:-"/usr/local/opt/boost-${BOOST_VERSION}"}
16+
if [ "${BUILD_TYPE}" != "Release" ]; then
17+
INSTALL_PREFIX=${INSTALL_PREFIX:-"/usr/local/opt/boost-${BOOST_VERSION}_${BUILD_TYPE}"}
18+
else
19+
INSTALL_PREFIX=${INSTALL_PREFIX:-"/usr/local/opt/boost-${BOOST_VERSION}"}
20+
fi
1721

1822
BUILD_DIR=$(mktemp -d /tmp/boost-${BOOST_VERSION}-build-XXX)
1923
mkdir -p $BUILD_DIR

0 commit comments

Comments
 (0)