]> https://gitweb.dealii.org/ - candi.git/commitdiff
detect PETSc configure fail
authorTimo Heister <timo.heister@gmail.com>
Thu, 29 Oct 2015 22:50:58 +0000 (18:50 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 29 Oct 2015 22:50:58 +0000 (18:50 -0400)
Only execute make if configure succeeds

deal.II/packages/petsc.package

index 2bde64b19fab38fd7aafec23dc66247e08b11f3e..8040532ab6252f1e7656d9bdcdfa1b23a64406ea 100644 (file)
@@ -49,9 +49,8 @@ package_specific_setup () {
     cd ${BUILDDIR}
     cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
     
-    ./configure --prefix=${INSTALL_PATH}/${NAME} ${CONFOPTS}
-    
-    make all install
+    ./configure --prefix=${INSTALL_PATH}/${NAME} ${CONFOPTS} && \    
+        make all install
 }
 
 package_specific_register () {

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.