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

[FIX] Optim with O2

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