From 036458c7a8bf1d1e784f3e88af6973acd5a7840d Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Mon, 27 Jan 2020 10:12:25 -0500 Subject: [PATCH] Build Cabal in -j 1 step Un-cached builds cannot succeed without exhausting memory. Doing fewer packages concurrently can sometimes resolve this. This is trial and error. https://app.circleci.com/jobs/github/thoughtbot/yesod-auth-oauth2/1022 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75f50e2..08bbf62 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ setup.lint: .PHONY: dependencies dependencies: - stack build $(STACK_ARGUMENTS) -j 1 haskell-src-exts + stack build $(STACK_ARGUMENTS) -j 1 Cabal haskell-src-exts stack build $(STACK_ARGUMENTS) \ --flag yesod-auth-oauth2:example \ --dependencies-only --test --no-run-tests