[flake] some updates for llvm

parent 8943dcb9
Pipeline #6795 failed with stages
in 7 minutes and 23 seconds
...@@ -53,12 +53,14 @@ ...@@ -53,12 +53,14 @@
"accelerate-llvm": { "accelerate-llvm": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1692704049, "allRefs": true,
"narHash": "sha256-7+FzD5d3UpSBGC5BQZHefVVrD0WnDAS1lS9HpVlBNaA=", "lastModified": 1726339652,
"owner": "AccelerateHS", "narHash": "sha256-EXMfVFFUGAlwo3+E5krJIid8lMb5B2bGD0zRi+Jq9u4=",
"repo": "accelerate-llvm", "ref": "refs/heads/master",
"rev": "2b5d69448557e89002c0179ea1aaf59bb757a6e3", "rev": "eb544e52e66509314c5efe9f9765c5e42d00c5a4",
"type": "github" "revCount": 2207,
"type": "git",
"url": "https://github.com/AccelerateHS/accelerate-llvm.git"
}, },
"original": { "original": {
"owner": "AccelerateHS", "owner": "AccelerateHS",
...@@ -880,16 +882,15 @@ ...@@ -880,16 +882,15 @@
"llvm-hs": { "llvm-hs": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1704355366, "lastModified": 1691592473,
"narHash": "sha256-6iMGwdgUZx+yKhsgvZ1RJAB479l6HmbgHmy/YT7S6as=", "narHash": "sha256-Mfb+sRrCWS29TSbfDOzvPOmz+5h2sAp79lyiGeYK5Gs=",
"owner": "adinapoli", "owner": "llvm-hs",
"repo": "llvm-hs", "repo": "llvm-hs",
"rev": "7533a9ccd3bfe77141745f6b61039a26aaf5c83b", "rev": "e4b3cfa47e72f094ab109884f18acfc666b0fb7d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "adinapoli", "owner": "llvm-hs",
"ref": "adinapoli/llvm-12-ghc-947-compat",
"repo": "llvm-hs", "repo": "llvm-hs",
"type": "github" "type": "github"
} }
......
...@@ -71,7 +71,8 @@ ...@@ -71,7 +71,8 @@
# WARNING: fork of https://github.com/llvm-hs/llvm-hs # WARNING: fork of https://github.com/llvm-hs/llvm-hs
# using adinapoli/llvm-12-ghc-947-compat branch # using adinapoli/llvm-12-ghc-947-compat branch
# Tracked in: https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/318 # Tracked in: https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/318
llvm-hs = { url = "github:adinapoli/llvm-hs/adinapoli/llvm-12-ghc-947-compat"; flake = false; }; #llvm-hs = { url = "github:adinapoli/llvm-hs"; flake = false; };
llvm-hs = { url = "github:llvm-hs/llvm-hs"; flake = false; };
nanomsg-haskell = { url = "git+https://github.com/garganscript/nanomsg-haskell"; flake = false; }; nanomsg-haskell = { url = "git+https://github.com/garganscript/nanomsg-haskell"; flake = false; };
opaleye-textsearch = { url = "git+https://gitlab.iscpif.fr/gargantext/opaleye-textsearch.git?allRefs=1"; flake = false; }; opaleye-textsearch = { url = "git+https://gitlab.iscpif.fr/gargantext/opaleye-textsearch.git?allRefs=1"; flake = false; };
openalex = { url = "git+https://gitlab.iscpif.fr/gargantext/crawlers/openalex.git"; flake = false; }; openalex = { url = "git+https://gitlab.iscpif.fr/gargantext/crawlers/openalex.git"; flake = false; };
...@@ -123,6 +124,7 @@ ...@@ -123,6 +124,7 @@
rawCabalProject = lib.readFile ./cabal.project; rawCabalProject = lib.readFile ./cabal.project;
# haskell.nix's main entry point # haskell.nix's main entry point
# legacyPackages.x86_64-linux.project.args
project = pkgs.haskell-nix.cabalProject' [ project = pkgs.haskell-nix.cabalProject' [
({ config, pkgs, ... }: { ({ config, pkgs, ... }: {
name = "gargantext"; name = "gargantext";
...@@ -213,7 +215,8 @@ ...@@ -213,7 +215,8 @@
"https://github.com/AccelerateHS/accelerate.git" = inputs.accelerate; "https://github.com/AccelerateHS/accelerate.git" = inputs.accelerate;
"https://github.com/MercuryTechnologies/ekg-json.git" = inputs.ekg-json; "https://github.com/MercuryTechnologies/ekg-json.git" = inputs.ekg-json;
"https://github.com/boolexpr/boolexpr.git" = inputs.boolexpr; "https://github.com/boolexpr/boolexpr.git" = inputs.boolexpr;
"https://github.com/adinapoli/llvm-hs.git" = inputs.llvm-hs; #"https://github.com/adinapoli/llvm-hs.git" = inputs.llvm-hs;
"https://github.com/llvm-hs/llvm-hs.git" = inputs.llvm-hs;
"https://github.com/alpmestan/accelerate-arithmetic.git" = applyPatches "accelerate-arithmetic" [ "https://github.com/alpmestan/accelerate-arithmetic.git" = applyPatches "accelerate-arithmetic" [
nix/haskell.nix/patches/accelerate-arithmetic/0001-remove-test-using-removed-realBandedGramian.patch nix/haskell.nix/patches/accelerate-arithmetic/0001-remove-test-using-removed-realBandedGramian.patch
]; ];
...@@ -267,6 +270,11 @@ ...@@ -267,6 +270,11 @@
configureFlags = [ "--extra-include-dirs=${pkgs.igraph.dev}/include/igraph" ]; configureFlags = [ "--extra-include-dirs=${pkgs.igraph.dev}/include/igraph" ];
}; };
packages.llvm-hs.components.library = {
libs = [ pkgs.llvm_15
pkgs.libxml2 ];
};
# Link with OpenBLAS optimized libraries. # Link with OpenBLAS optimized libraries.
# WARNING: OpenBLAS must only be used by trusted code # WARNING: OpenBLAS must only be used by trusted code
# it is inherently unsuitable for security-conscious applications. # it is inherently unsuitable for security-conscious applications.
......
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