saiph: add gitTable
This commit is contained in:
parent
9377adf787
commit
1402111e40
@ -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;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
gitSource = garlicTools.fetchGarlicApp {
|
||||||
|
appName = "saiph";
|
||||||
|
inherit gitCommit gitBranch;
|
||||||
|
gitTable = import ./git-table.nix;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
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";
|
||||||
|
|
||||||
@ -101,4 +103,4 @@ stdenv.mkDerivation rec {
|
|||||||
cp obj/libsaiphv2.so $out/lib/
|
cp obj/libsaiphv2.so $out/lib/
|
||||||
cp bin/Heat3D_vect $out/bin/
|
cp bin/Heat3D_vect $out/bin/
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
10
garlic/apps/saiph/git-table.nix
Normal file
10
garlic/apps/saiph/git-table.nix
Normal 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";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user