(file) Return to make_jsoc.pl CVS log (file) (dir) Up to [Development] / JSOC

File: [Development] / JSOC / make_jsoc.pl (download)
Revision: 1.6, Wed Feb 8 23:58:44 2012 UTC (6 years, 5 months ago) by arta
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_DRMSLATEST, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, NetDRMS_Ver_LATEST, NetDRMS_Ver_9-2, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_8-8, NetDRMS_Ver_8-7, NetDRMS_Ver_8-6, NetDRMS_Ver_8-5, NetDRMS_Ver_8-4, NetDRMS_Ver_8-3, NetDRMS_Ver_8-2, NetDRMS_Ver_8-12, NetDRMS_Ver_8-11, NetDRMS_Ver_8-10, NetDRMS_Ver_8-1, NetDRMS_Ver_8-0, NetDRMS_Ver_7-1, NetDRMS_Ver_7-0, NetDRMS_Ver_6-4, NetDRMS_Ver_6-3, NetDRMS_Ver_6-2, HEAD
Changes since 1.5: +4 -17 lines
Dont cd in this script! The caller of this script has already done that.

#!/usr/bin/perl -w 

# run this on each machine to be used.
#    n00 - for linux_ia32 machines such as n00, ..., n11, etc.
#    n12 - for linux_x86_64 machines
# 
# *** The caller of this script must cd to the JSOC root directory before running this script. ***

use Cwd qw(realpath);

my($cdir) = realpath($ENV{'PWD'});
print STDOUT "make of JSOC $cdir\n";
system("date");

# make clean 
# make -j 4 

system("make clean");

if (-e "configsdp.txt")
{
    system("make all dsds");
}
else
{
    system("make");
}

system("date");

Karen Tian
Powered by
ViewCVS 0.9.4