Skip to content

Commit

Permalink
Introducing LORENE_INSTALL_DIR configuration option.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@29 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
  • Loading branch information
bmundim committed Jul 23, 2011
1 parent 8864be2 commit b2d073a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion LORENE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,17 @@ if [ -z "${LORENE_DIR}" -o "${LORENE_DIR}" = 'BUILD' ]; then
NAME=Lorene
SRCDIR=$(dirname $0)
BUILD_DIR=${SCRATCH_BUILD}/build/${THORN}
INSTALL_DIR=${SCRATCH_BUILD}/external/${THORN}
if [ -z "${LORENE_INSTALL_DIR}" ]; then
echo "BEGIN MESSAGE"
echo "LORENE install directory, LORENE_INSTALL_DIR, not set. Installing in the default configuration location. "
echo "END MESSAGE"
INSTALL_DIR=${SCRATCH_BUILD}/external/${THORN}
else
echo "BEGIN MESSAGE"
echo "LORENE install directory, LORENE_INSTALL_DIR, selected. Installing LORENE at ${LORENE_INSTALL_DIR} "
echo "END MESSAGE"
INSTALL_DIR=${LORENE_INSTALL_DIR}
fi
DONE_FILE=${SCRATCH_BUILD}/done/${THORN}
LORENE_DIR=${INSTALL_DIR}

Expand Down
2 changes: 1 addition & 1 deletion configuration.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PROVIDES LORENE
{
SCRIPT LORENE.sh
LANG bash
OPTIONS LORENE_DIR LORENE_EXTRA_LIB_DIRS LORENE_EXTRA_LIBS
OPTIONS LORENE_DIR LORENE_INSTALL_DIR LORENE_EXTRA_LIB_DIRS LORENE_EXTRA_LIBS
}

REQUIRES LAPACK BLAS GSL

0 comments on commit b2d073a

Please sign in to comment.