mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-24 17:44:21 +03:00
Added some more info about how we parallelize cabal compilation.
This commit is contained in:
parent
857912c2cc
commit
ac0567fa6a
@ -5,6 +5,10 @@ packages: .
|
||||
package waspc
|
||||
-- This causes cabal to build modules on all cores, instead of just one,
|
||||
-- therefore reducing our build times.
|
||||
-- NOTE: If this is enabled at the same time as cabal's parallelization on package-level,
|
||||
-- it can have counter-effect of increasing compilation time due to cabal and ghc fighting
|
||||
-- for common resource: cpu threads.
|
||||
-- This is not a problem for us for now since we have only one package in our project.
|
||||
ghc-options: -j
|
||||
|
||||
-- This causes cabal to build packages on all cores, instead of just one.
|
||||
|
Loading…
Reference in New Issue
Block a user