mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
#4662 put a ceiling on the number of cpus that the fractal tree tests see refs[t:4662]
git-svn-id: file:///svn/toku/tokudb@41352 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7070d0c687
commit
e1d9f40557
1 changed files with 6 additions and 1 deletions
|
@ -328,7 +328,9 @@ date=$(date +%Y%m%d)
|
|||
branch=.
|
||||
tokudb=tokudb
|
||||
bdb=5.3
|
||||
makejobs=$(get_ncpus)
|
||||
ncpus=$(get_ncpus)
|
||||
toku_ncpus=8
|
||||
makejobs=$ncpus
|
||||
revision=0
|
||||
VALGRIND=tokugrind
|
||||
commit=1
|
||||
|
@ -376,6 +378,9 @@ if [ $parallel -ne 0 ] ; then BG="&"; fi
|
|||
export GCCVERSION=$($ftcc --version|head -1|cut -f3 -d" ")
|
||||
export VALGRIND=$VALGRIND
|
||||
|
||||
# setup TOKU_NCPUS
|
||||
if [ -z "$TOKU_NCPUS" -a $toku_ncpus -le $ncpus ] ; then export TOKU_NCPUS=$toku_ncpus; fi
|
||||
|
||||
# limit execution time to 3 hours
|
||||
let t=3*3600
|
||||
ulimit -t $t
|
||||
|
|
Loading…
Add table
Reference in a new issue