Merge branch 'dev-merge' into dev
[gargantext.git] / stack.yaml
index 5b2320fb641f12e858e6dba191c071ecf4a757c9..1f0bb4bc43a5db2f2b294913292737cbdf3093a3 100644 (file)
@@ -1,21 +1,25 @@
 resolver:
- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/13.yaml 
-flags: {}
+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/28.yaml
+flags:
+    accelerate:
+        debug: false
 extra-package-dbs: []
+skip-ghc-check: true
 packages:
 - .
-#- 'deps/patches-class'
-#- 'deps/patches-map'
-#- 'deps/accelerate'
-#- 'deps/accelerate-utility'
+  #- 'deps/gargantext-graph'
+  #- 'deps/haskell-opaleye'
 
 docker:
   enable: false
   #enable: true
-  repo: 'cgenie/stack-build:lts-18.12-garg'
+  repo: 'cgenie/stack-build:lts-18.18-garg'
+  #repo: 'cgenie/nixos-stack:latest'
   run-args:
     - '--publish=8008:8008'
 
+skip-ghc-check: true
+
 nix:
   enable: false
   add-gc-roots: true
@@ -23,13 +27,17 @@ nix:
 
 allow-newer: true
 
-#ghc-options:
+ghc-options:
+  "$everything": -fprint-potential-instances
 #  "$everything": -haddock
 
 extra-deps:
-- #git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
-  git: https://gitlab.iscpif.fr/cgenie/haskell-gargantext-prelude.git
-  commit: 35b09629a658fc16cc9ff63e7591e58511cd98a7
+- git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude.git
+  commit: 7bcd5fc5bad511892c4fd337cf2d4d23c1ec051b
+#- git: https://gitlab.iscpif.fr/cgenie/haskell-gargantext-prelude
+#  commit: 7b9656ce5180d2723301561b0715f06c7b905182
+- git: https://gitlab.iscpif.fr/gargantext/gargantext-graph.git
+  commit: 588e104fe7593210956610cab0041fd16584a4ce
   # Data Mining Libs
 - git: https://github.com/delanoe/data-time-segment.git
   commit: 10a416b9f6c443866b36479c3441ebb3bcdeb7ef
@@ -41,31 +49,47 @@ extra-deps:
   commit: 3fe28b683aba5ddf05e3b5f8eced0bd05c5a29f9
 
   # API libs
+- git: https://github.com/haskell-servant/servant.git
+  commit: c2af6e775d1d36f2011d43aff230bb502f8fba63
+  subdirs:
+    - servant/
+    - servant-server/
+    - servant-client-core/
+    - servant-client/
+    - servant-auth/servant-auth/
+    - servant-auth/servant-auth-client/
+    - servant-auth/servant-auth-server/
 - git: https://github.com/delanoe/servant-static-th.git
   commit: 8cb8aaf2962ad44d319fcea48442e4397b3c49e8
+- git: https://github.com/alpmestan/ekg-json.git
+  commit: fd7e5d7325939103cd87d0dc592faf644160341c
 
   # Databases libs
 - git: https://github.com/delanoe/haskell-opaleye.git
-  commit: d3ab7acd5ede737478763630035aa880f7e34444
+  commit: 756cb90f4ce725463d957bc899d764e0ed73738c
 - git: https://github.com/delanoe/hsparql.git
-  commit: 308c74b71a1abb0a91546fa57d353131248e3a7f
+  commit: 2acbbc55ac9bbd4bf1a713c586b8b8e8b82892eb
 - git: https://github.com/robstewart57/rdf4h.git
   commit: 4fd2edf30c141600ffad6d730cc4c1c08a6dbce4
 
   # External Data API connectors
 - git: https://gitlab.iscpif.fr/gargantext/crawlers/pubmed.git
-  commit: a9d8e08a7ef82f90e29dfaced4071704a3163394
+  commit: 31cb4d28dcb5d17274cede5e67b2a01914379129
+  #commit: 364885c891cbadcd4d8a623d2e41394b09f653aa
 - git: https://gitlab.iscpif.fr/gargantext/crawlers/istex.git
-  commit: daeae80365250c4bd539f0a65e271f9aa37f731f
+  commit: a34bb341236d82cf3d488210bc1d8448a98f5808
 - git: https://gitlab.iscpif.fr/gargantext/crawlers/hal.git
-  commit: 020f5f9b308f5c23c925aedf5fb11f8b4728fb19
+  commit: 4aad6c62483de21e8b61845c0c487aaf8677da96
 - git: https://gitlab.iscpif.fr/gargantext/crawlers/isidore.git
   commit: 3db385e767d2100d8abe900833c6e7de3ac55e1b
+- git: https://gitlab.iscpif.fr/gargantext/crawlers/arxiv-api.git
+  commit: a2d78abeaec9315be765b90d5e51a4a50c48e7b8
+#- git: https://gitlab.iscpif.fr/cgenie/arxiv-api.git
+#- arxiv-0.0.3@sha256:02de1114091d11f1f3ab401d104d125ad4301260806feb7f63b3dcefc7db88cf,1588
 
   # NP libs
-  #- git: https://github.com/np/servant-job.git # waiting for PR
-- git: https://github.com/delanoe/servant-job.git
-  commit: 5b15f6ffbff6bc8e26c46206d6d227213fc1821f
+- git: https://github.com/alpmestan/servant-job.git
+  commit: b4182487cfe479777c11ca19f3c0d47840b376f6
   #- git: https://github.com/np/patches-map
 - git: https://github.com/delanoe/patches-map
   commit: 76cae88f367976ff091e661ee69a5c3126b94694
@@ -77,25 +101,42 @@ extra-deps:
 #- git: https://github.com/kaizhang/haskell-igraph.git
 - git: https://github.com/alpmestan/haskell-igraph.git
   commit: 9f55eb36639c8e0965c8bc539a57738869f33e9a
+- git: https://gitlab.iscpif.fr/gargantext/haskell-infomap.git
+  commit: 6d1d60b952b9b2b272b58fc5539700fd8890ac88
 
   # Accelerate Linear Algebra and specific instances
-  # (UndecidableInstances for newer GHC version)
-- git: https://gitlab.iscpif.fr/anoe/accelerate.git
-  commit: f5c0e0071ec7b6532f9a9cd3eb33d14f340fbcc9
-- git: https://gitlab.iscpif.fr/anoe/accelerate-utility.git
-  commit: 83ada76e78ac10d9559af8ed6bd4064ec81308e4
-- accelerate-arithmetic-1.0.0.1@sha256:555639232aa5cad411e89247b27871d09352b987a754230a288c690b6de6d888,2096
-
-- git: https://github.com/CGenie/morpheus-graphql.git
-  commit: 899b7bf21274739beae84b27812f76e2a5e67e29
+- git: https://github.com/alpmestan/accelerate.git
+  commit: 640b5af87cea94b61c7737d878e6f7f2fca5c015
+- git: https://github.com/alpmestan/accelerate-arithmetic.git
+  commit: a110807651036ca2228a76507ee35bbf7aedf87a
+- git: https://gitlab.iscpif.fr/amestanogullari/accelerate-utility.git
+  commit: a3875fe652d3bb5acb522674c22c6c814c1b4ad0
+- git: https://github.com/alpmestan/accelerate-llvm.git
+  commit: 944f5a4aea35ee6aedb81ea754bf46b131fce9e3
+  subdirs:
+    - accelerate-llvm/
+    - accelerate-llvm-native/
+- git: https://github.com/rspeer/wikiparsec.git
+  commit: 9637a82344bb70f7fa8f02e75db3c081ccd434ce
+
+  # Gargantext-graph
+- eigen-3.3.7.0@sha256:7c24a86426b238e02ba0ac2179cc44997518b443a13828ed7a791fe49a6dffa5,82060
+- git: https://github.com/alpmestan/sparse-linear.git
+  commit: bc6ca8058077b0b5702ea4b88bd4189cfcad267a
+  subdirs:
+    - sparse-linear
+- git: https://github.com/alpmestan/hmatrix.git
+  commit: b9fca8beee0f23c17a6b2001ec834d071709e6e7
   subdirs:
-  - .
-  - morpheus-graphql-app
-  - morpheus-graphql-core
-  - morpheus-graphql-code-gen
-  - morpheus-graphql-subscriptions
+    - packages/base
+
+- monad-logger-aeson-0.2.0.0
+# required by monad-logger-aeson
+- context-0.2.0.0@sha256:6b643adb4a64fe521873d08df0497f71f88e18b9ecff4b68b4eef938e446cfc9,1886
 
-  # Others dependencies (using stack resolver)
+- random-1.2.1
+
+      # Others dependencies (using stack resolver)
 - constraints-extras-0.3.1.0@sha256:12016ebb91ad5ed2c82bf7e48c6bd6947d164d33c9dca5ac3965de1bb6c780c0,1777
 - KMP-0.2.0.0@sha256:6dfbac03ef00ebd9347234732cb86a40f62ab5a80c0cc6bedb8eb51766f7df28,2562
 - Unique-0.4.7.8@sha256:9661f45aa31dde119a2114566166ea38b011a45653337045ee4ced75636533c0,2067
@@ -121,4 +162,18 @@ extra-deps:
 
 # need Vector.uncons
 - vector-0.12.3.0@sha256:0ae2c1ba86f0077910be242ec6802cc3d7725fe7b2bea6987201aa3737b239b5,7953
+
+# needed for wikiparsec
+- fast-tagsoup-utf8-only-1.0.5@sha256:9292c8ff275c08b88b6013ccc410182552f180904214a07ad4db932ab462aaa1,1651
+# wikipedia crawl
+- taggy-lens-0.1.2@sha256:091ca81d02bd3d7fb493dce0148e1a38f25eb178a1ebd751043a23239e5e3265,3009
+- taggy-0.2.1@sha256:7bc55ddba178971dc6052163597f0445a0a2b5b0ca0e84ce651d53d722e3c265,4662
+
 - servant-ekg-0.3.1@sha256:19bd9dc3943983da8e79d6f607614c68faea4054fb889d508c8a2b67b6bdd448,2203
+
+
+# For the graph clustering
+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