mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
Merge pull request #71498 from chessai/libxsmm-add
libxsmm: init at 1.13
This commit is contained in:
commit
64f8baf108
41
pkgs/development/libraries/libxsmm/default.nix
Normal file
41
pkgs/development/libraries/libxsmm/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, fetchFromGitHub, coreutils, gfortran7, gnused
|
||||
, python27, utillinux, which, bash
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.13";
|
||||
in stdenv.mkDerivation {
|
||||
pname = "libxsmm";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hfp";
|
||||
repo = "libxsmm";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1c15ccy7vbmvxkfnc7sn26wnf6gr6gxgkmilpgpycm1fhi8ikd6w";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
coreutils
|
||||
gfortran7
|
||||
gnused
|
||||
python27
|
||||
utillinux
|
||||
which
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library targeting Intel Architecture for specialized dense and sparse matrix operations, and deep learning primitives";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/hfp/libxsmm ;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ chessai ];
|
||||
inherit version;
|
||||
};
|
||||
}
|
|
@ -13594,6 +13594,8 @@ in
|
|||
python = if stdenv.isDarwin then python2 else python3;
|
||||
};
|
||||
|
||||
libxsmm = callPackage ../development/libraries/libxsmm { };
|
||||
|
||||
libixp_hg = callPackage ../development/libraries/libixp-hg { };
|
||||
|
||||
libyaml = callPackage ../development/libraries/libyaml { };
|
||||
|
|
Loading…
Reference in a new issue