Skip to content
Snippets Groups Projects
Commit 8f3a03ff authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 10178848
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.443 2007-11-25 08:35:11 geuzaine Exp $
# $Id: Makefile,v 1.444 2007-11-27 22:37:00 geuzaine Exp $
#
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
#
......@@ -155,7 +155,7 @@ source-tree: purge
source: source-tree
cd gmsh-${GMSH_VERSION} && rm -rf ${GMSH_VERSION_FILE}\
contrib/NR contrib/Triangle/triangle.* contrib/Tetgen/tetgen.*\
contrib/Tetgen/predicates.* utils/commercial
contrib/Tetgen/predicates.* utils/commercial utils/nightly
tar zcvf gmsh-${GMSH_VERSION}-source.tgz gmsh-${GMSH_VERSION}
source-commercial: source-tree
......
#
# makefile to create the nightly builds
#
# finish the rules even if we encounter errors?
# .IGNORE:
# be quiet?
.SILENT: gmsh-update gmsh-windows-nightly gmsh-linux-nightly gmsh-mac-nightly
GMSH=${HOME}/src/gmsh
LOG=${GMSH}/nightly.log
WEB_BIN=geuzaine@geuz.org:/home/www/geuz.org/gmsh/bin
gmsh-update:
rm -f ${LOG}
rm -f ${GMSH}/Makefile*
echo "BUILD BEGIN: `date`" > ${LOG}
cd ${GMSH} && export CVS_RSH=ssh && cvs update -dPA >> ${LOG} 2>&1
cd ${GMSH} && ./configure --enable-universal --disable-fm\
--with-occ-prefix=/usr/local/opencascade\
--with-fltk-prefix=/usr/local >> ${LOG} 2>&1
cd ${GMSH} && rm -rf gmsh-*-cvs-*
cd ${GMSH} && make clean >> ${LOG} 2>&1
gmsh-windows-nightly: gmsh-update
cd ${GMSH} && make distrib-win-nightly >> ${LOG} 2>&1
scp ${GMSH}/gmsh-*-cvs-*.zip ${WEB_BIN}/Windows/gmsh-nightly-Windows.zip
echo "BUILD END: `date`" >> ${LOG}
scp ${LOG} ${WEB_BIN}/Windows/
gmsh-linux-nightly: gmsh-update
cd ${GMSH} && make distrib-unix-nightly >> ${LOG} 2>&1
scp ${GMSH}/gmsh-*-cvs-*.tgz ${WEB_BIN}/Linux/gmsh-nightly-Linux.tgz
echo "BUILD END: `date`" >> ${LOG}
scp ${LOG} ${WEB_BIN}/Linux/
gmsh-mac-nightly: gmsh-update
cd ${GMSH} && make distrib-mac-nightly >> ${LOG} 2>&1
scp ${GMSH}/gmsh-*-cvs-*.tgz ${WEB_BIN}/MacOSX/gmsh-nightly-MacOSX.tgz
echo "BUILD END: `date`" >> ${LOG}
scp ${LOG} ${WEB_BIN}/MacOSX/
#
# this will launch a new build every night at 1h01
#
1 1 * * * cd ${HOME}/src/gmsh/utils/nightly && make gmsh-linux-nightly
#
# this will launch a new build every night at 0h01
#
1 0 * * * cd ${HOME}/src/gmsh/utils/nightly && make gmsh-mac-nightly
#
# this will launch a new build every night at 2h01
#
1 2 * * * cd ${HOME}/src/gmsh/utils/nightly && make gmsh-windows-nightly
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment