saiph: add gitTable

This commit is contained in:
Rodrigo Arias 2021-04-19 16:40:53 +02:00
parent 9377adf787
commit 1402111e40
2 changed files with 73 additions and 61 deletions

View File

@ -26,6 +26,7 @@
, sizex ? 3 , sizex ? 3
, sizey ? 4 , sizey ? 4
, sizez ? 4 , sizez ? 4
, garlicTools
}: }:
assert enableManualDist -> (nbgx != null); assert enableManualDist -> (nbgx != null);
@ -35,16 +36,17 @@ assert enableManualDist -> (nbgz != null);
with stdenv.lib; with stdenv.lib;
with stdenv.lib.versions; with stdenv.lib.versions;
let
gitSource = garlicTools.fetchGarlicApp {
appName = "saiph";
inherit gitCommit gitBranch;
gitTable = import ./git-table.nix;
};
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "saiph"; name = "saiph";
inherit gitBranch gitCommit; inherit (gitSource) src gitBranch gitCommit;
src = builtins.fetchGit ({
url = "ssh://git@bscpm03.bsc.es/DSLs/saiph.git";
ref = "${gitBranch}";
} // (optionalAttrs (gitCommit != null) {
rev = "${gitCommit}";
}));
programPath = "/bin/Heat3D_vect"; programPath = "/bin/Heat3D_vect";

View File

@ -0,0 +1,10 @@
{
# Auto-generated with garlic-git-table on 2021-04-19 for repo:
# ssh://git@bscpm03.bsc.es/garlic/apps/saiph.git
"garlic/mpi+isend+omp+fork+simd" = "96823846b327b6860f05d428f0cd5ed8ca537a0e";
"garlic/mpi+isend+omp+task+simd" = "de0346a559120f561bff554aa86b34d01214b714";
"garlic/mpi+isend+seq+simd" = "1411dad765231f5d3cec9f621526583974232d42";
"garlic/tampi+isend+omp+task+simd" = "587a7651df8eb69cae4a79bdfc5cb7f50723f3ce";
"garlic/tampi+isend+oss+task+simd" = "3731197d3e35df248fa6bdb7e4cb05c5dd4f2597";
}