Add boost linux clang and refirmat bash

This commit is contained in:
Bassem Girgis
2019-12-15 17:46:11 -06:00
parent 2ed09e7ebd
commit 93b65e3503
7 changed files with 251 additions and 254 deletions

View File

@@ -4,7 +4,7 @@ libVer=3.3.1
echo libVer=$libVer
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
scriptDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
originalPath=$scriptDir/original
buildPath=$scriptDir/build
installPath=$scriptDir/install
@@ -65,23 +65,22 @@ echo
echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
# run the configure command with all build options
( cd $libBuildPath && \
$libSrcPath/configure \
--prefix=$libInstallPath \
--disable-fc \
--disable-f77 \
--disable-fortran \
--disable-cxx \
--enable-fast=all \
MPICHLIB_CFLAGS=$BCFLAGS \
CC=gcc \
CXX=g++ \
2>&1 | tee config.out.txt)
(cd $libBuildPath &&
$libSrcPath/configure \
--prefix=$libInstallPath \
--disable-fc \
--disable-f77 \
--disable-fortran \
--disable-cxx \
--enable-fast=all \
MPICHLIB_CFLAGS=$BCFLAGS \
CC=gcc \
CXX=g++ \
2>&1 | tee config.out.txt)
# clean, build, and install
( cd $libBuildPath && \
make clean)
( cd $libBuildPath && \
make install -j 2>&1 | tee build.out.txt)
(cd $libBuildPath &&
make clean)
(cd $libBuildPath &&
make install -j 2>&1 | tee build.out.txt)