Commit 5fc2868e authored by Alp Mestanogullari's avatar Alp Mestanogullari

add optimisation flags for stack, automatically pass -qg (disables parallel GC) when running

parent ccfde588
......@@ -79,7 +79,7 @@ executable gargantext-graph-exe
hs-source-dirs:
app
default-extensions: DataKinds FlexibleInstances OverloadedStrings
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wmissing-signatures -Wcompat
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-qg -Wmissing-signatures -Wcompat
build-depends:
accelerate
, accelerate-arithmetic
......
......@@ -55,6 +55,10 @@ extra-deps:
- accelerate-arithmetic-1.0.0.1@sha256:555639232aa5cad411e89247b27871d09352b987a754230a288c690b6de6d888,2096
# - eigen-3.3.7.0@sha256:7c24a86426b238e02ba0ac2179cc44997518b443a13828ed7a791fe49a6dffa5,82060
ghc-options:
hmatrix: -O2 -fsimpl-tick-factor=10000 -fdicts-cheap -fdicts-strict -flate-dmd-anal -fno-state-hack
sparse-linear: -O2 -fsimpl-tick-factor=10000 -fdicts-cheap -fdicts-strict -flate-dmd-anal -fno-state-hack
gargantext-graph: -O2 -fsimpl-tick-factor=10000 -fdicts-cheap -fdicts-strict -flate-dmd-anal -fno-state-hack
# Override default flag values for local packages and extra-deps
# flags: {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment