From: Quentin Cozette Date: Mon, 26 Apr 2021 16:45:02 +0000 (+0200) Subject: Add a dedicated script to build boost 1.71.0 (b2 binary instead of bjam) X-Git-Tag: V9_7_0~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9569cf5b354674bcf11e174225b1ee06f6b40234;p=tools%2Fsat_salome.git Add a dedicated script to build boost 1.71.0 (b2 binary instead of bjam) --- 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"