Update Nanos6 to 2.8
This commit is contained in:
parent
f28817c3bf
commit
246aa8e7d1
@ -13,6 +13,7 @@
|
|||||||
, extrae
|
, extrae
|
||||||
, boost
|
, boost
|
||||||
, babeltrace2
|
, babeltrace2
|
||||||
|
, ovni
|
||||||
, enableJemalloc ? true
|
, enableJemalloc ? true
|
||||||
, jemalloc ? null
|
, jemalloc ? null
|
||||||
, cachelineBytes ? 64
|
, cachelineBytes ? 64
|
||||||
@ -25,13 +26,13 @@ with lib;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nanos6";
|
pname = "nanos6";
|
||||||
version = "2.7";
|
version = "2.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bsc-pm";
|
owner = "bsc-pm";
|
||||||
repo = "nanos6";
|
repo = "nanos6";
|
||||||
rev = "version-${version}";
|
rev = "version-${version}";
|
||||||
sha256 = "1zw0pn4w450il2av50yr4n4zfh0sljw50wxp816pw6vbk6zf3yks";
|
sha256 = "YGj/cubqXaNt4lR2CnSU+nXvi+SdB56EXLhfN/ufjHs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -44,7 +45,10 @@ stdenv.mkDerivation rec {
|
|||||||
export CACHELINE_WIDTH=${toString cachelineBytes}
|
export CACHELINE_WIDTH=${toString cachelineBytes}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--with-babeltrace2=${babeltrace2}" ] ++
|
configureFlags = [
|
||||||
|
"--with-babeltrace2=${babeltrace2}"
|
||||||
|
"--with-ovni=${ovni}"
|
||||||
|
] ++
|
||||||
(optional enableJemalloc "--with-jemalloc=${jemalloc}") ++
|
(optional enableJemalloc "--with-jemalloc=${jemalloc}") ++
|
||||||
(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG");
|
(optional enableGlibcxxDebug "CXXFLAGS=-D_GLIBCXX_DEBUG");
|
||||||
|
|
||||||
@ -66,6 +70,7 @@ stdenv.mkDerivation rec {
|
|||||||
hwloc
|
hwloc
|
||||||
papi
|
papi
|
||||||
babeltrace2
|
babeltrace2
|
||||||
|
ovni
|
||||||
] ++ (if (extrae != null) then [extrae] else []);
|
] ++ (if (extrae != null) then [extrae] else []);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user