Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 00431811fa5b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5a16436ffb24
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Apr 28, 2020

  1. libpsm2: init at 11.2.156 (#85920)

    * libpsm2: init at 11.2.156
    bzizou authored Apr 28, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5a16436 View commit details
Showing with 44 additions and 0 deletions.
  1. +42 −0 pkgs/os-specific/linux/libpsm2/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
42 changes: 42 additions & 0 deletions pkgs/os-specific/linux/libpsm2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv, fetchFromGitHub, numactl, pkgconfig }:

stdenv.mkDerivation rec {
pname = "libpsm2";
version = "11.2.156";
ifs_version = "10_10_2_0_44";

preConfigure= ''
export UDEVDIR=$out/etc/udev
substituteInPlace ./Makefile --replace "udevrulesdir}" "prefix}/etc/udev";
'';

enableParallelBuilding = true;

buildInputs = [ numactl pkgconfig ];

installFlags = [
"DESTDIR=$(out)"
"UDEVDIR=/etc/udev"
"LIBPSM2_COMPAT_CONF_DIR=/etc"
];

src = fetchFromGitHub {
owner = "intel";
repo = "opa-psm2";
rev = "IFS_RELEASE_${ifs_version}";
sha256 = "0ckrfzih1ga9yvximxjdh0z05kn9l858ykqiblv18w6ka3gra1xz";
};

postInstall = ''
mv $out/usr/* $out
rmdir $out/usr
'';

meta = with stdenv.lib; {
homepage = "https://github.com/intel/opa-psm2";
description = "The PSM2 library supports a number of fabric media and stacks";
license = with licenses; [ gpl2 bsd3 ];
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.bzizou ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -2084,6 +2084,8 @@ in

xkbd = callPackage ../applications/misc/xkbd { };

libpsm2 = callPackage ../os-specific/linux/libpsm2 { };

optar = callPackage ../tools/graphics/optar {};

obinskit = callPackage ../applications/misc/obinskit {};