nanos6: update 2.5.1 -> 2.6
This commit is contained in:
parent
b6d742380b
commit
f2c6a3cb15
@ -11,6 +11,7 @@
|
|||||||
, papi
|
, papi
|
||||||
, extrae
|
, extrae
|
||||||
, boost
|
, boost
|
||||||
|
, babeltrace2
|
||||||
, enableJemalloc ? true
|
, enableJemalloc ? true
|
||||||
, jemalloc ? null
|
, jemalloc ? null
|
||||||
, cachelineBytes ? 64
|
, cachelineBytes ? 64
|
||||||
@ -23,31 +24,28 @@ with stdenv.lib;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nanos6";
|
pname = "nanos6";
|
||||||
version = "2.5.1";
|
version = "2.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bsc-pm";
|
owner = "bsc-pm";
|
||||||
repo = "nanos6";
|
repo = "nanos6";
|
||||||
rev = "version-${version}";
|
rev = "version-${version}";
|
||||||
sha256 = "17z6gr122cw0l4lsp0qdrdbcl1zcls4i0haxqpj3g60fvjx3fznp";
|
sha256 = "0rnbcjgsczqs4qqbm5w761f8h7fs1cw36akhjlbfazs5l92f0ac5";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./clock-monotonic.patch ];
|
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
patchShebangs scripts/generate_config.sh
|
patchShebangs scripts/generate_config.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
dontStrip = true;
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export CACHELINE_WIDTH=${toString cachelineBytes}
|
export CACHELINE_WIDTH=${toString cachelineBytes}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [] ++
|
configureFlags = [ "--with-babeltrace2=${babeltrace2}" ] ++
|
||||||
optional enableJemalloc "--with-jemalloc=${jemalloc}" ++
|
(optional enableJemalloc "--with-jemalloc=${jemalloc}") ++
|
||||||
optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG";
|
(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG");
|
||||||
|
|
||||||
# The "bindnow" flags are incompatible with ifunc resolution mechanism. We
|
# The "bindnow" flags are incompatible with ifunc resolution mechanism. We
|
||||||
# disable all by default, which includes bindnow.
|
# disable all by default, which includes bindnow.
|
||||||
@ -62,7 +60,8 @@ stdenv.mkDerivation rec {
|
|||||||
boost
|
boost
|
||||||
numactl
|
numactl
|
||||||
hwloc
|
hwloc
|
||||||
papi ]
|
papi
|
||||||
++ (if (extrae != null) then [extrae] else []);
|
babeltrace2
|
||||||
|
] ++ (if (extrae != null) then [extrae] else []);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user