Commits

Anonymous committed 0bbc826

adding script directory back in

  • Participants
  • Parent commits 0488624

Comments (0)

Files changed (4)

File scripts/slp.hg.chgrp.sh

+#!/bin/sh
+#
+MSGFILE="/tmp/hgchgrp.txt";
+DATESTAMP=`date "+%Y-%m-%d::%H:%M"`;
+
+echo $DATESTAMP > $MSGFILE;
+echo $PWD >> $MSGFILE;
+
+hg -v tip >> $MSGFILE;
+
+mail -s "Sleipnir: Hg Changegroup Received" hut-dev@hsphsun3.harvard.edu < $MSGFILE;

File scripts/slpbuild.sh

+00 4 * * * /bin/sh /shared/hg/sleipnir/scripts/slpmake.sh

File scripts/slpconfig.sh

+#!/bin/sh
+#
+CONFIGDIR=/shared/hg/sleipnir/trunk/
+PREFIXDIR=/shared/proj/sleipnir/
+EXTDIR=/shared/hg/sleipnir/extlib/
+#
+#
+SMILEDIR=${EXTDIR}smile_1_1_linux64_gcc_4_1_2/
+#
+SVMDIR=${EXTDIR}svm_perf/
+#
+GENGETDIR=${PREFIXDIR}
+#
+BOOSTINCLDIR=${PREFIXDIR}include/boost/
+BOOSTGRPHDIR=${PREFIXDIR}lib/
+BOOSTGRPHPGM=libboost_graph.a
+#
+#
+WITHSMILE="--with-smile=${SMILEDIR}"
+WITHSVM="--with-svm-perf=${SVMDIR}"
+WITHGENGET="--with-gengetopt=${GENGETDIR}"
+WITHBOOSTINCL="--with-boost-includes=${BOOSTINCLDIR}"
+WITHBOOSTGRPH="--with-boost-graph-lib=${BOOSTGRPHDIR}${BOOSTGRPHPGM}"
+#
+#
+DATESTAMP=`date "+%Y_%m_%d_%H%M"`
+LOGDIR=/shared/proj/build/
+LOGFILE="${LOGDIR}sleipnir.config.${DATESTAMP}.log"
+#
+# ---
+#
+cd ${CONFIGDIR}
+./configure  --prefix=${PREFIXDIR} LDFLAGS=-static ${WITHSMILE} ${WITHSVM} ${WITHGENGET} ${WITHBOOSTINCL} ${WITHBOOSTGRPH} 2>&1 >> ${LOGFILE}
+#
+# ---
+#notes:
+# - gengetopt installed to prefixdir /rm.00323
+# - current versions used:
+#   boost:     boost_1_42_0
+#   gengetopt: gengetopt-2.22
+#   log4cpp:   log4cpp-1.0
+#   smile:     smile_1_1_linux64_gcc_4_1_2
+#   svm:
+#   /rm.00401

File scripts/slpmake.sh

+#!/bin/sh
+#
+MAKEDIR=/shared/hg/sleipnir/trunk
+SCRIPTDIR=/shared/hg/sleipnir/scripts/
+#
+DATESTAMP=`date "+%Y_%m_%d_%H%M"`
+LOGDIR=/shared/proj/build/
+LOGFILE="${LOGDIR}sleipnir.build.${DATESTAMP}.log"
+#
+# ---
+#
+cd ${MAKEDIR}
+INDIR=`pwd`
+#
+echo "[inDir] " ${INDIR}    2>&1 >> ${LOGFILE}
+echo "[step:clean] "        2>&1 >> ${LOGFILE}
+make clean                  2>&1 >> ${LOGFILE}
+#
+cd ${SCRIPTDIR}
+INDIR=`pwd`
+#
+echo "[inDir] " ${INDIR}    2>&1 >> ${LOGFILE}
+echo "[step:config] "       2>&1 >> ${LOGFILE}
+./slpconfig.sh              2>&1 >> ${LOGFILE}
+#
+cd ${MAKEDIR}
+INDIR=`pwd`
+#
+echo "[inDir] " ${INDIR}    2>&1 >> ${LOGFILE}
+echo "[step:make] "         2>&1 >> ${LOGFILE}
+make                        2>&1 >> ${LOGFILE}
+#
+echo "[inDir] " ${INDIR}    2>&1 >> ${LOGFILE}
+echo "[step:install] "      2>&1 >> ${LOGFILE}
+make install                2>&1 >> ${LOGFILE}
+#
+#
+#mail -s "Sleipnir: Out-of-CycleBuild" hut-dev@hsphsun3.harvard.edu < ${LOGFILE};
+mail -s "Sleipnir: Nightly Build" hut-dev@hsphsun3.harvard.edu < ${LOGFILE};