1
0
Fork 1
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:
Ludovic Courtès 2008-04-18 14:38:27 +00:00
parent 7ea8e8a363
commit aaf6f7b7e4
2 changed files with 25 additions and 0 deletions

View 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/;
};
}

View file

@ -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;
};