mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Refactored parallel build methods
This commit is contained in:
parent
dda6ae53c8
commit
cb99d47f81
@ -60,10 +60,17 @@ ChecksCompleted()
|
||||
cd syntax_check || exit 1
|
||||
echo "" > log.txt
|
||||
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=6
|
||||
#******************************************************************************
|
||||
# Set the number of concurrent processes to use.
|
||||
#******************************************************************************
|
||||
if [ $# -eq 0 ]; then
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=4
|
||||
else
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=$1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Using "${CMAKE_BUILD_PARALLEL_LEVEL}" jobs"
|
||||
echo "Using "$CMAKE_BUILD_PARALLEL_LEVEL" concurrent processes"
|
||||
|
||||
###############################################################################
|
||||
cd c++03 || exit 1
|
||||
|
||||
@ -9,8 +9,6 @@ echo "ETL Tests" > log.txt
|
||||
export ASAN_OPTIONS=symbol_line=1
|
||||
export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-14/bin//llvm-symbolizer
|
||||
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=6
|
||||
|
||||
echo -e
|
||||
|
||||
testname="Test Name Not Set"
|
||||
@ -129,8 +127,17 @@ else
|
||||
opt="-O0"
|
||||
fi
|
||||
|
||||
#******************************************************************************
|
||||
# Set the number of concurrent processes to use.
|
||||
#******************************************************************************
|
||||
if [ $# -eq 2 ]; then
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=4
|
||||
else
|
||||
export CMAKE_BUILD_PARALLEL_LEVEL=$3
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Using "${CMAKE_BUILD_PARALLEL_LEVEL}" jobs"
|
||||
echo "Using "${CMAKE_BUILD_PARALLEL_LEVEL}" concurrent processes"
|
||||
|
||||
#******************************************************************************
|
||||
# GCC
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user