+++ /dev/null
-NAME=FEniCS_prepare
-BUILDCHAIN=ignore
-
-package_specific_conf() {
- # Generate FEniCS folders
- mkdir -p ${INSTALL_PATH}/conf
- mkdir -p ${INSTALL_PATH}/bin
- mkdir -p ${INSTALL_PATH}/include
- mkdir -p ${INSTALL_PATH}/lib
- mkdir -p ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages
- mkdir -p ${INSTALL_PATH}/share
- export PATH=${INSTALL_PATH}/bin:${PATH}
- export LD_LIBRARY_PATH=${INSTALL_PATH}/lib:${LD_LIBRARY_PATH}
- export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib:${DYLD_LIBRARY_PATH}
- export PYTHONPATH=${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages:${PYTHONPATH}
- export PKG_CONFIG_PATH=${INSTALL_PATH}/lib/pkgconfig:${PKG_CONFIG_PATH}
-
- # Add some extra library paths for 64 bit machines
- if [ "$ARCH" == "x86_64" ]; then
- export LD_LIBRARY_PATH=${INSTALL_PATH}/lib64:${LD_LIBRARY_PATH}
- export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib64:${DYLD_LIBRARY_PATH}
- export PYTHONPATH=${INSTALL_PATH}/lib64/python${PYTHONVER}/site-packages:${PYTHONPATH}
- fi
-}
-
+++ /dev/null
-NAME=FEniCS
-VERSION=1.4.0
-BUILDCHAIN=ignore
-
-MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/toolbox/${NAME}
-CONFIG_FILE=${MODULEFILE_PATH}/${VERSION}
-CURRENT_MODULES=$(echo ${LOADEDMODULES} | sed 's/:/\ /')
-
-# **********************************************************************************
-package_specific_conf() {
- # Generate modulefile
-
- mkdir -p ${MODULEFILE_PATH}
- rm -f $CONFIG_FILE
- echo "#%Module 1.0
-#
-# FEniCS module for use with 'environment-modules' package:
-#
-
-conflict candi/toolbox
-
-module load ${CURRENT_MODULES}
-
-# Define prefix so PATH and MANPATH can be updated.
-setenv INSTALL_PATH ${INSTALL_PATH}
-prepend-path PATH ${INSTALL_PATH}/bin
-prepend-path PYTHONPATH ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages
-prepend-path PYTHONPATH ${INSTALL_PATH}/lib64/python${PYTHONVER}/site-packages
-prepend-path LD_LIBRARY_PATH ${INSTALL_PATH}/lib
-prepend-path DYLD_LIBRARY_PATH ${INSTALL_PATH}/lib
-prepend-path PKG_CONFIG_PATH ${INSTALL_PATH}/lib/pkgconfig
-prepend-path MANPATH ${INSTALL_PATH}/share/man
-prepend-path CPLUS_INCLUDE_PATH ${INSTALL_PATH}/include
-prepend-path CMAKE_PREFIX_PATH ${INSTALL_PATH}
-
-setenv BOOST_DIR ${INSTALL_PATH}
-" >> $CONFIG_FILE
-
- echo
- echo "${NAME} has now been installed in"
- echo
- cecho ${GOOD} " ${INSTALL_PATH}"
- echo
- echo "To update your environment variables, use the created modulefile:"
- echo
- cecho ${GOOD} " $CONFIG_FILE"
- echo
-
- # Generate configuration file for building against FEniCS installation
-
- mkdir -p $INSTALL_PATH/share/fenics
- CONFIG_FILE=$INSTALL_PATH/share/fenics/fenics.conf
- rm -f $CONFIG_FILE
- echo "
-# Source this file to set up your environment for building against FEniCS
-
-# Standard paths
-export INSTALL_PATH=${INSTALL_PATH}
-export PATH=\$INSTALL_PATH/bin:\$PATH
-export PYTHONPATH=\$INSTALL_PATH/lib/python${PYTHONVER}/site-packages:\$PYTHONPATH
-export LD_LIBRARY_PATH=\$INSTALL_PATH/lib:\$LD_LIBRARY_PATH
-export DYLD_LIBRARY_PATH=\$INSTALL_PATH/lib:\$DYLD_LIBRARY_PATH
-export PKG_CONFIG_PATH=\$INSTALL_PATH/lib/pkgconfig:\$PKG_CONFIG_PATH
-export MANPATH=\$INSTALL_PATH/share/man:\$MANPATH
-export CPLUS_INCLUDE_PATH=\$INSTALL_PATH/include:\$CPLUS_INCLUDE_PATH
-export CMAKE_PREFIX_PATH=\$INSTALL_PATH:\$CMAKE_PREFIX_PATH
-" >> $CONFIG_FILE
-
- for PACKAGE in ${PACKAGES[@]}
- do
- case ${PACKAGE} in
- *boost) echo "
-export BOOST_DIR=\$INSTALL_PATH
-" >> $CONFIG_FILE;;
- *vtk | *vtkwithqt) echo "
-# FIXME: This needs to be updated when the VTK version is changed
-export LD_LIBRARY_PATH=\$INSTALL_PATH/lib/vtk-5.8:\$LD_LIBRARY_PATH
-export DYLD_LIBRARY_PATH=\$INSTALL_PATH/lib/vtk-5.8:\$DYLD_LIBRARY_PATH
-" >> $CONFIG_FILE;;
- esac
- done
-
- echo "To update your environment variables, run the following command:"
- echo
- cecho ${GOOD} " source $CONFIG_FILE"
- echo
- echo "For future reference, we recommend that you add this command to your"
- echo "configuration (.bashrc, .profile or similar)."
- echo
-}
+++ /dev/null
-NAME=armadillo-3.6.1
-SOURCE=http://downloads.sourceforge.net/arma/
-PACKING=.tar.gz
-CHECKSUM=cf0e72fbd2ed07d9fbde01ec8feee953
-BUILDCHAIN=cmake
-
-CONFOPTS="-D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH}
- -D INSTALL_LIB_DIR:STRING=lib"
-
-if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- CONFOPTS="${CONFOPTS}
- -D LAPACK_LIBRARY:FILEPATH=${ATLAS_LIB_DIR}/liblapack.a
- -D BLAS_LIBRARY:FILEPATH=${ATLAS_LIB_DIR}/libatlas.a"
-fi
-
-package_specific_setup() {
- # Apply patch to prevent Armadillo from picking up MKL
- # when ATLAS_LIB_DIR is defined
- if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/armadillo_no_mkl.patch || true
- fi
-}
-
-package_specific_register () {
- export ARMADILLO_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-# ATLAS package. This package also provides LAPACK.
-
-NAME=atlas3.10.0-with-lapack-3.4.2
-SOURCE=http://fenicsproject.org/pub/software/contrib/
-PACKING=.tar.bz2
-BUILDCHAIN=custom
-EXTRACTSTO=ATLAS
-
-package_specific_build () {
-
- # Try to change CPU frequency
- if [ x$CPU_SCALING == "xyes" ]; then
-
- read -p "SCALING CPU"
-
- # Determine number of cores and frequency
- CORES=`grep processor /proc/cpuinfo | sort | awk '{print $3}'`
- NUM_CORES=`grep processor /proc/cpuinfo | sort | tail -1 | awk '{print $3}'`
- MAX_FREQ=`cpufreq-info | grep limits | awk '{print $6$7}' | tail -1`
-
- echo
- echo "It looks like your machine has $NUM_CORES cores and that the maximum"
- echo "CPU frequency is $MAX_FREQ."
- echo
-
- echo
- echo "Adjusting CPU frequency and governor. Be patient, this may take some time."
- for i in $CORES; do
- echo "Adjusting frequency for core $i"
- sudo cpufreq-set -c $i -u $MAX_FREQ
- sudo cpufreq-selector -g performance -c $i
- done
-
- fi
-
- # Create and enter build directory
- mkdir -p build
- cd build
-
- # Determine CPU frequency
- CPU_MHZ=`cat /proc/cpuinfo | grep "cpu MHz" | awk '{print $4}' | cut -d'.' -f1 | tail -1`
-
- # Configure ATLAS
- ../configure -b 64 -D c -DPentiumCPS=$CPU_MHZ --shared \
- --prefix=$INSTALL_PATH \
- --with-netlib-lapack-tarfile=../lapack-3.4.2.tgz
-
- # Build
- make build
-
- # Check
- make check
- make ptcheck
- make time
-
- # Install
- make install
-}
-
-package_specific_install () {
- echo "Nothing to do here, install handled by ATLAS."
-}
-
-package_specific_register () {
- export ATLAS_DIR=${INSTALL_PATH}
- export ATLAS_LIB_DIR=${INSTALL_PATH}/lib
-
- # This is important for building Trilinos
- export BLAS_LIBRARY_NAMES="cblas f77blas atlas"
-}
+++ /dev/null
-VERSION=1.14
-NAME=automake-${VERSION}
-SOURCE=http://ftp.gnu.org/gnu/automake/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
-#EXTRACTSTO=Mesa-${VERSION}
\ No newline at end of file
+++ /dev/null
-NAME=bzr-2.5.1
-SOURCE=http://launchpad.net/bzr/2.5/2.5.1/+download/
-PACKING=.tar.gz
-CHECKSUM=ac5079858364a046071000d5cdccb67b
-BUILDCHAIN=python
+++ /dev/null
-NAME=blas
-SOURCE=http://netlib.org/blas/
-PACKING=.tgz
-BUILDCHAIN=custom
-EXTRACTSTO=BLAS
-
-package_specific_build () {
- sed -i 's/gfortran/mpif90/g' make.inc
- sed -i 's/-O3/-O3 -fPIC/g' make.inc
- sed -i 's/blas$(PLAT).a/libblas.a/g' make.inc
- make -j ${PROCS}
-}
-
-package_specific_install () {
- cp *.a ${INSTALL_PATH}/lib/
-}
-
-package_specific_register () {
- export BLAS_DIR=${INSTALL_PATH}
- export LAPACKANDBLAS_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=boost_1_55_0
-SOURCE=http://downloads.sourceforge.net/boost/
-PACKING=.tar.bz2
-CHECKSUM=d6eef4b4cacb2183f2bf265a5a03a354
-BUILDCHAIN=custom
-
-if [ ! -z "${BZIP2_DIR}" ]; then
- CONFOPTS="${CONFOPTS}
- -sNO_BZIP2=0
- -sBZIP2_BINARY=bz2
- -sBZIP2_INCLUDE=${BZIP2_DIR}/include
- -sBZIP2_LIBPATH=${BZIP2_DIR}/lib"
-fi
-
-package_specific_build () {
- cp -rf ${UNPACK_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}
- export BOOST_INCLUDEDIR=${INSTALL_PATH}/include
- export BOOST_LIBRARYDIR=${INSTALL_PATH}/lib
- export BOOST_USE_MULTITHREADED=OFF
-}
+++ /dev/null
-NAME=bzip2-1.0.6
-SOURCE=http://bzip.org/1.0.6/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-
-package_specific_build () {
- sed -i 's/^CFLAGS=-Wall/CFLAGS=-fPIC -Wall/g' Makefile
- make
- make install PREFIX=${INSTALL_PATH}
-}
-
-package_specific_register () {
- export BZIP2_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=CGAL-4.3
-SOURCE=http://fenicsproject.org/pub/software/contrib/
-PACKING=.tar.gz
-CHECKSUM=3fa2d43adbf5c05d76c5ec01f5033cc9
-BUILDCHAIN=cmake
-
-CONFOPTS="-D CMAKE_BUILD_TYPE:STRING=Release
- -D BUILD_SHARED_LIBS:BOOL=ON
- -D WITH_CGAL_Core:BOOL=OFF
- -D WITH_CGAL_ImageIO:BOOL=OFF
- -D WITH_CGAL_Qt3:BOOL=OFF
- -D WITH_CGAL_Qt4:BOOL=OFF"
-
-if [ ! -z "${BOOST_USE_MULTITHREADED}" ]; then
- CONFOPTS="${CONFOPTS} -D Boost_USE_MULTITHREADED:BOOL=${BOOST_USE_MULTITHREADED}"
-fi
-
-package_specific_register () {
- export CGAL_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=cln-1.3.2
-SOURCE=ftp://ftpthep.physik.uni-mainz.de/pub/gnu/
-PACKING=.tar.bz2
-BUILDCHAIN=autotools
+++ /dev/null
-NAME=cmake-2.8.12.1
-SOURCE=http://www.cmake.org/files/v2.8/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
-
-package_specific_setup () {
- ./bootstrap --prefix=${INSTALL_PATH}
- export CMAKE_LIBRARY_PATH=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=cppunit-1.12.1
-SOURCE=http://downloads.sourceforge.net/cppunit/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
-
-package_specific_register () {
- export CPPUNIT_DIR=${INSTALL_PATH}
-}
\ No newline at end of file
+++ /dev/null
-NAME=cusp-v0.3.1
-SOURCE=http://cusp-library.googlecode.com/files/
-PACKING=.zip
-BUILDCHAIN=custom
-EXTRACTSTO=cusp
-
-package_specific_register () {
- export CUSP_DIR=${DOWNLOAD_PATH}
-}
+++ /dev/null
-VERSION=0.19.2
-NAME=Cython-${VERSION}
-SOURCE=http://cython.org/release/
-PACKING=.tar.gz
-BUILDCHAIN=python
+++ /dev/null
-NAME=dolfin-adjoint
-SOURCE=lp:
-PACKING=bzr
-BUILDCHAIN=python
+++ /dev/null
-VERSION=snapshot
-NAME=dolfin-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/dolfin/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.4.0
-NAME=dolfin-${VERSION}
-SOURCE=https://bitbucket.org/fenics-project/dolfin/downloads/
-PACKING=.tar.gz
-CHECKSUM=b736119d524590b6bd0484f09893e018
-
+++ /dev/null
-NAME=dolfin
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=cmake
-
-CONFOPTS="-DCGAL_DISABLE_ROUNDING_MATH_CHECK:BOOL=ON"
-
-if [ -x "${SWIG_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}"
-fi
-
-if [ ! -z "${PYTHON_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}"
-fi
-
-if [ ! -z "${PYTHON_INCLUDE_DIR}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR}"
-fi
-
-if [ ! -z "${PYTHON_LIBRARY}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_LIBRARY:PATH=${PYTHON_LIBRARY}"
-fi
-
-if [ ! -z "${BOOST_USE_MULTITHREADED}" ]; then
- CONFOPTS="${CONFOPTS} -D Boost_USE_MULTITHREADED:BOOL=${BOOST_USE_MULTITHREADED}"
-fi
-
-if [ ! -z "${BLAS_LIBRARIES}" ]; then
- CONFOPTS="${CONFOPTS} -D BLAS_LIBRARIES:FILEPATH=\"${BLAS_LIBRARIES}\""
-fi
-
-if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- CONFOPTS="${CONFOPTS}
- -D LAPACK_LIBRARIES=${ATLAS_LIB_DIR}/liblapack.a
- -D BLAS_LIBRARIES=\"${ATLAS_LIB_DIR}/libcblas.a;${ATLAS_LIB_DIR}/libf77blas.a;${ATLAS_LIB_DIR}/libatlas.a\""
-fi
-
-if [ ! -z "${HDF5_DIR}" ]; then
- CONFOPTS="${CONFOPTS}
- -D HDF5_INCLUDE_DIRS=${HDF5_DIR}/include"
-fi
-
+++ /dev/null
-VERSION=1.0-beta
-NAME=dolfin-${VERSION}
-SOURCE=http://launchpad.net/dolfin/trunk/${VERSION}/+download/
-PACKING=.tar.gz
-BUILDCHAIN=cmake
-
-# Dolfin is compiled with GNU compiler because the Intel compiler used does not support
-# the "tuple" template and it cannot read the boost headers properly.
-
-# Compiler flags are added to ensure proper linking to Intel MKL
-COMPILERFLAGS="'-fPIC -DMPICH_IGNORE_CXX_SEEK -m64 -DMKL_ILP64 -lpthread -lmkl_rt -lifcore -lsvml'"
-
-CONFOPTS="-DCMAKE_SKIP_RPATH:BOOL=ON
- -DCGAL_DISABLE_ROUNDING_MATH_CHECK:BOOL=ON
- -D CMAKE_CXX_FLAGS:STRING=${COMPILERFLAGS}
- -D CMAKE_C_FLAGS:STRING=${COMPILERFLAGS}"
-
-package_specific_setup () {
-# The CMake Armadillo does not pass because it does not pass the correct linking options.
-# The patch basically make the test pass all the time.
- patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/dolfin-armadillo-test.patch || true
-# Intel compiler cannot find iostream. Maybe because it is not in the intel mpi.h.
- find . -name "*.cpp" | xargs sed -i -e 's,#include <mpi.h>,#include <mpi.h>\n#include <iostream>,g'
-# Link to intel MKL BLAS
- export BLAS_DIR=/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/lib/intel64
-}
-
-if [ -x "${SWIG_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}"
-fi
+++ /dev/null
-VERSION=2.8
-NAME=dri2proto-${VERSION}
-SOURCE=http://ftp.x.org/pub/individual/proto/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
\ No newline at end of file
+++ /dev/null
-NAME=eigen3_3.2.0
-SOURCE=http://fenicsproject.org/pub/software/contrib/
-PACKING=.tar.bz2
-BUILDCHAIN=cmake
-EXTRACTSTO=eigen-eigen-ffa86ffb5570
-
-package_specific_register () {
- export EIGEN_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=snapshot
-NAME=ferari-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/ferari/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.0.0
-NAME=ferari-${VERSION}
-SOURCE=http://launchpad.net/ferari/trunk/${VERSION}/+download/
-PACKING=.tar.gz
-CHECKSUM=e41ed02517f0e8832f27d24e7755c0e2
+++ /dev/null
-NAME=ferari
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=python
+++ /dev/null
-VERSION=snapshot
-NAME=ffc-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/ffc/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.4.0
-NAME=ffc-${VERSION}
-SOURCE=https://bitbucket.org/fenics-project/ffc/downloads/
-PACKING=.tar.gz
-CHECKSUM=cac802fbbf869911fdd82b72c51a7771
+++ /dev/null
-NAME=ffc
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=python
+++ /dev/null
-VERSION=1.3.0
-NAME=ffc-${VERSION}
-SOURCE=http://launchpad.net/ffc/1.3.x/${VERSION}/+download/
-PACKING=.tar.gz
-BUILDCHAIN=python
+++ /dev/null
-VERSION=snapshot
-NAME=fiat-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/fiat/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.4.0
-NAME=fiat-${VERSION}
-SOURCE=https://bitbucket.org/fenics-project/fiat/downloads/
-PACKING=.tar.gz
-CHECKSUM=da9c38cf394594091ec4ac2ff652e170
-
+++ /dev/null
-NAME=fiat
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=python
+++ /dev/null
-NAME=gccxml
-SOURCE=https://github.com/gccxml/
-PACKING=git
-BUILDCHAIN=cmake
+++ /dev/null
-NAME=ginac-1.6.1
-SOURCE=ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/
-PACKING=.tar.bz2
-BUILDCHAIN=autotools
+++ /dev/null
-VERSION=1.8.0.2
-NAME=git-${VERSION}
-SOURCE=http://git-core.googlecode.com/files/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
-TARGETS=('' 'install prefix=${INSTALL_PATH}')
+++ /dev/null
-NAME=glib-2.32.3
-SOURCE=http://ftp.gnome.org/pub/GNOME/sources/glib/2.32/
-PACKING=.tar.xz
-BUILDCHAIN=autotools
+++ /dev/null
-VERSION=1.4.17
-NAME=glproto-${VERSION}
-SOURCE=http://ftp.x.org/pub/individual/proto/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
\ No newline at end of file
+++ /dev/null
-NAME=gmp-5.0.5
-SOURCE=ftp://ftp.gnu.org/gnu/gmp/
-PACKING=.tar.bz2
-BUILDCHAIN=autotools
-CONFOPTS="--enable-cxx"
-
-package_specific_register () {
- export GMP_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=gtest-1.6.0
-SOURCE=http://googletest.googlecode.com/files/
-PACKING=.zip
-BUILDCHAIN=custom
-
-package_specific_build () {
- mkdir -p build
- cd build
- cmake -DBUILD_SHARED_LIBS:BOOL=ON ..
- make
-}
-
-package_specific_install () {
- cp -rf include/gtest ${INSTALL_PATH}/include/
- cp -f build/libgtest*.* ${INSTALL_PATH}/lib/
-}
-
-package_specific_register () {
- export GTEST_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=2.2.0
-NAME=h5py-${VERSION}
-SOURCE=http://h5py.googlecode.com/files/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-
-package_specific_build () {
- if [ ! -z "${HDF5_DIR}" ]; then
- python setup.py build --hdf5=${HDF5_DIR} --mpi=yes
- fi
-
- python setup.py install --prefix=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=1.8.12
-NAME=hdf5-${VERSION}
-SOURCE=http://www.hdfgroup.org/ftp/HDF5/releases/${NAME}/src/
-PACKING=.tar.gz
-CHECKSUM=d804802feb99b87fc668a90e6fa34411
-BUILDCHAIN=autotools
-
-CONFOPTS="--with-pthread
- --enable-unsupported
- --enable-shared
- --enable-production=yes
- --enable-parallel=yes
- --enable-largefile=yes
- --with-default-api-version=v18"
-
-# --disable-sharedlib-rpath
-
-package_specific_register () {
- export HDF5_DIR=${INSTALL_PATH}
-}
-
+++ /dev/null
-VERSION=snapshot
-NAME=instant-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/instant/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.4.0
-NAME=instant-${VERSION}
-SOURCE=https://bitbucket.org/fenics-project/instant/downloads/
-PACKING=.tar.gz
-CHECKSUM=e6fa58eb5df4401aac8542110dc1d220
+++ /dev/null
-NAME=instant
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=python
+++ /dev/null
-VERSION=2.1.0
-NAME=ipython-${VERSION}
-SOURCE=https://github.com/ipython/ipython/releases/download/rel-${VERSION}/
-PACKING=.tar.gz
-CHECKSUM=785c7b6364c6a0dd34aa4ea970cf83b9
-BUILDCHAIN=python
-
+++ /dev/null
-VERSION=3.3.1
-NAME=lapack-${VERSION}
-SOURCE=http://www.netlib.org/lapack/
-PACKING=.tgz
-BUILDCHAIN=custom
-
-package_specific_build () {
- cp make.inc.example make.inc
- sed -i 's/gfortran/mpif90 -O3 -fPIC/g' make.inc
- sed -i 's/lapack$(PLAT).a/liblapack.a/g' make.inc
- sed -i 's/tmglib$(PLAT).a/libtmglib.a/g' make.inc
- sed -i 's,../../blas$(PLAT).a,${INSTALL_PATH}/lib/libblas.a,g' make.inc
- make lapack_install lib -j ${PROCS}
-}
-
-package_specific_install () {
- cp *.a ${INSTALL_PATH}/lib/
-}
-
-package_specific_register () {
- export LAPACK_DIR=${INSTALL_PATH}
- export LAPACKANDBLAS_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=libadjoint
-SOURCE=https://bitbucket.org/dolfin-adjoint/
-PACKING=hg
-BUILDCHAIN=cmake
-CONFOPTS="-DBUILD_SHARED_LIBS:BOOL=ON"
-
+++ /dev/null
-VERSION=2.4.46
-NAME=libdrm-${VERSION}
-SOURCE=http://dri.freedesktop.org/libdrm/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
\ No newline at end of file
+++ /dev/null
-NAME=libffi-3.0.11
-SOURCE=ftp://sourceware.org/pub/libffi/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
+++ /dev/null
-VERSION=2.6.2
-NAME=libxml2-${VERSION}
-SOURCE=ftp://xmlsoft.org/libxml2/old/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-
-package_specific_build () {
- ./configure --prefix=${INSTALL_PATH}
- make -j ${PROCS}
- make install
-}
+++ /dev/null
-NAME=madlib-1.3.0
-SOURCE=http://sites.uclouvain.be/madlib/sources/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
-CONFOPTS="--enable-ann --enable-gmsh --enable-petsc --enable-extendedAPI"
-
-package_specific_setup () {
- patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/madlib.patch || true
-}
+++ /dev/null
-VERSION=1.3.1
-NAME=matplotlib-${VERSION}
-SOURCE=http://downloads.sourceforge.net/matplotlib/
-PACKING=.tar.gz
-CHECKSUM=444624ad58de05f9029b0b5811e11c17
-BUILDCHAIN=python
+++ /dev/null
-VERSION=9.2.1
-NAME=MesaLib-${VERSION}
-SOURCE=ftp://ftp.freedesktop.org/pub/mesa/${VERSION}/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
-EXTRACTSTO=Mesa-${VERSION}
\ No newline at end of file
+++ /dev/null
-VERSION=3.1.2
-NAME=mpfr-${VERSION}
-SOURCE=http://www.mpfr.org/mpfr-3.1.2/
-PACKING=.tar.bz2
-BUILDCHAIN=autotools
-
-CONFOPTS="--enable-shared=yes --with-gmp=${GMP_DIR}"
-
-package_specific_register () {
- export MPFR_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=1.3.1
-NAME=mpi4py-${VERSION}
-SOURCE=https://bitbucket.org/mpi4py/mpi4py/downloads/
-PACKING=.tar.gz
-CHECKSUM=dbe9d22bdc8ed965c23a7ceb6f32fc3c
-BUILDCHAIN=python
+++ /dev/null
-NAME=MTL-4.0.8447-Linux
-SOURCE=http://fenicsproject.org/pub/software/contrib/
-PACKING=.tar.bz2
-CHECKSUM=ff08fecd44e6e9bccc41bdd6f147952e
-BUILDCHAIN=custom
-
-package_specific_build () {
- cp -r ${UNPACK_PATH}/${EXTRACTSTO}/usr/* ${INSTALL_PATH}
-}
-
-package_specific_register () {
- export MTL4_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=numpy-1.8.1
-SOURCE=http://downloads.sourceforge.net/numpy/
-PACKING=.tar.gz
-CHECKSUM=be95babe263bfa3428363d6db5b64678
-BUILDCHAIN=python
-
-package_specific_setup () {
- if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- echo "
-[DEFAULT]
-library_dirs = ${ATLAS_LIB_DIR}
-include_dirs = ${ATLAS_DIR}/include
-
-[blas_opt]
-libraries = f77blas, cblas, atlas
-
-[lapack_opt]
-libraries = lapack, f77blas, cblas, atlas
-" > site.cfg
-
- elif [ ! -z "${LAPACKANDBLAS_DIR}" ]; then
- echo "
-[atlas]
-library_dirs = ${LAPACKANDBLAS_DIR}
-atlas_libs = lapack, blas
-" > site.cfg
- fi
-}
-
-package_specific_register () {
- ln -sf ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages/numpy/core/include/numpy ${INSTALL_PATH}/include/python${PYTHONVER}
-}
+++ /dev/null
-NAME=numpy-1.6.1
-SOURCE=http://downloads.sourceforge.net/numpy/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-
-MKLLIB=/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/lib/intel64
-MKLINCLUDE=/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/include
-
-package_specific_build () {
- echo "[mkl]" > site.cfg
- echo "library_dirs = ${MKLLIB}" >> site.cfg
- echo "include_dirs = ${MKLINCLUDE}" >> site.cfg
- echo "mkl_libs = mkl_intel,mkl_intel_thread,mkl_core,mkl_rt" >> site.cfg
- python setup.py config --compiler=intelem build_clib --compiler=intelem build_ext --compiler=intelem install --prefix=${INSTALL_PATH}
-}
-
-package_specific_register () {
- ln -sf ${INSTALL_PATH}/lib/python${PYTHONVER}/site-packages/numpy/core/include/numpy ${INSTALL_PATH}/include/python${PYTHONVER}
-}
-
+++ /dev/null
-NAME=openmpi-1.6.2
-SOURCE=http://www.open-mpi.org/software/ompi/v1.6/downloads/
-PACKING=.tar.bz2
-BUILDCHAIN=autotools
-
-CONFOPTS="--enable-mpi-thread-multiple
- --enable-opal-multi-threads
- --with-threads=posix
- --disable-mpi-profile"
-
-# FIXME: This must be used on OS X:
-#CONFOPTS="${CONFOPTS} --disable-mpi-f90"
+++ /dev/null
-NAME=parmetis-4.0.2
-SOURCE=http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/
-PACKING=.tar.gz
-CHECKSUM=0912a953da5bb9b5e5e10542298ffdce
-BUILDCHAIN=custom
-
-package_specific_build() {
- cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
- cd metis
- make config prefix=${INSTALL_PATH} shared=1
- make -j ${PROCS}
- make install
- cd ..
- make config prefix=${INSTALL_PATH} shared=1
- make -j ${PROCS}
- make install
-}
-
-package_specific_register () {
- export PARMETIS_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=pastix_release_4030
-SOURCE=https://gforge.inria.fr/frs/download.php/32044/
-PACKING=.tar.bz2
-CHECKSUM=d2395bca420901b93d8d2a66cda2062d
-BUILDCHAIN=custom
-
-package_specific_build () {
- if [ -z ${PASTIX_ARCH} ]; then
- PASTIX_ARCH="i686_pc_linux"
- fi
- VERSIONBIT="_64bit"
- VERSIONINT="_int64"
- CCTYPES="-DFORCE_INT64 -DINTSSIZE64"
-
- # FIXME: Use the following on 32-bit architectures:
- #VERSIONBIT="_32bit"
- #VERSIONINT="_int32"
- #CCTYPES="-DFORCE_INT32 -DINTSSIZE32"
-
- if [ "${ATLAS_LIB_DIR}" ]; then
- BLAS_HOME="${ATLAS_LIB_DIR}"
- BLASLIB="-L${ATLAS_LIB_DIR} -lcblas -lf77blas -latlas"
- elif [ "${BLAS_DIR}" ]; then
- BLAS_HOME="${BLAS_DIR}"
- BLASLIB="-L${BLAS_DIR} -lblas"
- else
- BLAS_HOME="/path/to/blas"
- BLASLIB="-lblas"
- fi
-
- # Create config file
- cd ${UNPACK_PATH}/${EXTRACTSTO}/src
- cat > config.in << EOF
-HOSTARCH = ${PASTIX_ARCH}
-VERSIONBIT = ${VERSIONBIT}
-EXEEXT =
-OBJEXT = .o
-LIBEXT = .a
-CCPROG = gcc -Wall
-CFPROG = gfortran
-CF90PROG = gfortran -ffree-form
-MCFPROG = mpif90
-CF90CCPOPT = -ffree-form -x f95-cpp-input
-# Compilation options for optimization (make expor)
-CCFOPT = -O3
-# Compilation options for debug (make | make debug)
-CCFDEB = -g3
-
-LKFOPT =
-MKPROG = make
-MPCCPROG = mpicc -Wall
-CPP = cpp
-ARFLAGS = ruv
-ARPROG = ar
-EXTRALIB = -lgfortran -lm -lrt
-
-VERSIONMPI = _mpi
-VERSIONSMP = _smp
-VERSIONSCH = _static
-VERSIONINT = _int
-VERSIONPRC = _simple
-VERSIONFLT = _real
-VERSIONORD = _scotch
-
-###################################################################
-# SETTING INSTALL DIRECTORIES #
-###################################################################
-ROOT = ${INSTALL_PATH}
-INCLUDEDIR = \${ROOT}/include
-LIBDIR = \${ROOT}/lib
-BINDIR = \${ROOT}/bin
-
-###################################################################
-# SHARED LIBRARY GENERATION #
-###################################################################
-SHARED=1
-SHARED_FLAGS = -shared -Wl,-soname,__SO_NAME__
-CCFDEB := \${CCFDEB} -fPIC
-CCFOPT := \${CCFOPT} -fPIC
-CFPROG := \${CFPROG} -fPIC
-
-###################################################################
-# INTEGER TYPE #
-###################################################################
-# Uncomment the following lines for integer type support (Only 1)
-
-#VERSIONINT = _long
-#CCTYPES = -DFORCE_LONG -DLONG
-#---------------------------
-#VERSIONINT = _int32
-#CCTYPES = -DFORCE_INT32 -DINTSIZE32
-#---------------------------
-#VERSIONINT = _int64
-#CCTYPES = -DFORCE_INT64 -DINTSSIZE64
-#---------------------------
-VERSIONINT = ${VERSIONINT}
-CCTYPES = ${CCTYPES}
-
-###################################################################
-# FLOAT TYPE #
-###################################################################
-CCTYPESFLT =
-# Uncomment the following lines for double precision support
-VERSIONPRC = _double
-CCTYPESFLT := \$(CCTYPESFLT) -DFORCE_DOUBLE -DPREC_DOUBLE
-
-# Uncomment the following lines for float=complex support
-#VERSIONFLT = _complex
-#CCTYPESFLT := \$(CCTYPESFLT) -DFORCE_COMPLEX -DTYPE_COMPLEX
-
-
-###################################################################
-# MPI/THREADS #
-###################################################################
-
-# Uncomment the following lines for sequential (NOMPI) version
-#VERSIONMPI = _nompi
-#CCTYPES := \$(CCTYPES) -DFORCE_NOMPI
-#MPCCPROG = \$(CCPROG)
-#MCFPROG = \$(CFPROG)
-
-# Uncomment the following lines for non-threaded (NOSMP) version
-#VERSIONSMP = _nosmp
-#CCTYPES := \$(CCTYPES) -DFORCE_NOSMP
-
-# Uncomment the following line to enable a progression thread
-#CCPASTIX := \$(CCPASTIX) -DTHREAD_COMM
-
-# Uncomment the following line if your MPI doesn't support MPI_THREAD_MULTIPLE level
-#CCPASTIX := \$(CCPASTIX) -DPASTIX_FUNNELED
-
-# Uncomment the following line if your MPI doesn't support MPI_Datatype correctly
-#CCPASTIX := \$(CCPASTIX) -DNO_MPI_TYPE
-
-# Uncomment the following line if you want to use semaphore barrier
-# instead of MPI barrier (with IPARM_AUTOSPLIT_COMM)
-#CCPASTIX := \$(CCPASTIX) -DWITH_SEM_BARRIER
-
-# Uncomment the following lines to enable StarPU.
-#CCPASTIX := \${CCPASTIX} \`pkg-config libstarpu --cflags\` -DWITH_STARPU
-#EXTRALIB := \$(EXTRALIB) \`pkg-config libstarpu --libs\`
-
-# Uncomment the following line to enable StarPU profiling
-# ( IPARM_VERBOSE > API_VERBOSE_NO ).
-#CCPASTIX := \${CCPASTIX} -DSTARPU_PROFILING
-
-# Uncomment the following line to disable CUDA (StarPU)
-#CCPASTIX := \${CCPASTIX} -DFORCE_NO_CUDA
-
-###################################################################
-# Options #
-###################################################################
-
-# Show memory usage statistics
-#CCPASTIX := \$(CCPASTIX) -DMEMORY_USAGE
-
-# Show memory usage statistics in solver
-#CCPASTIX := \$(CCPASTIX) -DSTATS_SOPALIN
-
-# Uncomment following line for dynamic thread scheduling support
-#CCPASTIX := \$(CCPASTIX) -DPASTIX_DYNSCHED
-
-# Uncomment the following lines for Out-of-core
-#CCPASTIX := \$(CCPASTIX) -DOOC -DOOC_NOCOEFINIT -DOOC_DETECT_DEADLOCKS
-
-###################################################################
-# GRAPH PARTITIONING #
-###################################################################
-
-# Uncomment the following lines for using metis ordering
-#VERSIONORD = _metis
-#METIS_HOME = \${HOME}/metis-4.0
-#CCPASTIX := \$(CCPASTIX) -DMETIS -I\$(METIS_HOME)/Lib
-#EXTRALIB := \$(EXTRALIB) -L\$(METIS_HOME) -lmetis
-
-# Scotch always needed to compile
-SCOTCH_HOME ?= ${SCOTCH_DIR}
-SCOTCH_INC ?= \$(SCOTCH_HOME)/include
-SCOTCH_LIB ?= \$(SCOTCH_HOME)/lib
-# Uncomment on of this blocks
-#scotch
-#CCPASTIX := \$(CCPASTIX) -I\$(SCOTCH_INC) -DWITH_SCOTCH
-#EXTRALIB := \$(EXTRALIB) -L\$(SCOTCH_LIB) -lscotch -lscotcherrexit
-#ptscotch
-CCPASTIX := \$(CCPASTIX) -I\$(SCOTCH_INC) -DDISTRIBUTED -DWITH_SCOTCH
-EXTRALIB := \$(EXTRALIB) -L\$(SCOTCH_LIB) -lptscotch -lscotcherrexit
-
-###################################################################
-# Portable Hardware Locality #
-###################################################################
-# If HwLoc library is available, Uncomment the following lines to bind correctly threads on cpus
-#HWLOC_HOME ?= /opt/hwloc/
-#HWLOC_INC ?= \$(HWLOC_HOME)/include
-#HWLOC_LIB ?= \$(HWLOC_HOME)/lib
-#CCPASTIX := \$(CCPASTIX) -I\$(HWLOC_INC) -DWITH_HWLOC
-#EXTRALIB := \$(EXTRALIB) -L\$(HWLOC_LIB) -lhwloc
-
-###################################################################
-# MARCEL #
-###################################################################
-
-# Uncomment following lines for marcel thread support
-#VERSIONSMP := \$(VERSIONSMP)_marcel
-#CCPASTIX := \$(CCPASTIX) \`pm2-config --cflags\` -I\${PM2_ROOT}/marcel/include/pthread
-#EXTRALIB := \$(EXTRALIB) \`pm2-config --libs\`
-# ---- Thread Posix ------
-EXTRALIB := \$(EXTRALIB) -lpthread
-
-# Uncomment following line for bubblesched framework support (need marcel support)
-#VERSIONSCH = _dyn
-#CCPASTIX := \$(CCPASTIX) -DPASTIX_BUBBLESCHED
-
-###################################################################
-# BLAS #
-###################################################################
-
-# Choose Blas library (Only 1)
-# Do not forget to set BLAS_HOME if it is not in your environnement
-BLAS_HOME = ${BLAS_HOME}
-BLASLIB = ${BLASLIB}
-#---- Blas ----
-#BLASLIB = -lblas
-#---- Gotoblas ----
-#BLASLIB = -L\${BLAS_HOME} -lgoto
-#---- MKL ----
-#Uncomment the correct line
-#BLASLIB = -L\$(BLAS_HOME) -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
-#BLASLIB = -L\$(BLAS_HOME) -lmkl_intel -lmkl_sequential -lmkl_core
-#---- Acml ----
-#BLASLIB = -L\$(BLAS_HOME) -lacml
-
-###################################################################
-# PYTHON WRAPPER #
-###################################################################
-#MPI4PY_DIR = /path/to//mpi4py
-#MPI4PY_INC = \$(MPI4PY_DIR)/src/include/
-#MPI4PY_LIBDIR = \$(MPI4PY_DIR)/build/lib.linux-x86_64-2.7/
-#PYTHON_INC = /usr/include/python2.7/
-#CCTYPES := \$(CCTYPES) -fPIC
-
-###################################################################
-# DO NOT TOUCH #
-###################################################################
-
-FOPT := \$(CCFOPT)
-FDEB := \$(CCFDEB)
-CCHEAD := \$(CCPROG) \$(CCTYPES) \$(CCFOPT)
-CCFOPT := \$(CCFOPT) \$(CCTYPES) \$(CCPASTIX)
-CCFDEB := \$(CCFDEB) \$(CCTYPES) \$(CCPASTIX)
-
-
-###################################################################
-# MURGE COMPATIBILITY #
-###################################################################
-# Uncomment if you need MURGE interface to be thread safe
-# CCPASTIX := \$(CCPASTIX) -DMURGE_THREADSAFE
-
-MAKE = \$(MKPROG)
-CC = \$(MPCCPROG)
-CFLAGS = \$(CCFOPT) \$(CCTYPESFLT)
-FC = \$(MCFPROG)
-FFLAGS = \$(CCFOPT)
-LDFLAGS = \$(EXTRALIB) \$(BLASLIB)
-EOF
-
- # Build and install
- make -j ${PROCS}
- make install
-
- # Workaround for bug in 4030 release
- sed -i 's/u_int64_t/uint64_t/g' ${INSTALL_PATH}/include/pastix.h
-}
-
-package_specific_register () {
- export PASTIX_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=pcre-8.21
-SOURCE=http://downloads.sourceforge.net/pcre/
-PACKING=.tar.gz
-CHECKSUM=b8c9469717262a1e486cffc288b28283
-BUILDCHAIN=autotools
-
+++ /dev/null
-NAME=petsc-3.4.4
-SOURCE=http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/
-PACKING=.tar.gz
-CHECKSUM=7edbc68aa6d8d6a3295dd5f6c2f6979d
-BUILDCHAIN=custom
-
-CONFOPTS="COPTFLAGS=-O2
- --with-debugging=0 --with-shared-libraries=1
- --with-clanguage=cxx --with-c-support=1"
-
-for external_pkg in umfpack hypre mumps scalapack blacs ptscotch scotch metis parmetis ${PETSC_EXTRA_PACKAGES}; do
- CONFOPTS="${CONFOPTS} --download-${external_pkg}=1"
-done
-
-if [ "${TRILINOS_DIR}" ]; then
- CONFOPTS="${CONFOPTS} --with-ml=1
- --with-ml-lib=${TRILINOS_DIR}/lib/libml.so
- --with-ml-include=${TRILINOS_DIR}/include"
-fi
-
-if [ "${CUDA_DIR}" ] && [ "${CUSP_DIR}" ]; then
- CONFOPTS="${CONFOPTS} --with-cuda=1 --with-cuda-dir=${CUDA_DIR}
- --with-cusp=1 --with-cusp-dir=${CUSP_DIR}
- --with-thrust=1 --with-thrust-dir=${CUDA_DIR}/include"
-fi
-
-package_specific_build () {
- cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
- ./configure --prefix=${INSTALL_PATH} ${CONFOPTS}
- make PETSC_DIR=${PWD} PETSC_ARCH=${PETSC_ARCH} all
- make PETSC_DIR=${PWD} PETSC_ARCH=${PETSC_ARCH} install
-}
-
-package_specific_register () {
- export PETSC_DIR=${INSTALL_PATH}
- unset PETSC_ARCH
-}
+++ /dev/null
-VERSION=3.4
-NAME=petsc4py-${VERSION}
-SOURCE=https://bitbucket.org/petsc/petsc4py/downloads/
-PACKING=.tar.gz
-CHECKSUM=f6a2914fe3c057b0bf0eac4330a071ea
-BUILDCHAIN=python
-
-package_specific_setup () {
- patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/petsc4py-c++11.patch || true
-}
-
+++ /dev/null
-NAME=pkg-config-0.28
-SOURCE=http://pkgconfig.freedesktop.org/releases/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
+++ /dev/null
-VERSION=3.4
-NAME=ply-${VERSION}
-SOURCE=http://www.dabeaz.com/ply/
-PACKING=.tar.gz
-BUILDCHAIN=python
+++ /dev/null
-VERSION=2.7.2
-NAME=Python-${VERSION}
-SOURCE=http://www.python.org/ftp/python/${VERSION}/
-PACKING=.tar.bz2
-BUILDCHAIN=autotools
-CONFOPTS="--enable-shared"
-
-package_specific_setup() {
- patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/python.patch || true
-}
-
-package_specific_register() {
- export PYTHON_DIR=${INSTALL_PATH}
- export PYTHON_EXECUTABLE=${PYTHON_DIR}/bin/python
- export PYTHON_INCLUDE_DIR=${PYTHON_DIR}/include/python2.7
- # FIXME: should be .dylib on OS X
- export PYTHON_LIBRARY=${PYTHON_DIR}/lib/libpython2.7.so
-}
+++ /dev/null
-NAME=ScientificPython-2.8
-SOURCE=http://sourcesup.cru.fr/frs/download.php/2309/
-PACKING=.tar.gz
-CHECKSUM=82d8592635d6ae8608b3073dacf9e694
-BUILDCHAIN=python
-
-package_specific_setup () {
- patch -p --forward < ${ORIG_DIR}/FEniCS/patches/scientificpython.patch || true
-}
+++ /dev/null
-NAME=scipy-0.14.0
-SOURCE=http://downloads.sourceforge.net/scipy/
-PACKING=.tar.gz
-CHECKSUM=d7c7f4ccf8b07b08d6fe49d5cd51f85d
-BUILDCHAIN=python
-
-package_specific_setup () {
- if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- echo "
-[blas_opt]
-library_dirs = ${ATLAS_LIB_DIR}
-include_dirs = ${ATLAS_DIR}/include
-libraries = f77blas, cblas, atlas
-
-[lapack_opt]
-library_dirs = ${ATLAS_LIB_DIR}
-include_dirs = ${ATLAS_DIR}/include
-libraries = lapack, f77blas, cblas, atlas
-" >> site.cfg
- fi
-
- if [ ! -z "${UMFPACK_DIR}" ]; then
- echo "
-[amd]
-library_dirs = ${UMFPACK_DIR}/lib
-include_dirs = ${UMFPACK_DIR}/include/suitesparse
-amd_libs = amd
-
-[umfpack]
-library_dirs = ${UMFPACK_DIR}/lib
-include_dirs = ${UMFPACK_DIR}/include/suitesparse
-umfpack_libs = umfpack
-" >> site.cfg
- fi
-}
-
+++ /dev/null
-NAME=scons-2.0.1
-SOURCE=http://downloads.sourceforge.net/scons/
-PACKING=.tar.gz
-CHECKSUM=beca648b894cdbf85383fffc79516d18
-BUILDCHAIN=python
-
+++ /dev/null
-NAME=scotch_6.0.0_esmumps
-SOURCE=http://fenicsproject.org/pub/software/contrib/
-PACKING=.tar.gz
-CHECKSUM=c50d6187462ba801f9a82133ee666e8e
-BUILDCHAIN=autotools
-EXTRACTSTO=scotch_6.0.0_esmumps/src
-PROCS=1
-TARGETS=('' 'ptscotch' 'ptesmumps')
-
-package_specific_setup () {
- cd ${UNPACK_PATH}/${EXTRACTSTO}
- if [ ${SCOTCH_ARCH} == "pc_linux2" ]
- then
- SCOTCH_ARCH=$(echo $ARCH|sed 's/_/-/g')_${SCOTCH_ARCH}
- fi
- perl -pi -e 's/^CFLAGS\t\t=/CFLAGS = -fPIC/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
- perl -pi -e 's/^CCS.*= gcc/CCS = mpicc/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
- perl -pi -e 's/^CCD.*= gcc/CCD = mpicc/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
- if [ ${SCOTCH_ARCH} == "i686_mac_darwin8" ]
- then
- # Darwin does not have a pthread_barrier_t implementation
- perl -pi -e 's/-DSCOTCH_PTHREAD/-DCOMMON_PTHREAD_BARRIER/g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
- else
- perl -pi -e 's/-DSCOTCH_PTHREAD//g' Make.inc/Makefile.inc.${SCOTCH_ARCH}
- fi
- ln -sf Make.inc/Makefile.inc.${SCOTCH_ARCH} Makefile.inc
- cp -rf * ${BUILDDIR}
-}
-
-package_specific_install () {
- make ptesmumps install -j ${PROCS} prefix=${INSTALL_PATH}
- cp -f ../lib/*scotc*[^m].a ${INSTALL_PATH}/lib
- cp -f ../lib/*esmumps.a ${INSTALL_PATH}/lib
-}
-
-package_specific_register () {
- export SCOTCH_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=1.4.1
-NAME=setuptools-${VERSION}
-SOURCE=https://pypi.python.org/packages/source/s/setuptools/
-PACKING=.tar.gz
-BUILDCHAIN=python
+++ /dev/null
-NAME=slepc-3.4.4
-SOURCE=http://www.grycap.upv.es/slepc/download/download.php?filename=
-PACKING=.tar.gz
-CHECKSUM=329179c5139027c7b293dd5ab0bc112c
-BUILDCHAIN=custom
-
-package_specific_setup () {
- cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
- patch -p1 --forward < ${ORIG_DIR}/FEniCS/patches/slepc.patch || true
- export SLEPC_DIR=${PWD}
-}
-
-package_specific_build () {
- SLEPC_DIR=${PWD} ./configure --prefix=${INSTALL_PATH}
- make PETSC_ARCH=arch-installed-petsc all
- make PETSC_ARCH=arch-installed-petsc install
-}
-
-package_specific_register () {
- export SLEPC_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=3070800
-NAME=sqlite-autoconf-${VERSION}
-SOURCE=http://www.sqlite.org/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-
-package_specific_build () {
- ./configure --prefix=${INSTALL_PATH}
- make -j ${PROCS}
- make install
-}
+++ /dev/null
-NAME=SuiteSparse-4.0.2
-SOURCE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-EXTRACTSTO=SuiteSparse
-
-package_specific_build () {
- mkdir -p ${INSTALL_PATH}/include/suitesparse
- cat > SuiteSparse_config/SuiteSparse_config.mk << EOF
-#CF = \$(CFLAGS) \$(CPPFLAGS) \$(TARGET_ARCH) -O3 -fexceptions -fPIC
-CF = \$(CFLAGS) \$(CPPFLAGS) \$(TARGET_ARCH) -O3 -fexceptions -fPIC -DNTIMER
-RANLIB = ranlib
-ARCHIVE = \$(AR) \$(ARFLAGS)
-CP = cp -f
-MV = mv -f
-F77 = gfortran
-F77FLAGS = \$(FFLAGS) -O
-F77LIB =
-#LIB = -lm -lrt
-LIB = -lm
-INSTALL_LIB = ${INSTALL_PATH}/lib
-INSTALL_INCLUDE = ${INSTALL_PATH}/include/suitesparse
-XERBLA =
-GPU_BLAS_PATH =
-GPU_CONFIG =
-UMFPACK_CONFIG =
-CHOLMOD_CONFIG = \$(GPU_CONFIG) -DNPARTITION
-SPQR_CONFIG =
-TBB =
-CLEAN = *.o *.obj *.ln *.bb *.bbg *.da *.tcov *.gcov gmon.out *.bak *.d *.gcda *.gcno
-EOF
-
- if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- cat >> SuiteSparse_config/SuiteSparse_config.mk << EOF
-BLAS = -L${ATLAS_LIB_DIR} -lcblas -lf77blas -latlas
-LAPACK = -L${ATLAS_LIB_DIR} -llapack
-EOF
- else
- cat >> SuiteSparse_config/SuiteSparse_config.mk << EOF
-BLAS = -lblas -lgfortran
-LAPACK = -llapack
-EOF
- fi
-
- make
-}
-
-package_specific_install () {
- make install
-}
-
-package_specific_register () {
- export UMFPACK_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=SuiteSparse
-SOURCE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/current/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-
-package_specific_build () {
- perl -pi -e 's/^CFLAGS = -O/CFLAGS = -fPIC -O/g' UFconfig/UFconfig.mk
- perl -pi -e 's/-lgfortran.*n//g' UFconfig/UFconfig.mk
- perl -pi -e 's/-lg2c//g' UFconfig/UFconfig.mk
- if [ ! -e metis-4.0.3.tar.gz ]
- then
- wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.3.tar.gz
- fi
- tar -xzf metis-4.0.3.tar.gz
- ln -sf metis-4.0.3 metis-4.0
- cd metis-4.0
- perl -pi -e 's/COPTIONS =/COPTIONS = -fPIC/g' Makefile.in
- make
- cd ..
- make
-}
-
-package_specific_install () {
- mkdir -p ${INSTALL_PATH}/include/suitesparse
- ln -sf `find ${PWD} -name '*.h' | grep -vi demo | xargs` ${INSTALL_PATH}/include/suitesparse
- ln -sf `find ${PWD} -name 'lib*.a' | xargs` ${INSTALL_PATH}/lib
-}
-
-package_specific_register () {
- export UMFPACK_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=3.4.0
-NAME=SuiteSparse-${VERSION}
-SOURCE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-EXTRACTSTO=SuiteSparse
-
-package_specific_build () {
- sed -i 's/CFLAGS = -O/CFLAGS = -fPIC -O/g' UFconfig/UFconfig.mk
- sed -i 's/CC = cc/CC = mpicc/g' UFconfig/UFconfig.mk
- sed -i 's/CPLUSPLUS = g++/CPLUSPLUS = mpiCC/g' UFconfig/UFconfig.mk
- sed -i 's/F77 = f77/F77 = mpif90/g' UFconfig/UFconfig.mk
- sed -i 's/-lg2c//g' UFconfig/UFconfig.mk
- sed -i 's,-lblas,-L${INSTALL_PATH}/lib/ -lblas,g' UFconfig/UFconfig.mk
- sed -i 's,begin,,g' UFconfig/UFconfig.mk
- sed -i 's,-llapack,-L${INSTALL_PATH}/lib/ -llapack,g' UFconfig/UFconfig.mk
- sed -i 's,XERBLA =,# XERBLA =,g' UFconfig/UFconfig.mk
- sed -i 's,# # XERBLA = ../../UFconfig/xerbla/libxerbla.a, XERBLA = ../../UFconfig/xerbla/libxerbla.a,' UFconfig/UFconfig.mk
- sed -i 's,-fexceptions, -fexceptions,g' UFconfig/UFconfig.mk
-
- if [ ! -e metis-4.0.3.tar.gz ]
- then
- wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.3.tar.gz
- fi
- tar -xzf metis-4.0.3.tar.gz
- ln -sf metis-4.0.3 metis-4.0
- cd metis-4.0
- perl -pi -e 's/COPTIONS =/COPTIONS = -fPIC/g' Makefile
- make -j
- cd ..
- cd UFconfig/xerbla/
- make all
- cd ../../
- make
-}
-
-package_specific_install () {
- mkdir -p ${INSTALL_PATH}/include/suitesparse
- ln -sf `find ${PWD} -name '*.h' | grep -vi demo | xargs` ${INSTALL_PATH}/include/suitesparse
- ln -sf `find ${PWD} -name 'lib*.a' | xargs` ${INSTALL_PATH}/lib
-}
-
-package_specific_register () {
- export UMFPACK_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=swig-2.0.8
-SOURCE=http://downloads.sourceforge.net/swig/
-PACKING=.tar.gz
-CHECKSUM=69f917e870efc0712c06ab53217b28d1
-BUILDCHAIN=autotools
-
-package_specific_setup () {
- if [ ! -z ${SWIG_CC} ]; then
- export TMP_SWIG_CC=${CC}
- export CC=${SWIG_CC}
- fi
- if [ ! -z ${SWIG_CXX} ]; then
- export TMP_SWIG_CXX=${CXX}
- export CXX=${SWIG_CXX}
- fi
-}
-
-package_specific_register () {
- if [ ! -z ${TMP_SWIG_CC} ]; then
- export CC=${TMP_SWIG_CC}
- fi
- if [ ! -z ${TMP_SWIG_CXX} ]; then
- export CXX=${TMP_SWIG_CXX}
- fi
- export SWIG_EXECUTABLE=${INSTALL_PATH}/bin/swig
-}
+++ /dev/null
-NAME=swiginac-1.5.1.1
-SOURCE=http://download.berlios.de/swiginac/
-PACKING=.tgz
-BUILDCHAIN=python
-
-package_specific_setup () {
-python setup.py build
-}
+++ /dev/null
-VERSION=snapshot
-NAME=syfi-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/syfi/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.0.0
-NAME=syfi-${VERSION}
-SOURCE=http://launchpad.net/fenics-syfi/1.0.x/${VERSION}/+download/
-PACKING=.tar.gz
+++ /dev/null
-NAME=fenics-syfi
-SOURCE=lp:
-PACKING=bzr
-BUILDCHAIN=cmake
-
-if [ -x "${SWIG_EXECUTABLE}" ]; then
- CONFOPTS="-D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}"
-fi
+++ /dev/null
-NAME=sympy-0.7.1
-SOURCE=http://pypi.python.org/packages/source/s/sympy/
-PACKING=.tar.gz
-CHECKSUM=3847b5ed5c1531bf3c1b849dc2337253
-BUILDCHAIN=python
+++ /dev/null
-NAME=foo-x.y.z
-SOURCE=http://foo.org/downloads/foo/
-PACKING=[.tar.gz|.tar.bz2|.tbz2|.tgz|.zip|hg|svn|git|bzr]
-BUILDCHAIN=[autotools|python|scons|cmake|custom]
-EXTRACTSTO=barnotfoo
-CONFOPTS=""
-SCONSOPTS=""
-TARGETS=('' install)
-
-package_specific_setup () {
- # Any non-standard configuration and pre-build instructions go
- # here.
-}
-
-package_specific_build () {
- # Any custom build instructions go here. This function is only
- # used if the 'custom' buildchain is defined.
-}
-
-package_specific_install () {
- # Any non-standard installation and post-build instructions go
- # here.
-}
-
-package_specific_register () {
- # Any environment variables defined by this package that are
- # required by other packages go here.
-}
+++ /dev/null
-VERSION=11.8.1
-NAME=trilinos-${VERSION}-Source
-SOURCE=http://trilinos.sandia.gov/download/files/
-PACKING=.tar.gz
-CHECKSUM=3c9465b6d63d824e9dc0365ca73c3370
-BUILDCHAIN=cmake
-
-package_specific_setup () {
-#echo "Build ${NAME}"
-
-CONFOPTS="-D Trilinos_ENABLE_OpenMP:BOOL=OFF \
- -D TPL_ENABLE_TBB:BOOL=OFF \
- -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
- -D Trilinos_ENABLE_Epetra:BOOL=ON \
- -D Trilinos_ENABLE_EpetraExt:BOOL=ON \
- -D Trilinos_ENABLE_Amesos:BOOL=ON \
- -D Trilinos_ENABLE_Belos:BOOL=ON \
- -D Trilinos_ENABLE_ML:BOOL=ON \
- -D Trilinos_ENABLE_PyTrilinos:BOOL=ON \
- -D Trilinos_ENABLE_TESTS:BOOL=OFF \
- -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
- -D Trilinos_ENABLE_Didasko:BOOL=ON \
- -D Trilinos_ENABLE_Sacado:BOOL=ON \
- -D Trilinos_ENABLE_Stratimikos:BOOL=ON \
- -D CMAKE_BUILD_TYPE:STRING=RELEASE \
- -D CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE \
- -D Trilinos_VERBOSE_CONFIGURE:BOOL=FALSE \
- -D TPL_ENABLE_MPI:BOOL=ON \
- -D TPL_ENABLE_UMFPACK:BOOL=ON \
- -D CMAKE_INSTALL_PREFIX:PATH=${INSTALL_PATH} \
- -D BUILD_SHARED_LIBS:BOOL=ON"
-
-GFORTRAN_EXECUTABLE=$(which gfortran)
-if [ ! -z "${GFORTRAN_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS}
- -D Trilinos_ENABLE_Fortran:BOOL=ON
- -D CMAKE_Fortran_COMPILER:FILEPATH=mpif90"
-else
- CONFOPTS="${CONFOPTS} -D Trilinos_ENABLE_Fortran:BOOL=OFF"
-fi
-
-if [ ! -z "${ATLAS_LIB_DIR}" ]; then
- CONFOPTS="${CONFOPTS}
- -D BLAS_LIBRARY_NAMES=\"cblas;f77blas;atlas\"
- -D BLAS_LIBRARY_DIRS=${ATLAS_LIB_DIR}
- -D LAPACK_LIBRARY_DIRS=${ATLAS_LIB_DIR}"
-fi
-
-if [ ! -z "${UMFPACK_DIR}" ]; then
- CONFOPTS="${CONFOPTS}
- -D UMFPACK_INCLUDE_DIRS=${UMFPACK_DIR}/include/suitesparse
- -D UMFPACK_LIBRARY_DIRS=${UMFPACK_DIR}/lib
- -D UMFPACK_LIBRARY_NAMES=\"umfpack;cholmod;camd;ccolamd;colamd;amd;suitesparseconfig\""
-elif [ ! -z "${UMFPACK_INCLUDE_DIR}" ]; then
- CONFOPTS="${CONFOPTS} -D UMFPACK_INCLUDE_DIRS=${UMFPACK_INCLUDE_DIR}"
-fi
-
-if [ -x "${SWIG_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}"
-fi
-
-if [ ! -z "${PYTHON_INCLUDE_DIR}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR}"
-fi
-
-if [ ! -z "${PYTHON_LIBRARY}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_LIBRARY:PATH=${PYTHON_LIBRARY}"
-fi
-
-
-#TRILINOS_SOURCE="${UNPACK_PATH}/${EXTRACTSTO}"
-
-# configure
-#cmake ${CONFOPTS} ${TRILINOS_SOURCE}
-
-# make
-#make -j${PROCS}
-#make install
-}
-
-package_specific_register () {
- export TRILINOS_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-NAME=trilinos-10.10.2-Source
-SOURCE=http://trilinos.sandia.gov/download/files/
-PACKING=.tar.gz
-BUILDCHAIN=cmake
-
-MKLINCLUDE="/soft/intel/mkl/10.3.6.233/composer_xe_2011_sp1.6.233/mkl/include"
-COMPILERFLAGS="'-fPIC -DMPICH_IGNORE_CXX_SEEK -m64 -DMKL_ILP64 -lpthread'"
-MKLLIBS="\"-lmkl_rt\""
-
-CONFOPTS="-D CMAKE_CXX_COMPILER:FILEPATH='mpicxx'
- -D CMAKE_C_COMPILER:FILEPATH='mpicc'
- -D Trilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos
- -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON
- -D Trilinos_ENABLE_PyTrilinos:BOOL=ON
- -D Trilinos_ENABLE_Fortran:BOOL=OFF
- -D Trilinos_ENABLE_TESTS:BOOL=ON
- -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF
- -D CMAKE_BUILD_TYPE:STRING=Release
- -D BUILD_SHARED_LIBS:BOOL=ON
- -D TPL_ENABLE_MPI:BOOL=ON
- -D CMAKE_CXX_FLAGS:STRING=${COMPILERFLAGS}
- -D CMAKE_C_FLAGS:STRING=${COMPILERFLAGS}
- -D CMAKE_SKIP_BUILD_RPATH:BOOL=ON
- -D CMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
- -D BLAS_INCLUDE_DIRS:PATH=${MKLINCLUDE}
- -D LAPCK_INCLUDE_DIRS:PATH=${MKLINCLUDE}
- -D TPL_BLAS_LIBRARIES:STRING=${MKLLIBS}
- -D TPL_LAPACK_LIBRARIES:STRING=${MKLLIBS}"
-
-if [ -x "${SWIG_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}"
-fi
-
-package_specific_register () {
- export TRILINOS_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=snapshot
-NAME=ufc-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/ufc/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=2.3.0
-NAME=ufc-${VERSION}
-SOURCE=https://bitbucket.org/fenics-project/ufc-deprecated/downloads/
-PACKING=.tar.gz
-CHECKSUM=11ee6ff8b7b44705932c6ebc6ae265d3
-BUILDCHAIN=cmake
+++ /dev/null
-NAME=ufc-deprecated
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=nothing
-
-if [ -x "${SWIG_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE}"
-fi
-
-if [ ! -z "${PYTHON_EXECUTABLE}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}"
-fi
-
-if [ ! -z "${PYTHON_INCLUDE_DIR}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_INCLUDE_DIR:PATH=${PYTHON_INCLUDE_DIR}"
-fi
-
-if [ ! -z "${PYTHON_LIBRARY}" ]; then
- CONFOPTS="${CONFOPTS} -D PYTHON_LIBRARY:PATH=${PYTHON_LIBRARY}"
-fi
+++ /dev/null
-VERSION=snapshot
-NAME=ufl-${VERSION}
-SOURCE=http://fenicsproject.org/pub/software/ufl/
-PACKING=.tar.gz
+++ /dev/null
-VERSION=1.4.0
-NAME=ufl-${VERSION}
-SOURCE=https://bitbucket.org/fenics-project/ufl/downloads/
-PACKING=.tar.gz
-CHECKSUM=4c04628f3dd8e68bbfe7af0f4ed583eb
+++ /dev/null
-NAME=ufl
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=python
+++ /dev/null
-NAME=uflacs
-SOURCE=https://bitbucket.org/fenics-project/
-PACKING=git
-BUILDCHAIN=python
+++ /dev/null
-VERSION=1.0.0
-NAME=viper-${VERSION}
-SOURCE=http://launchpad.net/fenics-viper/1.0.x/${VERSION}/+download/
-PACKING=.tar.gz
-CHECKSUM=4aa7d37934c98e637b45eb9cc7d03cdd
+++ /dev/null
-NAME=fenics-viper
-SOURCE=lp:
-PACKING=bzr
-BUILDCHAIN=python
+++ /dev/null
-NAME=vtk-5.10.1
-SOURCE=http://www.vtk.org/files/release/5.10/
-PACKING=.tar.gz
-BUILDCHAIN=cmake
-EXTRACTSTO=VTK5.10.1
-
-CONFOPTS="-D CMAKE_BUILD_TYPE:STRING=Release
- -D BUILD_TESTING:BOOL=OFF
- -D BUILD_SHARED_LIBS:BOOL=ON
- -D VTK_WRAP_PYTHON:BOOL=ON
- -D VTK_USE_TK:BOOL=ON
- -D VTK_USE_GL2PS:BOOL=ON
- -D VTK_USE_QT:BOOL=ON"
-
-if [ -d "${VTK_DATA_ROOT}" ]; then
- CONFOPTS="${CONFOPTS} -D VTK_DATA_ROOT:PATH=${VTK_DATA_ROOT}"
-fi
-
-package_specific_setup () {
-# chmod 600 Utilities/vtktiff/tif_fax3sm.c
-}
-
-package_specific_register () {
- export LD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${LD_LIBRARY_PATH}
- export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${DYLD_LIBRARY_PATH}
-}
+++ /dev/null
-NAME=vtkdata-5.10.1
-SOURCE=http://www.vtk.org/files/release/5.10/
-PACKING=.tar.gz
-BUILDCHAIN=custom
-EXTRACTSTO=VTKData5.10.1
-
-package_specific_register () {
- export VTK_DATA_ROOT=${PWD}
-}
+++ /dev/null
-NAME=vtk-5.10.1
-SOURCE=http://www.vtk.org/files/release/5.10/
-PACKING=.tar.gz
-BUILDCHAIN=cmake
-EXTRACTSTO=VTK5.10.1
-
-CONFOPTS="-D CMAKE_BUILD_TYPE:STRING=Release
- -D BUILD_TESTING:BOOL=OFF
- -D BUILD_SHARED_LIBS:BOOL=ON
- -D VTK_WRAP_PYTHON:BOOL=ON
- -D VTK_USE_TK:BOOL=ON
- -D VTK_USE_GL2PS:BOOL=ON
- -D VTK_USE_QT=ON"
-
-if [ -d "${VTK_DATA_ROOT}" ]; then
- CONFOPTS="${CONFOPTS} -D VTK_DATA_ROOT:PATH=${VTK_DATA_ROOT}"
-fi
-
-package_specific_setup () {
-# chmod 600 Utilities/vtktiff/tif_fax3sm.c
-}
-
-package_specific_register () {
- export LD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${LD_LIBRARY_PATH}
- export DYLD_LIBRARY_PATH=${INSTALL_PATH}/lib/vtk-5.8:${DYLD_LIBRARY_PATH}
-}
+++ /dev/null
-NAME=zlib-1.2.7
-SOURCE=http://zlib.net/
-PACKING=.tar.gz
-BUILDCHAIN=autotools
+++ /dev/null
-Hack to prevent Armadillo from picking up MKL when we want to build with ATLAS.
---- armadillo-3.2.3.orig/CMakeLists.txt 2012-12-13 11:18:32.399393689 +0100
-+++ armadillo-3.2.3/CMakeLists.txt 2012-12-13 11:18:43.595393294 +0100
-@@ -72,9 +72,9 @@
- else()
- set(ARMA_OS unix)
-
-- include(ARMA_FindMKL)
-- include(ARMA_FindACMLMP)
-- include(ARMA_FindACML)
-+ #include(ARMA_FindMKL)
-+ #include(ARMA_FindACMLMP)
-+ #include(ARMA_FindACML)
-
- message(STATUS "MKL_FOUND = ${MKL_FOUND}")
- message(STATUS "ACMLMP_FOUND = ${ACMLMP_FOUND}")
+++ /dev/null
---- src/CGAL/KDS_Log.cpp~ 2009-07-24 13:41:31.000000000 +0100
-+++ src/CGAL/KDS_Log.cpp 2010-01-20 17:38:15.000000000 +0000
-@@ -23,7 +23,7 @@
- #include <CGAL/Kinetic/internal/debug_counters.h>
- #include <iostream>
- CGAL_BEGIN_NAMESPACE
--Log::State Log::state_;
-+// Log::State Log::state_;
- CGAL_END_NAMESPACE
- CGAL_KINETIC_BEGIN_INTERNAL_NAMESPACE
-
+++ /dev/null
-diff -Nru dolfin-1.0-beta.orig/cmake/modules/FindArmadillo.cmake dolfin-1.0-beta/cmake/modules/FindArmadillo.cmake
---- dolfin-1.0-beta.orig/cmake/modules/FindArmadillo.cmake 2011-09-23 11:17:38.459186000 -0500
-+++ dolfin-1.0-beta/cmake/modules/FindArmadillo.cmake 2011-09-23 11:20:56.447560000 -0500
-@@ -173,6 +173,13 @@
- endif()
- endif()
-
-+# Armadillo test is not working, but this does not seem to be a problem,
-+# so ignore a failed test
-+if (NOT ARMADILLO_TEST_RUNS)
-+ MESSAGE( "Warning: Armadillo test run failed. Ignoring." )
-+ set(ARMADILLO_TEST_RUNS TRUE)
-+endif()
-+
- # Standard package handling
- include(FindPackageHandleStandardArgs)
- find_package_handle_standard_args(Armadillo
\ No newline at end of file
+++ /dev/null
-diff -Nru madlib-1.3.0.orig/Benchmarks/moveIt/Parameters.h madlib-1.3.0/Benchmarks/moveIt/Parameters.h
---- madlib-1.3.0.orig/Benchmarks/moveIt/Parameters.h 2010-11-12 15:00:57.000000000 +0100
-+++ madlib-1.3.0/Benchmarks/moveIt/Parameters.h 2010-11-12 15:00:57.000000000 +0100
-@@ -18,6 +18,7 @@
- #include "SizeFieldBase.h"
- #include "LocalSizeField.h"
-
-+#include <math.h>
- #include <string.h>
- using std::string;
- #include <list>
-diff -Nru madlib-1.3.0.orig/configure madlib-1.3.0/configure
---- madlib-1.3.0.orig/configure 2010-11-12 15:00:57.000000000 +0100
-+++ madlib-1.3.0/configure 2010-11-17 15:58:05.000000000 +0100
-@@ -18697,7 +18697,7 @@
-
-
- includedir="${prefix}/include/MAdLib"
--allincludedir="${prefix}/include_all/MAdLib"
-+allincludedir="${prefix}/include/MAdLib"
-
-
-
-diff -Nru madlib-1.3.0.orig/configure.ac madlib-1.3.0/configure.ac
---- madlib-1.3.0.orig/configure.ac 2010-11-12 15:00:57.000000000 +0100
-+++ madlib-1.3.0/configure.ac 2010-11-17 15:58:14.000000000 +0100
-@@ -724,7 +724,7 @@
- AC_CONFIG_MACRO_DIR([m4])
-
- includedir="${prefix}/include/MAdLib"
--allincludedir="${prefix}/include_all/MAdLib"
-+allincludedir="${prefix}/include/MAdLib"
-
- dnl Write output
- AC_SUBST(UNAME)
-diff -Nru madlib-1.3.0.orig/Mesh/MshTags.h madlib-1.3.0/Mesh/MshTags.h
---- madlib-1.3.0.orig/Mesh/MshTags.h 2010-11-12 15:00:57.000000000 +0100
-+++ madlib-1.3.0/Mesh/MshTags.h 2010-11-12 15:00:57.000000000 +0100
-@@ -14,6 +14,7 @@
- #ifndef MSHTAGS__H
- #define MSHTAGS__H
-
-+#include <cstdio>
- #include <string>
- #include <sstream>
-
+++ /dev/null
-diff -Nru petsc-3.2-p6.orig/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu petsc-3.2-p6/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu
---- petsc-3.2-p6.orig/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu 2012-02-09 14:29:16.530465405 +0100
-+++ petsc-3.2-p6/src/mat/impls/aij//mpi/mpicusp/mpiaijAssemble.cu 2012-02-09 14:51:53.720465807 +0100
-@@ -15,7 +15,7 @@
- #include <cusp/array1d.h>
- #include <cusp/print.h>
- #include <cusp/coo_matrix.h>
--#include <cusp/detail/device/reduce_by_key.h>
-+//#include <cusp/detail/device/reduce_by_key.h>
-
- #include <cusp/io/matrix_market.h>
-
-@@ -430,7 +430,8 @@
- // the Cusp one is 2x faster, but still not optimal
- // This could possibly be done in-place
- ierr = PetscInfo(J, "Compressing matrices\n");CHKERRQ(ierr);
-- cusp::detail::device::reduce_by_key
-+ //cusp::detail::device::reduce_by_key
-+ thrust::reduce_by_key
- (thrust::make_zip_iterator(thrust::make_tuple(diagCOO.row_indices.begin(), diagCOO.column_indices.begin())) + diagonalOffset,
- thrust::make_zip_iterator(thrust::make_tuple(diagCOO.row_indices.end(), diagCOO.column_indices.end())),
- diagCOO.values.begin() + diagonalOffset,
-@@ -438,7 +439,8 @@
- A.values.begin(),
- thrust::equal_to< thrust::tuple<IndexType,IndexType> >(),
- thrust::plus<ValueType>());
-- cusp::detail::device::reduce_by_key
-+ //cusp::detail::device::reduce_by_key
-+ thrust::reduce_by_key
- (thrust::make_zip_iterator(thrust::make_tuple(offdiagCOO.row_indices.begin(), offdiagCOO.column_indices.begin())) + offdiagonalOffset,
- thrust::make_zip_iterator(thrust::make_tuple(offdiagCOO.row_indices.end(), offdiagCOO.column_indices.end())),
- offdiagCOO.values.begin() + offdiagonalOffset,
-diff -Nru petsc-3.2-p6.orig/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu petsc-3.2-p6/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu
---- petsc-3.2-p6.orig/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu 2012-02-09 14:30:01.830465419 +0100
-+++ petsc-3.2-p6/src/mat/impls/aij//seq/seqcusp/aijAssemble.cu 2012-02-09 14:51:55.470465809 +0100
-@@ -14,7 +14,7 @@
- #include <cusp/array1d.h>
- #include <cusp/print.h>
- #include <cusp/coo_matrix.h>
--#include <cusp/detail/device/reduce_by_key.h>
-+//#include <cusp/detail/device/reduce_by_key.h>
-
- #include <cusp/io/matrix_market.h>
-
-@@ -258,9 +258,10 @@
- // sum values with the same (i,j) index
- // XXX thrust::reduce_by_key is unoptimized right now, so we provide a SpMV-based one in cusp::detail
- // the Cusp one is 2x faster, but still not optimal
-+ // FEniCS patch: reduce_by_key is removed in Cusp 0.3, so we use the Thrust version to ensure compatiblity
- // This could possibly be done in-place
- ierr = PetscInfo(J, "Compressing matrix\n");CHKERRQ(ierr);
--#if 1
-+#if 0
- cusp::detail::device::reduce_by_key
- (thrust::make_zip_iterator(thrust::make_tuple(COO.row_indices.begin(), COO.column_indices.begin())),
- thrust::make_zip_iterator(thrust::make_tuple(COO.row_indices.end(), COO.column_indices.end())),
+++ /dev/null
-diff -Nru Python-2.7.2.orig/Makefile.pre.in Python-2.7.2/Makefile.pre.in
---- Python-2.7.2.orig/Makefile.pre.in 2013-04-08 12:39:28.000000000 +0200
-+++ Python-2.7.2/Makefile.pre.in 2013-04-08 12:40:25.000000000 +0200
-@@ -426,7 +426,7 @@
- libpython$(VERSION).so: $(LIBRARY_OBJS)
- if test $(INSTSONAME) != $(LDLIBRARY); then \
- $(BLDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
-- $(LN) -f $(INSTSONAME) $@; \
-+ $(LN) -fs $(INSTSONAME) $@; \
- else \
- $(BLDSHARED) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
- fi
-@@ -792,7 +792,7 @@
- then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
- else true; \
- fi
-- (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
-+ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) $(PYTHON))
- -rm -f $(DESTDIR)$(BINDIR)/python-config
- (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
- -test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
+++ /dev/null
-diff -Nru ScientificPython-2.8.orig/setup.py ScientificPython-2.8/setup.py
---- ScientificPython-2.8.orig/setup.py 2008-10-28 14:31:44.000000000 +0100
-+++ ScientificPython-2.8/setup.py 2010-08-20 09:29:16.000000000 +0200
-@@ -40,13 +40,17 @@
- extra_compile_args.append("-DNUMARRAY=1")
- else :
- extra_compile_args.append("-DNUMPY=1")
-- if sys.platform == 'win32':
-- arrayobject_h_include = [os.path.join(sys.prefix,
-- "Lib/site-packages/numpy/core/include")]
-- else:
-- arrayobject_h_include = [os.path.join(sys.prefix,
-- "lib/python%s.%s/site-packages/numpy/core/include"
-- % sys.version_info [:2])]
-+ try:
-+ import numpy
-+ arrayobject_h_include = [numpy.get_include()]
-+ except ImportError:
-+ if sys.platform == 'win32':
-+ arrayobject_h_include = [os.path.join(sys.prefix,
-+ "Lib/site-packages/numpy/core/include")]
-+ else:
-+ arrayobject_h_include = [os.path.join(sys.prefix,
-+ "lib/python%s.%s/site-packages/numpy/core/include"
-+ % sys.version_info [:2])]
-
- math_libraries = []
- if sys.platform != 'win32':
+++ /dev/null
-diff -Nru slepc-3.4.1.orig/config/configure.py slepc-3.4.1/config/configure.py
---- slepc-3.4.1.orig/config/configure.py 2013-08-14 10:14:04.157596562 +0200
-+++ slepc-3.4.1/config/configure.py 2013-08-14 10:14:37.341561962 +0200
-@@ -297,8 +297,8 @@
- pkgconfig = open(os.sep.join([pkgconfigdir,'SLEPc.pc']),'w')
- except:
- sys.exit('ERROR: cannot create pkgconfig file in ' + pkgconfigdir)
--if prefixinstall and os.path.isfile(os.sep.join([prefixdir,'include','slepc.h'])):
-- sys.exit('ERROR: prefix directory ' + prefixdir + ' contains files from a previous installation')
-+#if prefixinstall and os.path.isfile(os.sep.join([prefixdir,'include','slepc.h'])):
-+# sys.exit('ERROR: prefix directory ' + prefixdir + ' contains files from a previous installation')
-
- # Create temporary directory and makefile for running tests
- try:
+++ /dev/null
-diff -Nru trilinos-11.0.3-Source.orig/cmake/TPLs/FindTPLUMFPACK.cmake trilinos-11.0.3-Source/cmake/TPLs/FindTPLUMFPACK.cmake
---- trilinos-11.0.3-Source.orig/cmake/TPLs/FindTPLUMFPACK.cmake 2012-11-21 10:00:57.966984315 +0100
-+++ trilinos-11.0.3-Source/cmake/TPLs/FindTPLUMFPACK.cmake 2012-11-21 10:08:21.946968616 +0100
-@@ -55,7 +55,14 @@
-
- INCLUDE(TribitsTplDeclareLibraries)
-
--TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK
-- REQUIRED_HEADERS umfpack.h amd.h UFconfig.h
-- REQUIRED_LIBS_NAMES umfpack amd
-- )
-+IF (APPLE)
-+ TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK
-+ REQUIRED_HEADERS umfpack.h amd.h UFconfig.h
-+ REQUIRED_LIBS_NAMES umfpack amd SuiteSparse
-+ )
-+ELSE()
-+ TRIBITS_TPL_DECLARE_LIBRARIES( UMFPACK
-+ REQUIRED_HEADERS umfpack.h amd.h UFconfig.h
-+ REQUIRED_LIBS_NAMES umfpack amd
-+ )
-+ENDIF()
-diff -Nru trilinos-11.0.3-Source.orig/packages/PyTrilinos/src/CMakeLists.txt trilinos-11.0.3-Source/packages/PyTrilinos/src/CMakeLists.txt
---- trilinos-11.0.3-Source.orig/packages/PyTrilinos/src/CMakeLists.txt 2012-11-21 10:00:58.226984311 +0100
-+++ trilinos-11.0.3-Source/packages/PyTrilinos/src/CMakeLists.txt 2012-11-21 10:09:24.498966402 +0100
-@@ -195,6 +195,10 @@
- PROPERTIES LINK_FLAGS "${EXTRA_LINK_ARGS}"
- )
-
-+if (APPLE)
-+ TARGET_LINK_LIBRARIES(pytrilinos ${PYTHON_LIBRARIES})
-+endif()
-+
- #
- # Define the PyTrilinos swig setup
- SET(CMAKE_SWIG_FLAGS "")
+++ /dev/null
-# CentOS/RHEL 7
-
-# This build script assumes that you have several packages already
-# installed via RHEL's yum using the following command:
-#
-# Install the EPEL 7 repository.
-# Install the nux-dextop or rpmfusion el7 repository.
-#
-# su -c 'yum groupinstall "Development and Creative Workstation"'
-# su -c 'yum groupinstall "Development Tools"'
-#
-# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \
-# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \
-# atlas-devel suitesparse-devel blas-devel lapack-devel python-devel cmake \
-# mpfr-devel armadillo-devel gmp-devel cppunit-devel flex bison bzip2-devel \
-# python-ply eigen3 hdf5 hdf5-devel vtk-devel vtk-python vtk-qt vtk-qt-python \
-# vtk-qt-tcl vtk-tcl vtk-testing vtkdata.noarch vtk tk tk-devel tcl tcl-devel \
-# netcdf-cxx netcdf-cxx-devel netcdf netcdf-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected. For this, on a 32-bit operating
-# system, run (64bit OS):
-#
-# module load mpi/openmpi-x86_64
-#
-# After CANDI has completed, please make sure the following
-# environment variable is set before running any Python DOLFIN
-# programs:
-#
-# export BOOST_DIR=${INSTALL_PATH}
-#
-# Also, if you are using SELinux, you may need to disable it to run
-# DOLFIN programs.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default SCOTCH_ARCH=pc_linux2
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-once:boost
-once:pcre
-once:scientificpython
-once:numpy
-once:scipy
-once:matplotlib
-once:ipython
-once:sympy
-once:cgal
-once:bazaar
-once:scons
-once:mtl
-once:hdf5
-once:parmetis
-once:swig
-once:trilinos
-once:petsc
-once:slepc
-once:armadillo
-once:scotch
-once:vtkwithqt
-fiat
-ferari
-ufl
-ffc
-# syfi
-viper
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# Fedora 19
-
-# This build script assumes that you have several packages already
-# installed via Fedora's yum using the following command:
-#
-# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \
-# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \
-# atlas-devel suitesparse-devel blas-devel \
-# lapack-devel cln-devel ginac-devel python-devel cmake \
-# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \
-# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel \
-# vtk vtkdata vtk-devel vtk-python tk tk-devel tcl tcl-devel \
-# sphinx python-sphinx python-numpydoc'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected. For this, on a 32-bit operating
-# system, run:
-#
-# module load openmpi-i386
-#
-# or on a 64-bit operating system, run:
-#
-# module load openmpi-x86_64
-#
-# After Dorsal has completed, please make sure the following
-# environment variable is set before running any Python DOLFIN
-# programs:
-#
-# export BOOST_DIR=${INSTALL_PATH}
-#
-# Also, if you are using SELinux, you may need to disable it to run
-# DOLFIN programs.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default SCOTCH_ARCH=pc_linux2
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-once:hdf5
-once:boost
-once:parmetis
-once:trilinos
-once:petsc
-once:slepc
-once:vtkwithqt
-# swiginac
-# once:scotch
-fiat
-ferari
-ufl
-ffc
-# syfi
-viper
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# Fedora 20
-
-# This build script assumes that you have several packages already
-# installed via Fedora's yum using the following command:
-#
-# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \
-# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \
-# atlas-devel suitesparse-devel blas-devel \
-# lapack-devel cln-devel ginac-devel python-devel cmake \
-# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \
-# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel \
-# vtk vtkdata vtk-devel vtk-python tk tk-devel tcl tcl-devel \
-# sphinx python-sphinx python-numpydoc octave-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected. For this, on a 32-bit operating
-# system, run:
-#
-# module load openmpi-i386
-#
-# or on a 64-bit operating system, run:
-#
-# module load openmpi-x86_64
-#
-# After Dorsal has completed, please make sure the following
-# environment variable is set before running any Python DOLFIN
-# programs:
-#
-# export BOOST_DIR=${INSTALL_PATH}
-#
-# Also, if you are using SELinux, you may need to disable it to run
-# DOLFIN programs.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default SCOTCH_ARCH=pc_linux2
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-once:mpi4py
-once:numpy
-once:scipy
-once:matplotlib
-once:ipython
-once:sympy
-once:hdf5
-once:boost
-once:swig
-once:parmetis
-once:trilinos
-once:petsc
-once:slepc
-# once:sphinx
-# swiginac
-once:scotch
-# once:pastix
-fiat
-ferari
-ufl
-ffc
-# syfi
-viper
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# RHEL 6
-
-# This build script assumes that you have several packages already
-# installed via RHEL's yum using the following command:
-#
-# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \
-# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \
-# vtk-python atlas-devel suitesparse-devel blas-devel \
-# lapack-devel cln-devel ginac-devel python-devel cmake \
-# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \
-# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected. For this, on a 32-bit operating
-# system, run:
-#
-# module load openmpi-i386
-#
-# or on a 64-bit operating system, run:
-#
-# module load openmpi-x86_64
-#
-# After Dorsal has completed, please make sure the following
-# environment variable is set before running any Python DOLFIN
-# programs:
-#
-# export BOOST_DIR=${INSTALL_PATH}
-#
-# Also, if you are using SELinux, you may need to disable it to run
-# DOLFIN programs.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default SCOTCH_ARCH=pc_linux2
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-once:boost
-once:pcre
-once:scientificpython
-once:numpy
-once:scipy
-once:matplotlib
-once:ipython
-once:sympy
-once:cgal
-once:bazaar
-once:scons
-once:mtl
-once:hdf5
-once:parmetis
-once:swig
-once:trilinos
-once:petsc
-once:slepc
-once:armadillo
-once:scotch
-fiat
-ferari
-ufl
-ffc
-# syfi
-viper
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# RHEL 7
-
-# This build script assumes that you have several packages already
-# installed via RHEL's yum using the following command:
-#
-# su -c 'yum install -y redhat-lsb bzr bzrtools subversion \
-# libxml2-devel gcc gcc-c++ openmpi-devel openmpi numpy swig wget \
-# atlas-devel suitesparse-devel blas-devel \
-# lapack-devel cln-devel ginac-devel python-devel cmake \
-# ScientificPython mpfr-devel armadillo-devel gmp-devel CGAL-devel \
-# cppunit-devel flex bison bzip2-devel python-ply eigen3 scotch scotch-devel \
-# hdf5 hdf5-devel vtk-devel vtk-python vtk-qt vtk-qt-python \
-# vtk-qt-tcl vtk-tcl vtk-testing vtkdata.noarch vtk \
-# netcdf-cxx netcdf-cxx-devel netcdf netcdf-devel json-glibc-devel jsoncpp-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected. For this, on a 32-bit operating
-# system, run:
-#
-# module load openmpi-i386
-#
-# or on a 64-bit operating system, run:
-#
-# module load openmpi-x86_64
-#
-# After Dorsal has completed, please make sure the following
-# environment variable is set before running any Python DOLFIN
-# programs:
-#
-# export BOOST_DIR=${INSTALL_PATH}
-#
-# Also, if you are using SELinux, you may need to disable it to run
-# DOLFIN programs.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default SCOTCH_ARCH=pc_linux2
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-once:boost
-once:pcre
-once:scientificpython
-once:numpy
-once:scipy
-once:matplotlib
-once:ipython
-once:sympy
-once:cgal
-once:bazaar
-once:scons
-once:mtl
-once:hdf5
-once:parmetis
-once:swig
-once:trilinos
-once:petsc
-once:slepc
-once:armadillo
-once:scotch
-fiat
-ferari
-ufl
-ffc
-# syfi
-viper
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# Ubuntu 13.10 (Saucy Salamander)
-
-# This build script assumes that you have several packages already
-# installed via Ubuntu's apt-get using the following commands:
-#
-# sudo apt-get install bzr bzrtools cmake flex g++ gfortran \
-# libarmadillo-dev libatlas-base-dev libboost-dev \
-# libboost-{filesystem,iostreams,mpi,program-options,thread,math,timer,chrono}-dev \
-# libcln-dev libcppunit-dev libginac-dev \
-# liblapack-dev libmpfr-dev libopenmpi-dev libptscotch-dev \
-# libsuitesparse-dev libxml2-dev openmpi-bin pkg-config \
-# python-dev python-numpy python-scientific python-vtk subversion swig \
-# wget bison libhwloc-dev python-ply libvtk5-dev python-netcdf \
-# libhdf5-openmpi-dev libeigen3-dev
-#
-# Also, if you have multiple MPI libraries installed, make sure
-# "sudo update-alternatives --config mpi" is set to openmpi.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-cgal
-parmetis
-trilinos
-petsc
-slepc
-fiat
-#ferari
-ufl
-ffc
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# Ubuntu 14.04 LTS
-
-# This build script assumes that you have several packages already
-# installed via Ubuntu's apt-get using the following commands:
-#
-# sudo apt-get install bzr bzrtools cmake flex g++ gfortran \
-# libarmadillo-dev libatlas-base-dev libboost-dev \
-# libboost-{filesystem,iostreams,mpi,program-options,thread,math,timer,chrono}-dev \
-# libcln-dev libcppunit-dev libginac-dev \
-# liblapack-dev libmpfr-dev libopenmpi-dev libptscotch-dev \
-# libsuitesparse-dev libxml2-dev openmpi-bin pkg-config \
-# python-dev python-numpy python-scientific python-vtk subversion swig \
-# wget bison libhwloc-dev python-ply libvtk5-dev python-netcdf \
-# libhdf5-openmpi-dev libeigen3-dev libpcre++-dev
-#
-# Also, if you have multiple MPI libraries installed, make sure
-# "sudo update-alternatives --config mpi" is set to openmpi.
-##
-
-# Platform specific variables
-default PETSC_ARCH=linux-gnu-cxx-opt
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-skip:FEniCS-prepare
-once:cgal
-once:parmetis
-once:swig
-once:trilinos
-once:petsc
-once:slepc
-fiat
-#ferari
-ufl
-ffc
-instant
-dolfin
-skip:FEniCS
-)
+++ /dev/null
-# Global configuration variables go here. You will want to tweak this
-# file to suit your needs. If you want to keep local changes that are
-# not overwritten by repository updates, those can be written
-# to local.cfg instead (entries there will override those in this file).
-
-# Meta-project to build
-PROJECT=FEniCS
-CLEAN_BUILD=false
-
-COMPILER=native-openmpi
-#COMPILERBASE=gcc-4.9.0
-#COMPILERBASE=llvm
-#COMPILERMPI=openmpi-1.6.5
-#COMPILERMPI=mpich-3.0.4
-#COMPILER=${COMPILERBASE}-${COMPILERMPI}
-
-PREFIX_PATH=~/apps/candi
-
-# Where do you want the downloaded source files to go?
-DOWNLOAD_PATH=${PREFIX_PATH}/src
-
-# Where do you want to unpack source files to go?
-UNPACK_PATH=${PREFIX_PATH}/unpack/${PROJECT}
-
-# Where do you want the build files to go?
-BUILD_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}-build
-
-# Where do you want the compiled software installed?
-INSTALL_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}
-
-# How many processes would you like to build using?
-PROCS=1
-
-# Would you like to build stable versions of projects?
-STABLE_BUILD=true
-#STABLE_BUILD=false
-# Would you like to use snapshots when using STABLE_BUILD=false?
-USE_SNAPSHOTS=false
-