Skip to content
Snippets Groups Projects
Commit 9119935f authored by Scott Mindock's avatar Scott Mindock
Browse files

where

parent 6d605bc7
No related branches found
No related tags found
No related merge requests found
Pipeline #51020 passed with warnings
......@@ -463,22 +463,29 @@ where()
return 0
}
mk_hl_region()
{
echo ${FUNCNAME[0]}
rm -fr ${BUILD}/hdf5_HL* && \
tar_name=hdf5_HL_REGION-1.1.5.tar && \
install_the_source $tar_name && \
export HDF5_INSTALL_DIR=${USER_COTS_PATH} && \
export CPPFLAGS="-I${USER_COTS_PATH}/include" && \
export LDFLAGS="-L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib" && \
cd ${BUILD}/hdf5_HL* && \
linc=`pwd` && \
make clean && \
make CC=$CC INCLUDES="$CPPFLAGS -I$linc/src $LDFLAGS -lhdf5 -lhdf5_hl -lm" && \
make PREFIX=${USER_COTS_PATH} install && \
echo "${FUNCNAME[0]} finished" && \
return 0
}
nagg(){
echo "${FUNCNAME[0]}"
export CPPFLAGS="-I${USER_COTS_PATH}/include" && \
export LDFLAGS=" -static -L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib" && \
export LIBS="-lhdf5"
cd ${BUILD}
tar_name=hdf5_HL_REGION-1.1.5.tar.gz
rm -fr ${BUILD}/hdf5_HL_REGION*
install_the_source ${tar_name} && \
cd hdf5_HL_REGION* && \
export HDF5_INSTALL_DIR=${USER_COTS_PATH}/lib && \
export LDFLAGS=" -static -L${USER_COTS_PATH}/lib " && \
export CPPFLAGS=" -I${USER_COTS_PATH}/include "${CPPFLAGS}
export LIBS="-L${USER_COTS_PATH}/lib -lhdf5"
ls ${USER_COTS_PATH}/lib
make
make install
cd ${BUILD} && \
tar_name=nagg-1.6.2.tar.gz && \
rm -fr ${BUILD}/nagg* && \
......@@ -491,7 +498,7 @@ nagg(){
patch -p1 < ${COTS_HOME}/scripts/revised_nagg.patch && \
./configure --help
./configure --prefix=${USER_COTS_PATH} --exec-prefix=${USER_COTS_PATH} --with-hlregion=${USER_COTS_PATH}/lib && \
./configure --prefix=${USER_COTS_PATH} --exec-prefix="${USER_COTS_PATH}" --with-hlregion="${USER_COTS_PATH}/lib" CPPFLAGS="-I${USER_COTS_PATH}/include" LDFLAGS=" -static -L${USER_COTS_PATH}/lib64 -L${USER_COTS_PATH}/lib" LIBS="-lhdf5" && \
make && \
make install && \
ls ${USER_COTS_PATH}/bin
......@@ -623,6 +630,7 @@ all()
mk_cminpak && \
mk_proto && \
where && \
mk_hl_region && \
nagg && \
fix_links && \
echo "COTS Built" && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment