-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
casadi: build on darwin #333314
casadi: build on darwin #333314
Conversation
3e20b32
to
316a388
Compare
@doronbehar : thanks a lot for your review ! nixpkgs-review new results should be posted soon on aarch64-darwin & x86_64-linux. |
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.
Changes look mostly good. BTW this should be marked as ready for review as #333016 is merged.
some tests are failing for now edit: ok, a commit must have been lost in history rewrite at some point. |
Because with swig3, the generated C++ code is not compatible with C++17.
Result of 13 packages built:
|
Result of 21 packages built:
|
No, this is still wrong, sorry for the noise. Casadi should build on darwin, that's the point of this PR… |
I don't understand why nixpkgs-review does not list casadi on aarch64-darwin, but everything seems fine. |
Does |
no. But I can find |
That's indeed very peculiar.. The ofborg build attempts of the relevant attributes on
Also, |
To try to see why why nixpkgs-review does not list casadi on aarch64-darwin We still can see `165/165 Test NixOS#165: example-py-casadi-quadrotor-ocp ............ Passed` in `nix log .#python3Packages.pinocchio` on aarch64-darwin, so everything looks fine anyways.
I have no idea how meta.platforms could play here, but since you both mention it, I guess we should add it 😅 |
Result of 20 packages built:
|
thanks for the 🪄 ! |
@ofborg build casadi |
The aarch64-linux build still appears as failing. I want to make sure it really fails. |
I OK now it is more clear what is the aarch64-linux error:
@nim65s perhaps could you make an effort to disable that test on |
Done. |
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.
Changes look good. CI is green now for both Linux architectures, and it was green before the last aarch64-linux commit for x86_64-darwin, and nixpkgs-review was happy as well.
Description of changes
Follows #331343, and require #333016. When the latter is merged, I'll mark this ready to review.
Pinocchio's
example-py-casadi-quadrotor-ocp
which use casadi + ipopt + mumps from python is also working on darwin now.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.