From 85709d0bc2986296cd34650de85694d23e9d3bde Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 12 May 2019 19:49:10 -0400 Subject: [PATCH] build: move iteration count to ci-build script. --- .drone.yml | 2 +- tools/ci-build.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4365048..c0001db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,6 +24,6 @@ steps: image: gcc pull: true commands: - - export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24" - ./tools/ci-build.sh --cores=4 - make check + diff --git a/tools/ci-build.sh b/tools/ci-build.sh index f68f41a..f99151f 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -4,7 +4,10 @@ ############################################################################## set -x + +export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24" ./configure $@ + if [ `uname -s` = "FreeBSD" ]; then make -j $(sysctl -n hw.ncpu) else