From: Jean Privat Date: Thu, 25 Jul 2013 20:13:14 +0000 (-0400) Subject: benchs: use NIT_GC_OPTION instead of -DNOBOEHM X-Git-Tag: v0.6~4^2~10 X-Git-Url: http://nitlanguage.org benchs: use NIT_GC_OPTION instead of -DNOBOEHM Signed-off-by: Jean Privat --- diff --git a/benchmarks/bench_engines.sh b/benchmarks/bench_engines.sh index c2ee85f..40be4d2 100755 --- a/benchmarks/bench_engines.sh +++ b/benchmarks/bench_engines.sh @@ -355,7 +355,7 @@ function bench_nitc_vc_nitg-e() prepare_res "$name-nitc-bohem.dat" "nitc-boehm" "nitc with boehm" NIT_GC_OPTION="boehm" run_compiler "nitc" ../src/nitc_3 -O prepare_res "$name-nitg-e-nockeck-malloc.dat" "nitg-e-nc-malloc" "nitg with --erasure --no-check-autocast --no-check-erasure-cast and malloc" - run_compiler "nitg-e-nc-malloc" ./nitg --erasure --no-check-autocast --no-check-erasure-cast --make-flags "CFLAGS=\"-O2 -DNOBOEHM\"" + NIT_GC_OPTION="malloc" run_compiler "nitg-e-nc-malloc" ./nitg --erasure --no-check-autocast --no-check-erasure-cast prepare_res "$name-nitg-e-nockeck.dat" "nitg-e-nc" "nitg with --erasure --no-check-autocast --no-check-erasure-cast" run_compiler "nitg-e-nc" ./nitg --erasure --no-check-autocast --no-check-erasure-cast prepare_res "$name-nitg-e.dat" "nitg-e" "nitg with --erasure" @@ -369,9 +369,7 @@ function bench_nitg-e_gc() name="$FUNCNAME" skip_test "$name" && return prepare_res "$name-nitg-e-malloc.dat" "nitg-e-malloc" "nitg with --erasure and malloc" - run_compiler "nitg-e-malloc" ./nitg --erasure --make-flags "CFLAGS=\"-g -O2 -DNOBOEHM\"" - prepare_res "$name-nitg-e-noatomic.dat" "nitg-e-noatomic" "nitg with --erasure and no atomic" - run_compiler "nitg-e-noatomic" ./nitg --erasure --make-flags "CFLAGS=\"-g -O2 -DNOBOEHM_ATOMIC\"" + NIT_GC_OPTION="malloc" run_compiler "nitg-e-malloc" ./nitg --erasure prepare_res "$name-nitg-e.dat" "nitg-e" "nitg with --erasure" run_compiler "nitg-e" ./nitg --erasure plot "$name.gnu"