Merge branch 'master' of bscpm02.bsc.es:rarias/bsc-nixpkgs
This commit is contained in:
commit
ea81c34f31
18
bsc/apps/dummy/default.nix
Normal file
18
bsc/apps/dummy/default.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
stdenv
|
||||||
|
, branch ? null
|
||||||
|
, srcPath ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
#assert if srcPath == null then branch != null else true;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "dummy";
|
||||||
|
|
||||||
|
src = (if srcPath != null then srcPath else
|
||||||
|
builtins.fetchGit {
|
||||||
|
url = "ssh://git@bscpm02.bsc.es/rarias/dummy.git";
|
||||||
|
ref = "${branch}";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
@ -8,7 +8,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gauss-seidel";
|
name = "heat";
|
||||||
|
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "ssh://git@bscpm02.bsc.es/benchmarks/ompss-2/heat-conflict-kevin.git";
|
url = "ssh://git@bscpm02.bsc.es/benchmarks/ompss-2/heat-conflict-kevin.git";
|
@ -124,7 +124,7 @@ let
|
|||||||
tampi = tampi;
|
tampi = tampi;
|
||||||
};
|
};
|
||||||
|
|
||||||
gauss-seidel = callPackage ./bsc/apps/gauss-seidel/default.nix {
|
heat = callPackage ./bsc/apps/heat/default.nix {
|
||||||
stdenv = pkgs.gcc7Stdenv;
|
stdenv = pkgs.gcc7Stdenv;
|
||||||
mpi = intel-mpi;
|
mpi = intel-mpi;
|
||||||
tampi = tampi;
|
tampi = tampi;
|
||||||
|
Loading…
Reference in New Issue
Block a user