mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Add numactl/libnuma, Linux-specific NUMA support tools.
svn path=/nixpkgs/trunk/; revision=11656
This commit is contained in:
parent
7ea8e8a363
commit
aaf6f7b7e4
21
pkgs/os-specific/linux/numactl/default.nix
Normal file
21
pkgs/os-specific/linux/numactl/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "numactl-1.0.2";
|
||||
src = fetchurl {
|
||||
url = "ftp://oss.sgi.com/www/projects/libnuma/download/${name}.tar.gz";
|
||||
sha256 = "0hbrrh7a8cradj1xdl3wvyp9afx1hzsk90g2lkwd5pn6bniai31j";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i "Makefile" -es"|^ *prefix *:=.*$|prefix := $out|g"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Library and tools for non-uniform memory access (NUMA) machines";
|
||||
license = [ "LGPLv2.1" # library
|
||||
"GPLv2" # command-line tools
|
||||
];
|
||||
homepage = http://oss.sgi.com/projects/libnuma/;
|
||||
};
|
||||
}
|
|
@ -4457,6 +4457,10 @@ let pkgs = rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
numactl = import ../os-specific/linux/numactl {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
nvidiaDrivers = import ../os-specific/linux/nvidia {
|
||||
inherit stdenv fetchurl kernel xlibs gtkLibs;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue