3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/science/benchmark/papi/default.nix
Frederik Rietdijk 5f4734b1dd Merge remote-tracking branch 'upstream/gcc-8' into staging-next
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
2019-09-08 20:44:26 +02:00

31 lines
781 B
Nix

{ stdenv
, fetchurl
}:
stdenv.mkDerivation {
version = "5.6.0";
pname = "papi";
src = fetchurl {
url = "https://bitbucket.org/icl/papi/get/papi-5-6-0-t.tar.gz";
sha256 = "13mngf9kl0y2wfxqvkad0smdaag7k8fvw82b4312gx62nwhc1i6r";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" ];
preConfigure = ''
cd src
'';
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
homepage = https://icl.utk.edu/papi/;
description = "PAPI provides the tool designer and application engineer with a consistent interface and methodology for use of the performance counter hardware found in most major microprocessors";
license = licenses.bsdOriginal;
platforms = platforms.linux;
maintainers = [ maintainers.costrouc ];
};
}