From ca0389a1ab7fbc81422489caa7f807c3838e1f7b Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Sat, 16 Feb 2019 13:09:08 -0500 Subject: [PATCH] changed build-all and clean-all to use scons Former-commit-id: 970ef6293369bfa303d1ca888ae923f75c859bef --- build-all.sh | 12 ++++++++++++ clean-all.sh | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/build-all.sh b/build-all.sh index b881dc0d7..80210b551 100755 --- a/build-all.sh +++ b/build-all.sh @@ -1,5 +1,17 @@ #!/bin/bash + + +if [[ "$*" =~ "--debug" ]]; then + SCONSDEBUG=" debug=1 " +fi + +scons $SCONSDEBUG -j 3 + +exit + + + # check if DIR is the directory containing the build script. BUILD_LOC=`dirname $0` FULL_BUILD_LOC=`cd $BUILD_LOC; pwd` diff --git a/clean-all.sh b/clean-all.sh index 673095943..e5172ff40 100755 --- a/clean-all.sh +++ b/clean-all.sh @@ -1,5 +1,10 @@ #!/bin/bash +scons -c + +exit + + # check if DIR is the directory containing the build script. BUILD_LOC=`dirname $0` FULL_BUILD_LOC=`cd $BUILD_LOC; pwd` -- GitLab