-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mkl: 2019.3 -> 2019.5 #71476
mkl: 2019.3 -> 2019.5 #71476
Conversation
Includes bugfixes, new features, and performance improvements. Full release notes here: https://software.intel.com/en-us/articles/intel-math-kernel-library-release-notes-and-new-features
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I built this and tested it on NixOS with sandboxing, and built up through NumPy on py2/py3. Seems to be working fine, but I did not test Darwin explicitly besides updating the sha256.
done | ||
install_name_tool -change @rpath/libiomp5.dylib $out/lib/libiomp5.dylib $out/lib/libmkl_intel_thread.dylib | ||
install_name_tool -change @rpath/libtbb.dylib $out/lib/libtbb.dylib $out/lib/libmkl_tbb_thread.dylib | ||
install_name_tool -change @rpath/libtbbmalloc.dylib $out/lib/libtbbmalloc.dylib $out/lib/libtbbmalloc_proxy.dylib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just consistently indenting this.
|
||
in stdenvNoCC.mkDerivation { | ||
pname = "mkl"; | ||
inherit version; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the version subcomponents up into a let binding to avoid leaking them all into the derivation, and then added some more custom ones to avoid duplication/wordiness inside the RPM extractions.
For some reason undmg crashes:
At the same time, building |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nix-review
succeeds. Update looks good to me.
Is there a way I can reproduce this without a Mac? |
Yes. This fails on linux too: with import <nixpkgs> {};
stdenv.mkDerivation {
name = "undmg-test";
src = fetchurl {
url = "https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/15822/m_mkl_2019.5.281.dmg";
sha256 = "014c91jzsvbhjpqafgzwvlzh7f8h2mbnmp4mk978xx838apsnxf9";
};
nativeBuildInputs = [ undmg ];
}
|
I think we are facing matthewbauer/undmg#4 |
We could keep the old |
I've updated the PR to leave Darwin on the old version. The hash of the Linux package is unchaged from the previous commit at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds on darwin
@bhipple Thank you! |
Includes bugfixes, new features, and performance improvements.
Full release notes here:
https://software.intel.com/en-us/articles/intel-math-kernel-library-release-notes-and-new-features
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @