From 0454b4be975371ffd2a2c49380eddc639fa7382f Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Sun, 17 Dec 2017 12:14:19 +0100
Subject: [PATCH] ENH: include config info for kahip

---
 legacyCompile/legacyCompile | 9 ++++++---
 legacyCompile/v1712.cfg     | 1 +
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/legacyCompile/legacyCompile b/legacyCompile/legacyCompile
index b428452..dd54c58 100755
--- a/legacyCompile/legacyCompile
+++ b/legacyCompile/legacyCompile
@@ -36,9 +36,9 @@ usage() {
 usage: ${0##*/} [OPTIONS] OPERATION [...OPERATION] configFile
 options:
   -purge                Purge old directories before unpacking (CAUTION)
-  -int32  | -int64      Label width
-  -SP     | -DP         Precision
-  -sigfpe | -no-sigfpe  Activate/deactivate FOAM_SIGFPE handling
+  -int32 | -int64       Label width
+  -SP | -DP             Precision
+  -sigfpe | -no-sigfpe  Activate/deactivate FOAM_SIGFPE handling [defunct]
   -help
 
 operations:
@@ -394,6 +394,7 @@ _listSettings()
     _fmtDefVer fftw
     _fmtDefVer openmpi
     _fmtDefVer scotch
+    _fmtDefVer kahip
     _fmtDefVer paraview
     _fmtDefVer cmake
     _fmtDefVer vtk
@@ -605,6 +606,7 @@ unpackAllFiles()
                 _ifDifferent -cgal    $cgalVERSION    $cgalDEFAULT
                 _ifDifferent -fftw    $fftwVERSION    $fftwDEFAULT
                 _ifDifferent -scotch  $scotchVERSION  $scotchDEFAULT
+                _ifDifferent -kahip   $kahipVERSION   $kahipDEFAULT
                 _ifDifferent -openmpi $openmpiVERSION $openmpiDEFAULT
             )
 
@@ -630,6 +632,7 @@ unpackAllFiles()
     _unpackIfDifferent $cgalVERSION     $cgalDEFAULT
     _unpackIfDifferent $fftwVERSION     $fftwDEFAULT
     _unpackIfDifferent $scotchVERSION   $scotchDEFAULT
+    _unpackIfDifferent $kahipVERSION    $kahipDEFAULT
     _unpackIfDifferent $openmpiVERSION  $openmpiDEFAULT
 
     case "$compilerTypeVERSION:$compilerVERSION" in
diff --git a/legacyCompile/v1712.cfg b/legacyCompile/v1712.cfg
index 9d10938..91e29e0 100644
--- a/legacyCompile/v1712.cfg
+++ b/legacyCompile/v1712.cfg
@@ -34,6 +34,7 @@ scalar=32
     fftw                fftw-3.3.7
     openmpi             openmpi-1.10.4
     scotch              scotch_6.0.3
+    kahip               kahip-2.00
     paraview            ParaView-5.4.1
     cmake               cmake-system        cmake-3.6.0
     vtk                 none                VTK-8.1.0
-- 
GitLab