Update extrae and enable man pages
This commit is contained in:
parent
09c2b9005a
commit
87809ef903
@ -1,5 +1,5 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchgit
|
, fetchFromGitHub
|
||||||
, boost
|
, boost
|
||||||
, libdwarf
|
, libdwarf
|
||||||
, libelf
|
, libelf
|
||||||
@ -10,30 +10,37 @@
|
|||||||
, libiberty
|
, libiberty
|
||||||
, gfortran
|
, gfortran
|
||||||
, xml2
|
, xml2
|
||||||
|
, which
|
||||||
, mpi ? null
|
, mpi ? null
|
||||||
, cuda ? null
|
, cuda ? null
|
||||||
, llvmPackages
|
, llvmPackages
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
|
, python37Packages
|
||||||
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "extrae";
|
name = "extrae";
|
||||||
version = "3.7.1";
|
version = "3.8.3";
|
||||||
|
|
||||||
# src = fetchurl {
|
# src = fetchurl {
|
||||||
# url = "https://ftp.tools.bsc.es/extrae/${name}-${version}-src.tar.bz2";
|
# url = "https://ftp.tools.bsc.es/extrae/${name}-${version}-src.tar.bz2";
|
||||||
# sha256 = "0y036qc7y30pfj1mnb9nzv2vmxy6xxiy4pgfci6l3jc0lccdsgf8";
|
# sha256 = "0y036qc7y30pfj1mnb9nzv2vmxy6xxiy4pgfci6l3jc0lccdsgf8";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# Use patched Extrae version
|
src = fetchFromGitHub {
|
||||||
src = fetchgit {
|
owner = "rodarima";
|
||||||
url = "https://github.com/rodarima/extrae";
|
#owner = "bsc-performance-tools";
|
||||||
rev = "15883516d6bd802e5b76ff28c4b4a3a5cb113880";
|
repo = "extrae";
|
||||||
sha256 = "1hmf6400kw5k3j6xdbbd0yw4xhrjhk1kibp6m7r2i000qjgha8v6";
|
rev = "a8ec6882c03d130f88b09f2114887101ca9f6b09";
|
||||||
|
#rev = "${version}";
|
||||||
|
sha256 = "02gwl17r63kica6lxycyn10a0r2ciycf6g3cdq5cna5zl351qf31";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
gfortran
|
gfortran
|
||||||
@ -44,7 +51,9 @@ stdenv.mkDerivation rec {
|
|||||||
libiberty
|
libiberty
|
||||||
mpi
|
mpi
|
||||||
xml2
|
xml2
|
||||||
|
which
|
||||||
libxml2.dev
|
libxml2.dev
|
||||||
|
python37Packages.sphinx
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp;
|
++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp;
|
||||||
|
|
||||||
@ -71,6 +80,16 @@ stdenv.mkDerivation rec {
|
|||||||
--without-dyninst)
|
--without-dyninst)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Install the manuals only by hand, as we don't want to pull the complete
|
||||||
|
# LaTeX world
|
||||||
|
postBuild = ''
|
||||||
|
make -C docs man
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage docs/builds/man/*/*
|
||||||
|
'';
|
||||||
|
|
||||||
# ++ (
|
# ++ (
|
||||||
# if (openmp)
|
# if (openmp)
|
||||||
# then [ "--enable-openmp" ]
|
# then [ "--enable-openmp" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user