Add boost linux clang and refirmat bash
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user