lol
1{ stdenv, lib, fetchFromGitHub, cmake }:
2
3# This was originally called mkl-dnn, then it was renamed to dnnl, and it has
4# just recently been renamed again to oneDNN. See here for details:
5# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
6stdenv.mkDerivation rec {
7 pname = "oneDNN";
8 version = "2.7.1";
9
10 src = fetchFromGitHub {
11 owner = "oneapi-src";
12 repo = "oneDNN";
13 rev = "v${version}";
14 sha256 = "sha256-HBCuSZkApd/6UkAxz/KDFb/gyX2SI1S2GwgXAXSTU/c=";
15 };
16
17 outputs = [ "out" "dev" "doc" ];
18
19 nativeBuildInputs = [ cmake ];
20
21 # Tests fail on some Hydra builders, because they do not support SSE4.2.
22 doCheck = false;
23
24 meta = with lib; {
25 description = "oneAPI Deep Neural Network Library (oneDNN)";
26 homepage = "https://01.org/oneDNN";
27 changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${version}";
28 license = licenses.asl20;
29 platforms = platforms.all;
30 maintainers = with maintainers; [ alexarice bhipple ];
31 };
32}