build(Makefile): restrict backend dependency builds to 1 cpu core

This commit is contained in:
Sarah Vaupel 2025-01-23 11:00:03 +01:00
parent 56d7fec466
commit d030c5d0cc

View File

@ -281,7 +281,7 @@ endif
stack build $(STACK_CORES) --fast --profile --library-profiling --executable-profiling --flag uniworx:-library-only $(--DEVELOPMENT) --local-bin-path $$(pwd)/bin --copy-bins
# HELP(dependencies-backend): (re-)build backend dependencies
--dependencies-backend: uniworx.cabal
stack build $(STACK_CORES) --fast --only-dependencies
stack build -j1 --only-dependencies
# HELP(lint-backend): lint backend
--lint-backend:
stack build $(STACK_CORES) --test --fast --flag uniworx:library-only $(--DEVELOPMENT) uniworx:test:hlint