Commit 63a65174 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] Optim with O2

parent ef13af01
......@@ -2,7 +2,7 @@
echo "GarganText, build, install, test and documentation"
nix-shell --run "cabal update \\
&& cabal v2-build \\
&& cabal v2-build --ghc-options=-O2 \\
&& cabal --overwrite-policy=always install \\
&& cabal v2-test --test-show-details=streaming \\
&& cabal haddock"
......@@ -64,7 +64,7 @@ common defaults
build-depends:
base >=4.7 && <5
-- optimizations
optimization: 2
common optimized
ghc-options:
-O2
......@@ -812,6 +812,7 @@ executable gargantext-server
, text ^>= 1.2.4.1
, unordered-containers ^>= 0.2.16.0
, vector ^>= 0.7.3
optimization: 2
executable gargantext-upgrade
import:
......
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