[Swift-commit] r2242 - log-processing/bin

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Sep 22 15:48:45 CDT 2008


Author: benc
Date: 2008-09-22 15:48:45 -0500 (Mon, 22 Sep 2008)
New Revision: 2242

Modified:
   log-processing/bin/swift-plot-log
Log:
build -info logs if there is a .d subdirectory for a log

Modified: log-processing/bin/swift-plot-log
===================================================================
--- log-processing/bin/swift-plot-log	2008-09-22 20:24:12 UTC (rev 2241)
+++ log-processing/bin/swift-plot-log	2008-09-22 20:48:45 UTC (rev 2242)
@@ -20,9 +20,18 @@
 echo Log is in directory $LOG_DIRECTORY
 echo Log basename is $LOG_FILE_BASE
 
+MAKEENV=""
+MAKETARGETS=""
 
+INFODIR=${LOG_DIRECTORY}/${LOG_FILE_BASE}.d
+
+if [ -d $INFODIR ]; then
+ MAKEENV="$MAKEENV IDIR=${LOG_DIRECTORY}/${LOG_FILE_BASE}.d/"
+ MAKETARGETS="webpage.info"
+fi
+
 cd $LOG_CODE_HOME
 
-make SDL=$LOG_FILE_BASE LOG=$LOG_FILE_PATH clean webpage.kara webpage.weights webpage distributable distribute
+make $MAKEENV SDL=$LOG_FILE_BASE LOG=$LOG_FILE_PATH clean webpage.kara webpage.weights karatasks.JOB_SUBMISSION.Queue.transitions karatasks.JOB_SUBMISSION.Queue.event  $MAKETARGETS webpage distribute
 
 mv report-$LOG_FILE_BASE $LOG_DIRECTORY/




More information about the Swift-commit mailing list