Changeset 17306


Ignore:
Timestamp:
10/22/13 20:43:21 (11 years ago)
Author:
tbretz
Message:
Implemented 'make sge'. Must be used as 'make -j sge'
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Makefile

    r17287 r17306  
    9090LIBRARIES := $(SUBDIRS:=.a)
    9191CONDOR    := $(SUBDIRS:=.condor)
     92SGE       := $(SUBDIRS:=.sge)
    9293MRPROPERS := $(SUBDIRS:=.mrproper)
    9394CLEANERS  := $(SUBDIRS:=.clean)
     
    161162#       find -maxdepth 2 -name ".makecondor.*" -exec echo {}\\\; cat {}\\\; echo {}\\\; \;
    162163
     164sge:    $(SGE)
     165        make -j16 $(PROGRAMS)
     166
    163167dox: $(SOLIB)
    164168        @echo
  • trunk/Mars/Makefile.rules

    r10053 r17306  
    1818#         echo output=.makecondor.out; \
    1919#         echo error=.makecondor.err;  \
     20
     21$(SGE):
     22        @echo " Starting make in $(@:.sge=) via sge"
     23        (cd $(@:.sge=); qsub -N $@ -sync y -b yes -q test -cwd /bin/bash -l -c make; cd ..;)
    2024
    2125$(CLEANERS):
Note: See TracChangeset for help on using the changeset viewer.