diff options
author | Christopher Ostrouchov <chris.ostrouchov@gmail.com> | 2018-09-13 17:35:06 -0400 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-13 23:35:06 +0200 |
commit | 9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f (patch) | |
tree | 6457d53512069b2f950a52e4e409d4db8020b813 | |
parent | 04cba83e7fbbf2f483794618d34b808016d916c4 (diff) | |
download | nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.tar nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.tar.gz nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.tar.bz2 nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.tar.lz nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.tar.xz nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.tar.zst nixlib-9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f.zip |
papi: init at 5.6.0 (#46619)
papi is a high resolution performance counter.
-rw-r--r-- | pkgs/development/libraries/science/benchmark/papi/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/benchmark/papi/default.nix b/pkgs/development/libraries/science/benchmark/papi/default.nix new file mode 100644 index 000000000000..f727728943bd --- /dev/null +++ b/pkgs/development/libraries/science/benchmark/papi/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, fetchurl +}: + +stdenv.mkDerivation rec { + version = "5.6.0"; + name = "papi-${version}"; + + src = fetchurl { + url = "https://bitbucket.org/icl/papi/get/papi-5-6-0-t.tar.gz"; + sha256 = "13mngf9kl0y2wfxqvkad0smdaag7k8fvw82b4312gx62nwhc1i6r"; + }; + + buildInputs = [ stdenv ]; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3dda86d71490..517681381d12 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20619,6 +20619,10 @@ with pkgs; tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+ tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT + ### SCIENCE/BENCHMARK + + papi = callPackage ../development/libraries/science/benchmark/papi { }; + ### SCIENCE/BIOLOGY alliance = callPackage ../applications/science/electronics/alliance { }; |