|
From: <tpr...@us...> - 2009-01-06 20:05:54
|
Revision: 8902
http://personalrobots.svn.sourceforge.net/personalrobots/?rev=8902&view=rev
Author: tpratkanis
Date: 2009-01-06 20:05:53 +0000 (Tue, 06 Jan 2009)
Log Message:
-----------
Make it so that jam can run in parallel.
Modified Paths:
--------------
pkg/trunk/3rdparty/trex/make_trex
pkg/trunk/highlevel/executive_trex/executive_trex_pr2/run-jam
pkg/trunk/highlevel/test_executive_trex_pr2/run-jam
Modified: pkg/trunk/3rdparty/trex/make_trex
===================================================================
--- pkg/trunk/3rdparty/trex/make_trex 2009-01-06 20:05:23 UTC (rev 8901)
+++ pkg/trunk/3rdparty/trex/make_trex 2009-01-06 20:05:53 UTC (rev 8902)
@@ -10,7 +10,7 @@
cd TREX
# Build the nddl jar file used to parse input files
-jam -q nddl.jar
+jam $PARALLEL_JOBS -q nddl.jar
if [ $? -ne 0 ] ; then
echo "Jam of nddl.jar failed."
@@ -19,9 +19,9 @@
# Build the debug version
if [ `uname` = Darwin ]; then
- jam -q libTREX_g.dylib
+ jam $PARALLEL_JOBS -q libTREX_g.dylib
else
- jam -q libTREX_g.so
+ jam $PARALLEL_JOBS -q libTREX_g.so
fi
if [ $? -ne 0 ] ; then
@@ -31,9 +31,9 @@
# Build the optimized version
if [ `uname` = Darwin ]; then
- jam -sVARIANTS=OPTIMIZED -q libTREX_o.dylib
+ jam $PARALLEL_JOBS -sVARIANTS=OPTIMIZED -q libTREX_o.dylib
else
- jam -sVARIANTS=OPTIMIZED -q libTREX_o.so
+ jam $PARALLEL_JOBS -sVARIANTS=OPTIMIZED -q libTREX_o.so
fi
if [ $? -ne 0 ] ; then
Modified: pkg/trunk/highlevel/executive_trex/executive_trex_pr2/run-jam
===================================================================
--- pkg/trunk/highlevel/executive_trex/executive_trex_pr2/run-jam 2009-01-06 20:05:23 UTC (rev 8901)
+++ pkg/trunk/highlevel/executive_trex/executive_trex_pr2/run-jam 2009-01-06 20:05:53 UTC (rev 8902)
@@ -4,5 +4,5 @@
cd `rospack find executive_trex_pr2`
PLASMA_HOME=`rospack find trex`/PLASMA/
-jam exec_inputs
+jam $PARALLEL_JOBS exec_inputs
Modified: pkg/trunk/highlevel/test_executive_trex_pr2/run-jam
===================================================================
--- pkg/trunk/highlevel/test_executive_trex_pr2/run-jam 2009-01-06 20:05:23 UTC (rev 8901)
+++ pkg/trunk/highlevel/test_executive_trex_pr2/run-jam 2009-01-06 20:05:53 UTC (rev 8902)
@@ -4,5 +4,5 @@
cd `rospack find test_executive_trex_pr2`
PLASMA_HOME=`rospack find trex`/PLASMA/
-jam exec_test_inputs
+jam $PARALLEL_JOBS exec_test_inputs
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|