diff --git a/conf-scripts/bc2-conf b/conf-scripts/bc2-conf deleted file mode 100755 index f079924dd0578d291b1a81bb7555be7cf3a4e9b1..0000000000000000000000000000000000000000 --- a/conf-scripts/bc2-conf +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# This script is aware of out-of-source builds. Just call it from within the -# build directory. Does not work from top-level dir. -# Meant to work on bc2 cluster (and probably nowhere else)! - -function usage_centos6 -{ - echo 'usage:' - echo ' bc2-conf [OPTIONS]' - echo ' If no OPTIONS given, a default OST module is loaded.' - echo ' If any OPTIONS given, they must contain one special option:' - echo ' -DOST_ROOT=<PATH TO OST/stage>, which points to a specific OST path.' - echo ' In that case, you must have all dependencies of OST loaded as modules' - echo ' before calling this function!' - echo ' Other valid options are anything that CMake accepts.' - exit 1 -} - -NUM_PARAMS=$# -CENTOS_RELEASE=$(lsb_release -r |awk {'print $2'}) -CENTOS_MAJOR=(${CENTOS_RELEASE//./ }) -PROMOD3_SRC=$(cd `dirname $0`; pwd) -# Going up one level is intentionally, please go out of source. Just create -# a directory at your repository root, prefixed 'build'. Change into it and -# call script from there. -PROMOD3_SRC=${PROMOD3_SRC}/.. - -if test "$CENTOS_MAJOR" == "6"; then - # configuration for the new environment - - # checking to switch OST_ROOT - cmd_params= - if test "$NUM_PARAMS" -gt "0"; then - IFS=" " - for opt in $@; do - if test ${opt:0:11} == "-DOST_ROOT="; then - EBROOTOPENSTRUCTURE=$(cd ${opt:11}; pwd) - else - cmd_params="${cmd_params} ${opt}" - fi - done - else - module load OpenStructure/.1.7.0-RC-goolf-1.4.10_20170822 - fi - - # load required modules - module load git/1.8.5.6-goolf-1.4.10 \ - CMake/2.8.12-goolf-1.4.10 \ - Python/2.7.5-goolf-1.4.10 \ - Eigen/3.3.1 \ - Boost/1.53.0-goolf-1.4.10-Python-2.7.5 - # run cmake - cmake $PROMOD3_SRC \ - -DOST_ROOT=$EBROOTOPENSTRUCTURE \ - -DPYTHON_ROOT=$EBROOTPYTHON \ - -DEIGEN3_INCLUDE_DIR="${EBROOTEIGEN}/include" \ - -DBOOST_ROOT=$EBROOTBOOST \ - -DDISABLE_DOCUMENTATION=ON \ - -DOPTIMIZE=1 -DENABLE_SSE=1 \ - $cmd_params -else - echo 'Only the CentOS 6 version of bc2 is supported' - # TODO: update for CentOS 7 -fi - - -## Emacs magic -# Local Variables: -# mode: shell-script -# End: - -# LocalWords: SRC OST promod CMake NUM PARAMS lt fi cd dir centos bc EIGEN -# LocalWords: pwd dirname cmake DPYTHON DBOOST conf Eigen DEIGEN diff --git a/conf-scripts/fedora-19-conf b/conf-scripts/fedora-19-conf deleted file mode 100755 index a6f71d254dc0eb6e189519e5d817ecaf24cfd400..0000000000000000000000000000000000000000 --- a/conf-scripts/fedora-19-conf +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -# To find out your version of Fedora, run 'cat /etc/issue'. -# This script is aware of out-of-source builds. Just call it from within the -# build directory. Does not work from top-level dir. - -function usage -{ - echo 'usage:' - echo ' fedora-19-conf <OST_ROOT> [OPTIONS]' - echo ' OST_ROOT is the staging directory of OST.' - echo ' Valid options are anything that CMake accepts.' - exit -} - -NUM_PARAMS=$# -if [[ "$NUM_PARAMS" -lt "1" ]] ; then - echo 'You must specify the locations of OST.'; - usage -fi - -OST_ROOT=$(cd $1; pwd) -shift -PROMOD3_SRC=$(cd `dirname $0`; pwd) -# Going up one level is intentionally, please go out of source. Just create a -# directory at your repository root, prefixed 'build'. Change into it and call -# script from there. -PROMOD3_SRC=${PROMOD3_SRC}/.. - -cmake $PROMOD3_SRC -DOST_ROOT=$OST_ROOT \ - -DPYTHON_ROOT=/usr \ - $@ - -## Emacs magic -# Local Variables: -# mode: shell-script -# End: - -# LocalWords: OSX MacPorts uname SRC OST promod CMake NUM PARAMS lt fi cd -# LocalWords: pwd dirname cmake DPYTHON DBOOST conf diff --git a/conf-scripts/osx-11.4.2-conf b/conf-scripts/osx-11.4.2-conf deleted file mode 100755 index 020730b37689c25caacc315c6218e91956a12640..0000000000000000000000000000000000000000 --- a/conf-scripts/osx-11.4.2-conf +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -# For OSX we assume that all missing dependencies are built with MacPorts -# and are located in '/opt/local'. -# To find out your version of OSX, run 'uname -r'. -# This script is aware of out-of-source builds. Just call it from within the -# build directory. Does not work from top-level dir. - -function usage -{ - echo 'usage:' - echo ' osx-11.4.2-conf <OST_ROOT> [OPTIONS]' - echo ' OST_ROOT is the staging directory of OST.' - echo ' Valid options are anything that CMake accepts.' - exit -} - -NUM_PARAMS=$# -if [[ "$NUM_PARAMS" -lt "1" ]] ; then - echo 'You must specify the locations of OST.'; - usage -fi - -OST_ROOT=$(cd $1; pwd) -shift -PROMOD3_SRC=$(cd `dirname $0`; pwd) -# Going up one level is intentionally, please go out of source. Just create a -# directory at your repository root, prefixed 'build'. Change into it and call -# script from there. -PROMOD3_SRC=${PROMOD3_SRC}/.. - -cmake $PROMOD3_SRC -DOST_ROOT=$OST_ROOT \ - -DPYTHON_ROOT=/opt/local \ - -DBOOST_ROOT=/opt/local \ - -DPYTHON_INCLUDE_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/ \ - -DPYTHON_LIBRARIES=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \ - $@ - -## Emacs magic -# Local Variables: -# mode: shell-script -# End: - -# LocalWords: OSX MacPorts uname SRC OST promod CMake NUM PARAMS lt fi cd -# LocalWords: pwd dirname cmake DPYTHON DBOOST