-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pythonPackages.osqp: init at 0.6.1 #78883
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
Conversation
|
||
checkInputs = [ scipy pytestCheckHook mkl ]; | ||
preCheck = '' | ||
export LD_LIBRARY_PATH="${mkl}/lib/":$LD_LIBRARY_PATH; |
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 mkl needed at runtime? or just part of the tests?
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.
As far as I can tell, MKL is an optional runtime dependency. https://github.com/oxfordcontrol/osqp/blob/d7eeb245d5b7f0195bfc35b6cb71f4570d7ca18b/docs/get_started/linear_system_solvers.rst
It comes with a system solver built in, but if MKL is available it uses it for faster/larger problems.
6ddb9f6
to
788f907
Compare
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.
diff LGTM
commit LGTM
upstream seems active
has tests 👍
[7 built, 2 copied (3.5 MiB), 0.7 MiB DL]
https://github.com/NixOS/nixpkgs/pull/78883
3 package built:
python27Packages.osqp python37Packages.osqp python38Packages.osqp
@GrahamcOfBorg build python27Packages.osqp python37Packages.osqp python38Packages.osqp |
ping me if I don't get back to this in a day or 2 |
788f907
to
2ec660c
Compare
Oxford Splitting QP solver. Dependency for cvxpy -> qiskit-aer.
2ec660c
to
1fe4c09
Compare
@jonringer ping. Rebased on master, double-checked build on local. |
@GrahamcOfBorg build python27Packages.osqp python37Packages.osqp python38Packages.osqp |
bot build fails b/c requires non-free mkl for tests. Thoughts? |
fine, passes on my machine |
|
Motivation for this change
Add dependency for upcoming qiskit package #78772
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)