From 171bfd3d652479dab18df4062e24fc7237005859 Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Sun, 31 Oct 2021 13:17:57 -0700 Subject: [PATCH] Makefile: use --nonmoving-gc RTS option when running benchmarks. As recommended by tasty maintainers. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 759bc7dca..7f36d16e7 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ REVISION?=1 # For gauge: # BENCHARGS?=--small --ci=0.90 --match=pattern $(PATTERN) # For tasty-bench: -BENCHARGS?=--csv bench_$(TIMESTAMP).csv $(BASELINECMD) --timeout=6 +RTS -T -RTS $(if $(PATTERN),--pattern "$(PATTERN)",) +BENCHARGS?=--csv bench_$(TIMESTAMP).csv $(BASELINECMD) --timeout=6 +RTS -T --nonmoving-gc -RTS $(if $(PATTERN),--pattern "$(PATTERN)",) quick: stack install --ghc-options='$(GHCOPTS)' --system-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes --ansi-tricks=false $(TESTARGS)'