diff options
author | schnetter <schnetter@5c1b1641-b641-47ec-b3d9-0f93d4c445ee> | 2009-12-03 16:37:50 +0000 |
---|---|---|
committer | schnetter <schnetter@5c1b1641-b641-47ec-b3d9-0f93d4c445ee> | 2009-12-03 16:37:50 +0000 |
commit | f5f379baaf8cb2d92906176e1eb7b0d19df228ed (patch) | |
tree | ad4731aa54c36abe54d7399b3fb3e8a6ab97875f | |
parent | 6a02614c48ad6647c702a75f1aa3fc361fb5bb9c (diff) |
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
-rw-r--r-- | LORENE.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |