From f5f379baaf8cb2d92906176e1eb7b0d19df228ed Mon Sep 17 00:00:00 2001 From: schnetter Date: Thu, 3 Dec 2009 16:37:50 +0000 Subject: Don't build the debug libraries for Lorene git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@6 5c1b1641-b641-47ec-b3d9-0f93d4c445ee --- LORENE.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/LORENE.sh b/LORENE.sh index 9571620..02787c6 100644 --- a/LORENE.sh +++ b/LORENE.sh @@ -52,9 +52,16 @@ unset MAKEFLAGS ${PATCH} -p0 < ${SRCDIR}/dist/fortran.patch ${PATCH} -p0 < ${SRCDIR}/dist/pgplot.patch ${PATCH} -p0 < ${SRCDIR}/dist/spheroid.patch - # Prevent overly long lines from CVS $Header$ comments + # Prevent overly long lines from CVS Header comments find ${NAME} -name '*.f' | xargs perl -pi -e 's/\$Header.*\$/\$Header\$/g' + # Do not build the debug version of the Lorene libraries + find ${NAME} -name Makefile | + xargs perl -pi -e 's+ \$\(MAKE\) -f Makefile_lib_g+# \$(MAKE) -f Makefile_lib_g+' + find ${NAME} -name Makefile | + xargs perl -pi -e 's+ mv \*.o Objects_g+# mv *.o Objects_g+' + find ${NAME} -name Makefile | + xargs perl -pi -e 's+install: \$\(LIB\)/liblorenef77_g.a \$\(LIB\)/liblorenef77.a+install: \$(LIB)/liblorenef77.a+' popd echo "LORENE: Configuring..." @@ -95,7 +102,9 @@ EOF ) if (( $? )); then + echo 'BEGIN ERROR' echo 'Error while building LORENE. Aborting.' + echo 'END ERROR' exit 1 fi -- cgit v1.2.3