Commit 0bcef269 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] compilation ok

parent d5b2f371
...@@ -341,6 +341,7 @@ library ...@@ -341,6 +341,7 @@ library
, Unique , Unique
, accelerate , accelerate
, accelerate-arithmetic , accelerate-arithmetic
, accelerate-llvm-native
, accelerate-utility , accelerate-utility
, aeson , aeson
, aeson-lens , aeson-lens
......
{ pkgs ? import ./pinned-21.05.nix {} }: { pkgs ? import ./pinned-21.11.nix {} }:
rec { rec {
inherit pkgs; inherit pkgs;
ghc = pkgs.haskell.compiler.ghc8104; ghc = pkgs.haskell.compiler.ghc8107;
hsBuildInputs = [ hsBuildInputs = [
ghc ghc
pkgs.cabal-install pkgs.cabal-install
...@@ -30,6 +30,8 @@ rec { ...@@ -30,6 +30,8 @@ rec {
expat expat
icu icu
graphviz graphviz
llvm
libllvm
]; ];
libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs; libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs;
shellHook = '' shellHook = ''
......
...@@ -4,6 +4,10 @@ FOLDER="logs" ...@@ -4,6 +4,10 @@ FOLDER="logs"
FILE=$(date +%Y%m%d%H%M.log) FILE=$(date +%Y%m%d%H%M.log)
LOGFILE=$FOLDER"/"$FILE LOGFILE=$FOLDER"/"$FILE
#BIN="/home/anoe/projets/gargantext-hs/.stack-work/docker/_home/.local/bin/gargantext-server"
#BIN="~/.local/bin/gargantext-server"
mkdir -p $FOLDER mkdir -p $FOLDER
env LANG=en_US.UTF-8 ~/.local/bin/gargantext-server --ini gargantext.ini --run Dev +RTS > $LOGFILE 2>&1 & tail -F $LOGFILE # -p #env LANG=en_US.UTF-8 ~/.local/bin/gargantext-server --ini gargantext.ini --run Dev +RTS > $LOGFILE 2>&1 & tail -F $LOGFILE # -p
env LANG=en_US.UTF-8 stack --docker exec gargantext-server -- --ini gargantext.ini --run Dev +RTS > $LOGFILE 2>&1 & tail -F $LOGFILE # -p
...@@ -39,6 +39,7 @@ where $n_{ij}$ is the cooccurrence between term $i$ and term $j$ ...@@ -39,6 +39,7 @@ where $n_{ij}$ is the cooccurrence between term $i$ and term $j$
{-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeOperators #-}
{-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE ViewPatterns #-} {-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE GADTs #-}
module Gargantext.Core.Methods.Distances.Accelerate.Distributional module Gargantext.Core.Methods.Distances.Accelerate.Distributional
where where
......
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