Support CMake in Test.py

* scons will remain the default build type.
* New set of command line switches to control CMake.
This commit is contained in:
Edward Hennis
2017-06-26 18:43:05 -04:00
committed by seelabs
parent afc791835e
commit 2858661bce
5 changed files with 318 additions and 78 deletions

6
Builds/build_all.sh Normal file → Executable file
View File

@@ -2,5 +2,7 @@
num_procs=$(lscpu -p | grep -v '^#' | sort -u -t, -k 2,4 | wc -l) # number of physical cores
cd ..
./Builds/Test.py -a -c -- -j${num_procs}
path=$(cd $(dirname $0) && pwd)
cd $(dirname $path)
${path}/Test.py -a -c --test=TxQ -- -j${num_procs}
${path}/Test.py -a -c -k --test=TxQ --cmake -- -j${num_procs}