aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-16 20:45:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-16 20:46:05 -0700
commitd133d737ae4a9f37d0eb6361b3b367157d3dc3bf (patch)
tree422b7c7f6bad521ae5cd52bd2e913a09ac04d372 /Makefile
parenta07d955d6f96e78ade3e09c150ce580fb6e6f3a7 (diff)
downloadpandoc-d133d737ae4a9f37d0eb6361b3b367157d3dc3bf.tar.gz
Use --system-ghc in make quick.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2560994e4..f8fea8028 100644
--- a/Makefile
+++ b/Makefile
@@ -22,11 +22,12 @@ REVISION?=1
BENCHARGS?=--csv bench_$(TIMESTAMP).csv $(BASELINECMD) --timeout=6 +RTS -T -RTS $(if $(PATTERN),--pattern "$(PATTERN)",)
quick:
- stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --ghc-options='$(GHCOPTS)' --test-arguments='-j4 --hide-successes --ansi-tricks=false $(TESTARGS)'
+ stack install --ghc-options='$(GHCOPTS)' --system-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes --ansi-tricks=false $(TESTARGS)'
quick-cabal:
cabal v2-build -j8 --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests
cabal v2-test --test-option=--hide-successes --test-option=--ansi-tricks=false $(TESTARGS)
+ cabal v2-install --disable-optimization
full-cabal:
cabal v2-configure . --ghc-options '$(GHCOPTS)' --flags '+embed_data_files +trypandoc' --enable-tests --enable-benchmarks