Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
158
Issues
158
List
Board
Labels
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
f03d154a
Commit
f03d154a
authored
Mar 20, 2023
by
Alfredo Di Napoli
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use igraph 0.10.4
parent
5eaec919
Pipeline
#3777
failed with stage
in 29 minutes and 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
2 deletions
+58
-2
pkgs.nix
nix/pkgs.nix
+56
-1
stack.yaml
stack.yaml
+2
-1
No files found.
nix/pkgs.nix
View file @
f03d154a
...
...
@@ -3,6 +3,61 @@
rec
{
inherit
pkgs
;
ghc
=
pkgs
.
haskell
.
compiler
.
ghc8107
;
igraph_0_10_4
=
pkgs
.
igraph
.
overrideAttrs
(
finalAttrs
:
previousAttrs
:
{
version
=
"0.10.4"
;
src
=
pkgs
.
fetchFromGitHub
{
owner
=
"igraph"
;
repo
=
"igraph"
;
rev
=
"0.10.4"
;
hash
=
"sha256-LsTOxUktGZcp46Ec9QH3+9C+VADMYTZZCjKF1gp36xk="
;
};
postPatch
=
''
echo "0.10.4" > IGRAPH_VERSION
''
;
outputs
=
[
"out"
"doc"
];
buildInputs
=
[
pkgs
.
arpack
pkgs
.
blas
pkgs
.
glpk
pkgs
.
gmp
pkgs
.
lapack
pkgs
.
libxml2
pkgs
.
plfit
]
++
pkgs
.
lib
.
optionals
pkgs
.
stdenv
.
cc
.
isClang
[
pkgs
.
llvmPackages
.
openmp
];
cmakeFlags
=
[
"-DIGRAPH_USE_INTERNAL_BLAS=OFF"
"-DIGRAPH_USE_INTERNAL_LAPACK=OFF"
"-DIGRAPH_USE_INTERNAL_ARPACK=OFF"
"-DIGRAPH_USE_INTERNAL_GLPK=OFF"
"-DIGRAPH_USE_INTERNAL_GMP=OFF"
"-DIGRAPH_USE_INTERNAL_PLFIT=OFF"
"-DIGRAPH_GLPK_SUPPORT=ON"
"-DIGRAPH_GRAPHML_SUPPORT=ON"
"-DIGRAPH_OPENMP_SUPPORT=ON"
"-DIGRAPH_ENABLE_LTO=AUTO"
"-DIGRAPH_ENABLE_TLS=ON"
"-DBUILD_SHARED_LIBS=ON"
];
postInstall
=
''
mkdir -p "$out/share"
cp -r doc "$out/share"
''
;
postFixup
=
previousAttrs
.
postFixup
+
''
CUR_DIR=$PWD
cd "$out/include/igraph" && cp *.h ../
cd $CUR_DIR
''
;
});
hsBuildInputs
=
[
ghc
pkgs
.
cabal-install
...
...
@@ -16,7 +71,7 @@ rec {
gsl
#haskell-language-server
hlint
igraph
igraph
_0_10_4
libffi
liblapack
lzma
...
...
stack.yaml
View file @
f03d154a
...
...
@@ -101,7 +101,8 @@ extra-deps:
#- git: https://github.com/alpmestan/haskell-igraph.git
# commit: 9f55eb36639c8e0965c8bc539a57738869f33e9a
-
git
:
https://gitlab.iscpif.fr/gargantext/haskell-igraph.git
commit
:
03c8885d0166255ed7bf0b624a07610ea68ec02c
# 0.10.4-rc1
commit
:
2a28524134b68421f30f6e97961063018f814a82
-
git
:
https://gitlab.iscpif.fr/gargantext/haskell-infomap.git
commit
:
6d1d60b952b9b2b272b58fc5539700fd8890ac88
...
...
Julien Moutinho
@julm
mentioned in merge request
!258
·
Mar 13, 2024
mentioned in merge request
!258
mentioned in merge request !258
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment