summary refs log tree commit diff
path: root/pkgs/development/tools/profiling/EZTrace/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/profiling/EZTrace/default.nix')
-rw-r--r--pkgs/development/tools/profiling/EZTrace/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/profiling/EZTrace/default.nix b/pkgs/development/tools/profiling/EZTrace/default.nix
new file mode 100644
index 00000000000..2c9b435682d
--- /dev/null
+++ b/pkgs/development/tools/profiling/EZTrace/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, autoconf, libelf, gfortran, zlib, binutils }:
+
+stdenv.mkDerivation rec {
+  version = "1.0.6";
+  name = "EZTrace-${version}";
+
+  src = fetchurl {
+    url = "http://gforge.inria.fr/frs/download.php/file/34082/eztrace-${version}.tar.gz";
+    sha256 = "06q5y9qmdn1h0wjmy28z6gwswskmph49j7simfqcqwv05gvd9svr";
+  };
+
+  # Goes past the rpl_malloc linking failure
+  preConfigure = ''
+    export ac_cv_func_malloc_0_nonnull=yes
+  '';
+
+  buildInputs = [ autoconf libelf gfortran zlib binutils ];
+
+  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 ];
+  };
+}