...
 
Commits (4)
......@@ -10,10 +10,10 @@ declare -a OTB_RECIPES=(
040-build-gcc
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
......
......@@ -10,12 +10,13 @@ declare -a OTB_RECIPES=(
040-build-gcc
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
......@@ -10,12 +10,13 @@ declare -a OTB_RECIPES=(
040-build-gcc
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
......@@ -10,12 +10,13 @@ declare -a OTB_RECIPES=(
040-build-gcc
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
......@@ -10,12 +10,13 @@ declare -a OTB_RECIPES=(
040-build-gcc
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
export OTB_TOOLSET=clang
export OTB_MPI=openmpi
#export MACOSX_DEPLOYMENT_TARGET=10.14
export OTB_COMPILER_VERSION=$(clang --version | head -1)
export OTB_MPI=mpich
declare -a OTB_RECIPES=(
050-build-cmake
......
export OTB_TOOLSET=clang
export OTB_COMPILER_VERSION=$(clang --version | head -1)
export OTB_MPI=openmpi
export OTB_MPI_VERSION=3.1.6
#export MACOSX_DEPLOYMENT_TARGET=10.14
declare -a OTB_RECIPES=(
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
......
export OTB_TOOLSET=gcc
export OTB_COMPILER_VERSION=gcc-mp-7
export OTB_MPI=openmpi
export OTB_MPI_VERSION=3.1.6
declare -a OTB_RECIPES=(
050-build-cmake
060-build-openmpi
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
declare -A OTB_SYMLINKS
OTB_SYMLINKS['bin/cc']="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS['bin/gcc']="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS['bin/c++']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS['bin/g++']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS['bin/gfortran']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/gfortran}"
export OTB_TOOLSET=gcc
export OTB_COMPILER_VERSION=gcc-mp-8
export OTB_MPI=openmpi
export OTB_MPI_VERSION=3.1.6
declare -a OTB_RECIPES=(
050-build-cmake
060-build-openmpi
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
declare -A OTB_SYMLINKS
OTB_SYMLINKS['bin/cc']="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS['bin/gcc']="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS['bin/c++']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS['bin/g++']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS['bin/gfortran']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/gfortran}"
export OTB_TOOLSET=gcc
export OTB_COMPILER_VERSION=gcc-mp-8
export OTB_MPI=openmpi
export OTB_MPI_VERSION=3.1.6
declare -a OTB_RECIPES=(
050-build-cmake
060-build-openmpi
070-build-hdf5
080-build-gsl
090-build-h5hut
100-build-zlib
070-build-zlib
080-build-hdf5
090-build-gsl
100-build-h5hut
110-build-boost
200-build-parmetis
210-build-openblas
220-build-trilinos
230-build-amrex
300-build-gtest)
declare -A OTB_SYMLINKS
OTB_SYMLINKS['cc']='/opt/local/bin/gcc-mp-9'
OTB_SYMLINKS['c++']='/opt/local/bin/g++-mp-9'
OTB_SYMLINKS['gcc']='/opt/local/bin/gcc-mp-9'
OTB_SYMLINKS['g++']='/opt/local/bin/g++-mp-9'
OTB_SYMLINKS['gfortran']='/opt/local/bin/gfortran-mp-9'
OTB_SYMLINKS['bin/cc']="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS['bin/gcc']="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS['bin/c++']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS['bin/g++']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS['bin/gfortran']="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/gfortran}"
......@@ -168,7 +168,7 @@ mkdir -p "${OTB_PREFIX}/bin" "${OTB_PREFIX}/lib" "${OTB_DOWNLOAD_DIR}" "${OTB_SR
|| return ${OTB_ERR_SETUP}
for link_name in "${!OTB_SYMLINKS[@]}"; do
ln -fs "${OTB_SYMLINKS[${link_name}]}" "$OTB_PREFIX/bin/${link_name}"
ln -fs "${OTB_SYMLINKS[${link_name}]}" "${OTB_PREFIX}/${link_name}"
done
if [[ "$(uname -s)" == "Linux" ]]; then
......