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: 6ca121a4793c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bd0eb1161695
Choose a head ref
  • 4 commits
  • 1 file changed
  • 1 contributor

Commits on Jul 20, 2020

  1. oneDNN: enable on darwin

    marsam committed Jul 20, 2020
    Copy the full SHA
    8f1c949 View commit details
  2. oneDNN: update homepage

    marsam committed Jul 20, 2020
    Copy the full SHA
    f02babb View commit details

Commits on Jul 21, 2020

  1. oneDNN: 1.5 -> 1.5.1

    marsam committed Jul 21, 2020
    Copy the full SHA
    a19f443 View commit details

Commits on Jul 23, 2020

  1. Merge pull request #93623 from marsam/enable-oneDNN-darwin

    oneDNN: 1.5 -> 1.5.1
    marsam authored Jul 23, 2020
    Copy the full SHA
    bd0eb11 View commit details
Showing with 6 additions and 5 deletions.
  1. +6 −5 pkgs/development/libraries/oneDNN/default.nix
11 changes: 6 additions & 5 deletions pkgs/development/libraries/oneDNN/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
stdenv.mkDerivation rec {
pname = "oneDNN";
version = "1.5";
version = "1.5.1";

src = fetchFromGitHub {
owner = "oneapi-src";
repo = "oneDNN";
rev = "v${version}";
sha256 = "0diiy3g4wz5lnz5mdvka5p2nwmrpfldsz83sssr5yiir29m4lqap";
sha256 = "1l66gkidldjpznp8pb01wdgrmm0rmrbndv8lzidz8fp9hf473zgl";
};

outputs = [ "out" "dev" "doc" ];
@@ -22,7 +22,8 @@ stdenv.mkDerivation rec {

# The test driver doesn't add an RPath to the build libdir
preCheck = ''
export LD_LIBRARY_PATH=$PWD/src
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/src
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/src
'';

# The cmake install gets tripped up and installs a nix tree into $out, in
@@ -33,10 +34,10 @@ stdenv.mkDerivation rec {

meta = with lib; {
description = "oneAPI Deep Neural Network Library (oneDNN)";
homepage = "https://01.org/dnnl";
homepage = "https://01.org/oneDNN";
changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${version}";
license = licenses.asl20;
platforms = [ "aarch64-linux" "x86_64-linux" ];
platforms = platforms.all;
maintainers = with maintainers; [ alexarice bhipple ];
};
}