mkdir -p ${UNPACK_PATH}
mkdir -p ${BUILD_PATH}
mkdir -p ${INSTALL_PATH}
-mkdir -p ${INSTALL_PATH}/lib
ORIG_INSTALL_PATH=${INSTALL_PATH}
ORIG_PROCS=${PROCS}
package_specific_install () { true; }
package_specific_register () { true; }
package_specific_conf() { true; }
-
+
# Fetch information pertinent to the package
source ${PROJECT}/packages/${PACKAGE}.package
echo
echo "Summary of timings:"
echo -e "$TIMINGS"
-
CHECKSUM=51528a0e3b33d9e10aaa311d9eb451e3
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_build () {
cp -rf ${UNPACK_PATH}/${NAME}/* .
- ./bootstrap.sh --prefix=${INSTALL_PATH}/${NAME}
+ ./bootstrap.sh --prefix=${INSTALL_PATH}
echo "using mpi ;" > user-config.jam
./b2 -j ${PROCS} --user-config=user-config.jam --build-dir=candi_build_dir link=shared install ${CONFOPTS}
}
package_specific_register () {
- export BOOST_ROOT=${INSTALL_PATH}/${NAME}
- export BOOST_INCLUDEDIR=${INSTALL_PATH}/${NAME}/include
- export BOOST_LIBRARYDIR=${INSTALL_PATH}/${NAME}/lib
+ export BOOST_ROOT=${INSTALL_PATH}
+ export BOOST_INCLUDEDIR=${INSTALL_PATH}/include
+ export BOOST_LIBRARYDIR=${INSTALL_PATH}/lib
export BOOST_USE_MULTITHREADED=OFF
}
NAME=bzip2-1.0.6
SOURCE=http://www.bzip.org/1.0.6/
PACKING=.tar.gz
-DOWNLOADER=curl
CHECKSUM=00b516f4704d4a7cb50a1d97e6e8e15b
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_build () {
cp -rf ${UNPACK_PATH}/${NAME}/* .
-
- # patch the Makefile
+
+ # patch the Makefile
patch -p1 --forward < ${ORIG_DIR}/${PROJECT}/patches/bzip2-1.0.6.patch || true
# compile bzip2
}
package_specific_register () {
- export BZIP2_INCLUDE=${INSTALL_PATH}/${NAME}/include
- export BZIP2_LIBPATH=${INSTALL_PATH}/${NAME}/lib
+ export BZIP2_INCLUDE=${INSTALL_PATH}/include
+ export BZIP2_LIBPATH=${INSTALL_PATH}/lib
}
NAME=cmake-${VERSION}
SOURCE=https://cmake.org/files/v3.4/
PACKING=.tar.gz
+CHECKSUM=511db6fe363aa323905e1c06f7b22425
BUILDCHAIN=custom
-CHECKSUM=511db6fe363aa323905e1c06f7b22425
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
package_specific_build () {
cp -rf ${UNPACK_PATH}/${NAME}/* ${INSTALL_PATH}/
package_specific_register () {
export PATH=${INSTALL_PATH}/bin:${PATH}
}
-
NAME=dealii-prepare
BUILDCHAIN=ignore
-#########################################################################
-# Install third-party libraries in opt
-INSTALL_PATH=${INSTALL_PATH}/opt
-
-
#########################################################################
# Loop over the options in DEAL_CONFOPTS and if the package is turned off, add
# it to the PACKAGES_OFF list.
PACKAGES_OFF=${PACKAGES_OFF,,}
PACKAGE=dealii-prepare
-
SOURCE=https://github.com/dealii/
PACKING=git
BUILDCHAIN=cmake
+
+INSTALL_PATH=${INSTALL_PATH}/deal.II-${VERSION}
PACKING=git
BUILDCHAIN=cmake
-INSTALL_PATH=${INSTALL_PATH}/..
+INSTALL_PATH=${INSTALL_PATH}/deal.II-${VERSION}
CONFOPTS=" \
${DEAL_CONFOPTS} \
export DEAL_II_DIR=${INSTALL_PATH}
}
-
+++ /dev/null
-VERSION=1.9
-NAME=hwloc-${VERSION}
-SOURCE=http://www.open-mpi.org/software/hwloc/v${VERSION}/downloads/
-PACKING=.tar.gz
-CHECKSUM=1f9f9155682fe8946a97c08896109508
-BUILDCHAIN=autotools
-
BUILDCHAIN=cmake
-CONFOPTS="-D OCE_INSTALL_PREFIX=${INSTALL_PATH}/${NAME} \
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
+CONFOPTS="-D OCE_INSTALL_PREFIX=${INSTALL_PATH} \
-D OCE_VISUALISATION=OFF \
-D OCE_DATAEXCHANGE=ON \
-D OCE_OCAF=OFF \
"
package_specific_register () {
- export OPENCASCADE_DIR=${INSTALL_PATH}/${NAME}
+ export OPENCASCADE_DIR=${INSTALL_PATH}
}
CHECKSUM=37ba7f4410958cfb38a2140339dbf64f
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_setup () {
function bdie () {
echo "Error: $@"
BUILD_DEBUG="${BUILD_PATH}/${NAME}/DEBUG"
# choose names for fast and debug installation directories
- INSTALL_FAST="${INSTALL_PATH}/${NAME}/FAST"
- INSTALL_DEBUG="${INSTALL_PATH}/${NAME}/DEBUG"
+ INSTALL_FAST="${INSTALL_PATH}/FAST"
+ INSTALL_DEBUG="${INSTALL_PATH}/DEBUG"
echo
echo "This script tries configure and build the p4est library."
echo
cd "${BUILD_PATH}/${NAME}"
- touch dorsal_successful_build
+ touch candi_successful_build
}
package_specific_register () {
- export P4EST_DIR=${INSTALL_PATH}/${NAME}
+ export P4EST_DIR=${INSTALL_PATH}
}
CHECKSUM=f69c479586bf6bb7aff6a9bc0c739628
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_build() {
cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
cd metis
}
package_specific_register () {
- export PARMETIS_DIR=${INSTALL_PATH}
export METIS_DIR=${INSTALL_PATH}
+ export PARMETIS_DIR=${INSTALL_PATH}
}
SOURCE=http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/
PACKING=.tar.gz
CHECKSUM=28f842697159e16e2978732480571147
-#CHECKSUM=ignore
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
#########################################################################
CONFOPTS="
}
package_specific_register () {
- export PETSC_DIR=${INSTALL_PATH}/${NAME}
+ export PETSC_DIR=${INSTALL_PATH}
}
SOURCE=http://www.grycap.upv.es/slepc/download/download.php?filename=
PACKING=.tar.gz
CHECKSUM=560a634369fdab3fcaeea35c2cbab6f1
-#CHECKSUM=ignore
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_setup () {
cd ${BUILDDIR}
cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
- ./configure --prefix=${INSTALL_PATH}/${NAME} ${CONFOPTS}
+ ./configure --prefix=${INSTALL_PATH} ${CONFOPTS}
make SLEPC_DIR=$PWD PETSC_DIR=${PETSC_DIR} all install
}
package_specific_register () {
- export SLEPC_DIR=${INSTALL_PATH}/${NAME}
+ export SLEPC_DIR=${INSTALL_PATH}
}
-
EXTRACTSTO=SuperLU_DIST_${VERSION}
SOURCE=http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
PACKING=.tar.gz
-DOWNLOADER=curl
CHECKSUM=4edee38cc29f687bd0c8eb361096a455
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_build() {
cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
NAME=trilinos-${VERSION}-Source
PACKING=.tar.bz2
-DOWNLOADER=curl
BUILDCHAIN=cmake
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
#########################################################################
# If you have further options for trilinos, please set:
#TRILINOS_CONFOPTS=""
#########################################################################
# General Trilinos configuration
-INSTALL_PATH=${INSTALL_PATH}/trilinos-${VERSION}
-
CONFOPTS="${TRILINOS_CONFOPTS} \
${CONFOPTS} \
-D TPL_ENABLE_MPI:BOOL=ON \
package_specific_register () {
export TRILINOS_DIR=${INSTALL_PATH}
}
-
CHECKSUM=44d667c142d7cda120332623eab69f40
BUILDCHAIN=custom
+INSTALL_PATH=${INSTALL_PATH}/${NAME}
+
package_specific_build () {
cp -rf ${UNPACK_PATH}/${NAME}/* .
./configure --prefix=${INSTALL_PATH}
make install
}
-
+
package_specific_register () {
export ZLIB_DIR=${INSTALL_PATH}/
export ZLIB_INCLUDE=${INSTALL_PATH}/include