]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Add a dedicated script to build boost 1.71.0 (b2 binary instead of bjam)
authorQuentin Cozette <quentin.cozette@cea.fr>
Mon, 26 Apr 2021 16:45:02 +0000 (18:45 +0200)
committerQuentin Cozette <quentin.cozette@cea.fr>
Mon, 26 Apr 2021 16:45:02 +0000 (18:45 +0200)
products/boost.pyconf
products/compil_scripts/boost-1.71.0.sh [new file with mode: 0755]

index b98aa622f8c84d2f42f30542ff004701bf87b489..a191dd26018b3b5f78820fb5b1f3a0713f2300c2 100644 (file)
@@ -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 (executable)
index 0000000..ba5aace
--- /dev/null
@@ -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"