[rtems-testing commit] rtems/user.cfg: Add options for cleaning on exit and parallel build options

Joel Sherril joel at rtems.org
Sun Mar 29 16:39:32 UTC 2015


Module:    rtems-testing
Branch:    master
Commit:    b88ed3f23708056642897bd869b2a51937fab55d
Changeset: http://git.rtems.org/rtems-testing/commit/?id=b88ed3f23708056642897bd869b2a51937fab55d

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Mar 26 17:27:13 2015 -0500

rtems/user.cfg: Add options for cleaning on exit and parallel build options

---

 rtems/bit_all_bsps | 4 ++--
 rtems/user.cfg     | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/rtems/bit_all_bsps b/rtems/bit_all_bsps
index da04a8c..38fc8f3 100755
--- a/rtems/bit_all_bsps
+++ b/rtems/bit_all_bsps
@@ -117,7 +117,7 @@ mkdir ticker-executables
 get_bsps()
 {
   if [ -d ${RTEMS}/c/src/lib/libbsp/i386/pc386/make/custom ] ; then
-    ALL_BSPS=`ls -1 ${RTEMS}/c/src/lib/libbsp/${CPU}/*/make/custom/*cfg | \
+    ALL_BSPS=`ls -1 ${RTEMS}/c/src/lib/libbsp/${CPU}/*/make/custom/*.cfg | \
       while read f; do \
         basename $f; done | sed -e 's/.cfg$//' `
       
@@ -236,7 +236,7 @@ if [ ${do_parallel} = yes ] ; then
     echo "  parallel_bsps.tmp is the script being executed"
   fi
   if [ ${testing} = no ] ; then
-    cat parallel_bsps.tmp | parallel --verbose
+    cat parallel_bsps.tmp | parallel ${JOBS} ${PARALLEL_ARGS} --verbose
   fi
     
 fi
diff --git a/rtems/user.cfg b/rtems/user.cfg
index 52b95d4..118a0ab 100644
--- a/rtems/user.cfg
+++ b/rtems/user.cfg
@@ -95,3 +95,8 @@ BUILD_RTEMS_DEBUG=no
 # Set this to yes if you want to install RTEMS after it is successfully built.
 INSTALL_RTEMS=no
 
+# Clean if the build passed
+ENABLE_CLEAN_ON_BUILD_PASSED=yes
+
+# Run jobs on two machines
+# PARALLEL_ARGS="-S 6/: -S 3/rtbf64b"




More information about the vc mailing list