Added PURIFY commands to top layer

This commit is contained in:
Harry Moffat 2008-12-30 01:33:42 +00:00
parent 1132d059a9
commit 9334f7b749
3 changed files with 24 additions and 0 deletions

View file

@ -12,6 +12,9 @@
// This just compiles in the code.
#undef DEBUG_MODE
// Compiling with PURIFY instrumentation
#undef PURIFY_MODE
//------------------------ Fortran settings -------------------//
@ -74,6 +77,7 @@ typedef int ftnlen; // Fortran hidden string length type
// Identify whether the operating system is solaris
// with a native compiler
#undef SOLARIS
o
//--------- Fonts for reaction path diagrams ----------------------
#undef RXNPATH_FONT

View file

@ -718,6 +718,15 @@ fi
echo " "
##########################################################
# PURIFY
##########################################################
AC_SUBST(PURIFY)
if test "x$PURIFY" != "x"; then
AC_DEFINE(PURIFY_MODE)
fi
########################################################
# BLAS and LAPACK
########################################################

View file

@ -145,6 +145,15 @@ F90=${F90:="n"}
# flags here.
F90FLAGS=${F90FLAGS:='-O3'}
#---------------------------------------------------------------------
# Purify
#---------------------------------------------------------------------
# Add entries here for compiling Cantera with Purify extensions
# This command is put in front of every compilation and linking
# step
PURIFY=${PURIFY:=""}
#----------------------------------------------------------------------
# Customizations / Extensions
#----------------------------------------------------------------------
@ -553,6 +562,8 @@ export BOOST_THREAD_LIB
export WITH_HTML_LOG_FILES
export PURIFY
chmod -f +x ./configure
chmod -f +x config/config.guess
chmod -f +x config/config.sub