From 9569cf5b354674bcf11e174225b1ee06f6b40234 Mon Sep 17 00:00:00 2001 From: Quentin Cozette Date: Mon, 26 Apr 2021 18:45:02 +0200 Subject: [PATCH] Add a dedicated script to build boost 1.71.0 (b2 binary instead of bjam) --- products/boost.pyconf | 5 ++++ products/compil_scripts/boost-1.71.0.sh | 31 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100755 products/compil_scripts/boost-1.71.0.sh diff --git a/products/boost.pyconf b/products/boost.pyconf index b98aa62..a191dd2 100644 --- a/products/boost.pyconf +++ b/products/boost.pyconf @@ -33,6 +33,11 @@ default_win : archive_info : {archive_name : "boost-" + $APPLICATION.products.boost + "_windows.tar.gz"} } +version_1_71_0 : +{ + compil_script : "boost-1.71.0.sh" +} + version_1_52_0 : { patches : diff --git a/products/compil_scripts/boost-1.71.0.sh b/products/compil_scripts/boost-1.71.0.sh new file mode 100755 index 0000000..ba5aace --- /dev/null +++ b/products/compil_scripts/boost-1.71.0.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +echo "##########################################################################" +echo "BOOST" $VERSION +echo "##########################################################################" + + + +cd $SOURCE_DIR + +echo +echo "*** bootstrap.sh" +./bootstrap.sh --prefix=$PRODUCT_INSTALL +if [ $? -ne 0 ] +then + echo "ERROR on bootstrap" + exit 1 +fi + +echo "*** b2 ${MAKE_OPTIONS} install" + +./b2 ${MAKE_OPTIONS} install + +if [ $? -ne 0 ] +then + echo "ERROR on b2 install" + exit 3 +fi + +echo +echo "########## END" -- 2.39.2