diff --git a/utils/nightly/linux.sh b/utils/nightly/linux.sh index 422073e9db0876e9c379edc7a3b198746f22a035..d56f5fa0353e5fc2232a84db0fa3c1292d0ee924 100755 --- a/utils/nightly/linux.sh +++ b/utils/nightly/linux.sh @@ -4,6 +4,9 @@ GMSH=${HOME}/src/gmsh LOG=${GMSH}/nightly.log WEB_BIN=geuzaine@geuz.org:/home/www/geuz.org/gmsh/bin/Linux CMAKE=/usr/local/bin/cmake +PETSC_DIR=${HOME}/src/petsc-3.0.0-p7 +PETSC_ARCH=umfpack-cxx-opt +SLEPC_DIR=${HOME}/src/slepc-3.0.0-p7 rm -f ${LOG} rm -rf ${GMSH}/bin @@ -13,7 +16,6 @@ mkdir ${GMSH}/bin cd ${GMSH}/bin && \ ${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ - -DENABLE_PETSC:bool=FALSE\ -DENABLE_NATIVE_FILE_CHOOSER:bool=FALSE\ ${GMSH} >> ${LOG} 2>&1 cd ${GMSH}/bin && make package >> ${LOG} 2>&1 diff --git a/utils/nightly/mac.sh b/utils/nightly/mac.sh index b4c1f202c6a8d8b4814d256f59f17263285b1c65..50840902ca284fda5a581fbd2df072b1e95a4cea 100755 --- a/utils/nightly/mac.sh +++ b/utils/nightly/mac.sh @@ -4,16 +4,18 @@ GMSH=${HOME}/src/gmsh LOG=${GMSH}/nightly.log WEB_BIN=geuzaine@geuz.org:/home/www/geuz.org/gmsh/bin/MacOSX CMAKE=/usr/local/bin/cmake +PETSC_DIR=${HOME}/src/petsc-3.0.0-p7 +PETSC_ARCH=umfpack-cxx-opt +SLEPC_DIR=${HOME}/src/slepc-3.0.0-p7 rm -f ${LOG} rm -rf ${GMSH}/bin echo "BUILD BEGIN: `date`" > ${LOG} cd ${GMSH} && svn update >> ${LOG} 2>&1 mkdir ${GMSH}/bin -cd ${GMSH}/bin && \ +cd ${GMSH}/bin &&\ ${CMAKE} -DGMSH_EXTRA_VERSION:string="-svn"\ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ - -DENABLE_PETSC:bool=FALSE\ ${GMSH} >> ${LOG} 2>&1 cd ${GMSH}/bin && make package -j 4 >> ${LOG} 2>&1 echo "BUILD END: `date`" >> ${LOG} diff --git a/utils/nightly/windows.sh b/utils/nightly/windows.sh index 2d929318c41b11c85cd7d19f907f0ea0f940c960..6b5d528a0638ce8125d61a0afaf9f0477b106f30 100755 --- a/utils/nightly/windows.sh +++ b/utils/nightly/windows.sh @@ -4,6 +4,9 @@ GMSH=${HOME}/src/gmsh LOG=${GMSH}/nightly.log WEB_BIN=geuzaine@geuz.org:/home/www/geuz.org/gmsh/bin/Windows CMAKE=cmake +PETSC_DIR=${HOME}/src/petsc-3.0.0-p7 +PETSC_ARCH=umfpack-cxx-opt +SLEPC_DIR=${HOME}/src/slepc-3.0.0-p7 rm -f ${LOG} rm -rf ${GMSH}/bin @@ -15,7 +18,6 @@ cd ${GMSH}/bin && \ -DCMAKE_PREFIX_PATH:path="/usr/local;/usr/local/opencascade"\ -DCMAKE_CXX_FLAGS:string="-mno-cygwin"\ -DCMAKE_C_FLAGS:string="-mno-cygwin"\ - -DENABLE_PETSC:bool=FALSE\ ${GMSH} >> ${LOG} 2>&1 cd ${GMSH}/bin && make package >> ${LOG} 2>&1 echo "BUILD END: `date`" >> ${LOG}