tampi: add gitlab repo in tampiGit

This commit is contained in:
Rodrigo Arias Mallo 2020-09-30 09:35:23 +02:00
parent ec21ba98b5
commit a227084e39
2 changed files with 29 additions and 1 deletions

26
bsc/tampi/git.nix Normal file
View File

@ -0,0 +1,26 @@
{
stdenv
, fetchurl
, automake
, autoconf
, libtool
, gnumake
, boost
, mpi
, gcc
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "tampi";
version = "${src.shortRev}";
enableParallelBuilding = true;
buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
dontDisableStatic = true;
configureFlags = [ "--disable-mpi-mt-check" "CXXFLAGS=-DOMPI_SKIP_MPICXX=1" ];
src = builtins.fetchGit {
url = "ssh://git@bscpm02.bsc.es/interoperability/tampi";
ref = "master";
};
}

View File

@ -82,7 +82,9 @@ let
extrae = callPackage ./bsc/extrae/default.nix { };
tampi = callPackage ./bsc/tampi/default.nix { };
tampi = self.bsc.tampiRelease;
tampiRelease = callPackage ./bsc/tampi/default.nix { };
tampiGit = callPackage ./bsc/tampi/git.nix { };
mcxxGit = callPackage ./bsc/mcxx/default.nix {
bison = self.bison_3_5;