bscpkgs/bsc/nanos6/default.nix

52 lines
889 B
Nix
Raw Normal View History

2020-06-09 00:01:33 +08:00
{
stdenv
, fetchurl
, automake
, autoconf
, libtool
, pkg-config
, numactl
, hwloc
, papi
#, gnumake
2020-06-10 00:21:02 +08:00
, extrae
2020-06-09 00:01:33 +08:00
, boost
}:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "nanos6";
version = "2.3.2";
src = fetchurl {
2020-06-11 00:55:30 +08:00
url = "https://pm.bsc.es/ftp/ompss-2/releases/ompss-2-2019.11.2.tar.gz";
2020-06-09 00:01:33 +08:00
sha256 = "03v1kpggdch25m1wfrdjl6crq252dgy6pms8h94d5jwcjh06fbf8";
};
2020-06-10 00:21:02 +08:00
enableParallelBuilding = true;
2020-06-09 00:01:33 +08:00
preConfigure = ''
cd ${pname}-${version}
sed -i 's|/bin/echo|echo|g' loader/scripts/common.sh loader/scripts/lint/common.sh
'';
2020-06-15 17:54:22 +08:00
configureFlags = [
"--with-symbol-resolution=indirect"
];
2020-06-09 00:01:33 +08:00
#configureFlags = []
# ++ (if (extrae != null) then ["--with-extrae=${extrae}"] else [""]);
buildInputs = [
autoconf
automake
libtool
pkg-config
boost
numactl
hwloc
papi ]
2020-06-10 00:21:02 +08:00
++ (if (extrae != null) then [extrae] else []);
2020-06-09 00:01:33 +08:00
}