bscpkgs/default.nix

43 lines
1.0 KiB
Nix
Raw Normal View History

2020-06-08 18:01:33 +02:00
{ pkgs ? import <nixpkgs> {} }:
let
inherit (pkgs.lib) callPackageWith;
inherit (pkgs.lib) callPackagesWith;
inherit (pkgs) pythonPackages;
inherit (pkgs) perlPackages;
inherit (pkgs) buildPerlPackage;
callPackage = callPackageWith (pkgs // self.bsc);
callPackage_i686 = callPackageWith (pkgs.pkgsi686Linux // self.bsc);
callPackages = callPackagesWith (pkgs // self.bsc);
self.bsc = rec {
# Load the current implementations
2020-06-09 18:21:02 +02:00
#mpi = pkgs.mpich;
mpi = pkgs.openmpi;
# Load the compiler
#stdenv = pkgs.gcc7Stdenv;
#stdenv = pkgs.gcc9Stdenv;
#stdenv = pkgs.gcc10Stdenv;
stdenv = pkgs.clangStdenv;
2020-06-08 18:01:33 +02:00
2020-06-10 19:35:11 +02:00
extrae = callPackage ./bsc/extrae/default.nix {
2020-06-09 18:21:02 +02:00
mpi = mpi;
2020-06-08 18:01:33 +02:00
};
2020-06-10 19:35:11 +02:00
tampi = callPackage ./bsc/tampi/default.nix {
2020-06-09 18:21:02 +02:00
mpi = mpi;
};
2020-06-10 18:55:30 +02:00
nanos6 = callPackage ./bsc/nanos6/default.nix {
extrae = extrae;
};
nanos6-git = callPackage ./bsc/nanos6/git.nix {
2020-06-09 18:21:02 +02:00
extrae = extrae;
2020-06-08 18:01:33 +02:00
};
2020-06-10 19:35:11 +02:00
llvm-ompss2 = callPackage ./bsc/llvm-ompss2/default.nix { };
2020-06-09 18:21:02 +02:00
};
2020-06-08 18:01:33 +02:00
in pkgs // self