From 28f482b8366e34d1e83442f83b5c120f2c0977f9 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 12 Aug 2020 16:13:09 +0200 Subject: [PATCH] CONFIG: skip compilation of ADIOS2, METIS with mingw (#57) - adios is out of scope for cross-compilation - metis does not seem to support cross-compilation. Use scotch instead. --- makeAdios2 | 13 +++++++++++++ makeMETIS | 11 +++++++++++ 2 files changed, 24 insertions(+) diff --git a/makeAdios2 b/makeAdios2 index c0f1745..235d2c5 100755 --- a/makeAdios2 +++ b/makeAdios2 @@ -123,6 +123,19 @@ then exit 0 fi +# Known build issues for mingw (various things) +case "$WM_COMPILER" in +(Mingw*) + if [ "$optForce" = true ] + then + echo "Warning: adios2 - known compilation issues with $WM_COMPILER" + else + echo "Skipping adios2 - known compilation issues with $WM_COMPILER" + exit 0 + fi + ;; +esac + #------------------------------------------------------------------------------ # # Build ADIOS diff --git a/makeMETIS b/makeMETIS index 85b1772..6f6006c 100755 --- a/makeMETIS +++ b/makeMETIS @@ -121,6 +121,17 @@ then exit 0 fi +# Known build issues for mingw (various things) +case "$WM_COMPILER" in +(Mingw*) + if : + then + echo "Skipping metis - known compilation issues with $WM_COMPILER" + exit 0 + fi + ;; +esac + requireExtLibBin #------------------------------------------------------------------------------