BUG: incorrect kahip resolution with absolute paths (closes #1003)

- for installations with central (non-ThirdParty) location for KAHIP
  (eg, spack, EasyBuild)
This commit is contained in:
Mark Olesen
2018-09-12 08:37:53 +02:00
parent 5f3f101b4e
commit 32d5030088

View File

@ -83,10 +83,10 @@ have_kahip()
# FOAM_EXT_LIBBIN is allowed to be unset
library=$(findFirstFile \
$FOAM_EXT_LIBBIN/$library \
$METIS_ARCH_PATH/lib/$static \
$METIS_ARCH_PATH/lib/$library \
$METIS_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/$static \
$METIS_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/$library \
$KAHIP_ARCH_PATH/lib/$static \
$KAHIP_ARCH_PATH/lib/$library \
$KAHIP_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/$static \
$KAHIP_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/$library \
)
elif isSystem "$KAHIP_ARCH_PATH"
then