2017-10-16 19:46:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl, autoconf, gfortran
|
|
|
|
, libelf, libiberty, zlib, libbfd, libopcodes
|
|
|
|
, buildPackages
|
|
|
|
}:
|
2014-11-09 12:03:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-24 18:34:35 +01:00
|
|
|
version = "1.1-7";
|
2014-11-09 12:03:46 +00:00
|
|
|
name = "EZTrace-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-09-24 18:34:35 +01:00
|
|
|
url = "https://gforge.inria.fr/frs/download.php/file/37155/eztrace-${version}.tar.gz";
|
|
|
|
sha256 = "0cr2d4fdv4ljvag55dsz3rpha1jan2gc3jhr06ycyk43450pl58p";
|
2014-11-09 12:03:46 +00:00
|
|
|
};
|
|
|
|
|
2017-10-16 19:46:37 +01:00
|
|
|
# Goes past the rpl_malloc linking failure; fixes silent file breakage
|
2014-11-09 12:03:46 +00:00
|
|
|
preConfigure = ''
|
|
|
|
export ac_cv_func_malloc_0_nonnull=yes
|
2017-10-16 19:46:37 +01:00
|
|
|
substituteInPlace ./configure \
|
|
|
|
--replace "/usr/bin/file" "${buildPackages.file}/bin/file"
|
2014-11-09 12:03:46 +00:00
|
|
|
'';
|
|
|
|
|
2017-10-16 19:46:37 +01:00
|
|
|
nativeBuildInputs = [ autoconf gfortran ];
|
|
|
|
buildInputs = [ libelf libiberty zlib libbfd libopcodes ];
|
2014-11-09 12:03:46 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool that aims at generating automatically execution trace from HPC programs";
|
|
|
|
license = stdenv.lib.licenses.cecill-b;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
|
|
|
};
|
|
|
|
}
|