]> https://gitweb.dealii.org/ - candi.git/commitdiff
parmetis: bugfix: patch and platform macos does not work; enables the patch only...
authorUwe Köcher <koecher@hsu-hamburg.de>
Tue, 29 May 2018 13:35:33 +0000 (15:35 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Tue, 29 May 2018 13:35:33 +0000 (15:35 +0200)
deal.II-toolchain/packages/parmetis.package

index 33c24440e127178bc84393da97c8ede1285231c0..b4047e45c667bdeb08b26589cdf445e960244c74 100644 (file)
@@ -36,7 +36,7 @@ package_specific_build() {
 }
 
 package_specific_patch () {
-    if [ ${VERSION} == "4.0.3" ]; then
+    if [ ${PLATFORM_OSTYPE} == linux && ${VERSION} == "4.0.3" ]; then
         cd ${UNPACK_PATH}/${EXTRACTSTO}
         cecho ${WARN} "applying patch for building METIS shared libraries"
         patch -p0 --forward < ${ORIG_DIR}/${PROJECT}/patches/parmetis-4.0.3-build.patch || true
@@ -66,3 +66,4 @@ export PARMETIS_DIR=${INSTALL_PATH}
 " >> $CONFIG_FILE
     fi
 }
+

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.