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
pythonPackages.mkl-service: init at 2.1.0 #64932
Conversation
@GrahamcOfBorg build python2Packages.mkl-service python3Packages.mkl-service |
MKLROOT = mkl; | ||
|
||
checkInputs = [ nose ]; | ||
propagatedBuildInputs = [ cython mkl six ]; |
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.
Is cython needed during runtime...?
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.
Good catch, it's just needed at buid-time; updated accordingly!
The bot isn't building it since the dependency |
sha256 = "1bnpgx629rxqf0yhn0jn68ypj3dqv6njc3981j1g8j8rsm5lycrn"; | ||
}; | ||
|
||
MKLROOT = mkl; |
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.
This is needed so that setup.py
picks up the location of the mkl
package:
https://github.com/IntelPython/mkl-service/blob/master/setup.py#L67
Built successfully on Darwin with |
It built successfully on x86 linux and ran the same code example as @smaret |
Probably better to squash your commits - deep git history doesn't need to know you didn't get the commit perfect the first time. |
This pull request has been mentioned on Nix community. There might be relevant details there: |
Motivation for this change
This provides a python interface for controlling
mkl
runtime behavior.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)