From fc1197d127e834f015a65321758b6f3e3ad6bd93 Mon Sep 17 00:00:00 2001 From: eschnett Date: Wed, 14 Nov 2012 02:41:02 +0000 Subject: Disable ccache when building OpenMPI git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/MPI/trunk@14 043a8217-7a68-40fe-abfd-36aa7d4fa6a8 --- configure.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.sh b/configure.sh index f6381c8..b2cfdb4 100644 --- a/configure.sh +++ b/configure.sh @@ -110,6 +110,12 @@ then cd ${SCRATCH_BUILD} # Set up environment + # Disable ccache: remove "ccache" and all options that follow + # Note: we can use only basic sed regexps here + export CC=$(echo '' ${CC} '' | + sed -e 's/ ccache *\(-[^ ]* *\)*/ /g;s/^ //;s/ $//') + export CXX=$(echo '' ${CXX} '' | + sed -e 's/ ccache *\(-[^ ]* *\)*/ /g;s/^ //;s/ $//') if [ "${F90}" = "none" ]; then echo 'BEGIN MESSAGE' echo 'No Fortran 90 compiler available. Building MPI library without Fortran support.' -- cgit v1.2.3