Skip to content

Comments

onnxruntime: fix aarch64-darwin#287255

Merged
7c6f434c merged 1 commit intoNixOS:stagingfrom
SomeoneSerge:fix/onnxruntime-darwin
Feb 10, 2024
Merged

onnxruntime: fix aarch64-darwin#287255
7c6f434c merged 1 commit intoNixOS:stagingfrom
SomeoneSerge:fix/onnxruntime-darwin

Conversation

@SomeoneSerge
Copy link
Contributor

@SomeoneSerge SomeoneSerge commented Feb 8, 2024

...following @cbourjau s suggestion

Follow-up to: #258392

Waiting for the build of interest (aarch64-darwin): https://github.com/NixOS/nixpkgs/pull/287255/checks?check_run_id=21366391259

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Feb 8, 2024
@SomeoneSerge
Copy link
Contributor Author

@ofborg build onnxruntime

@ofborg ofborg bot requested review from 7c6f434c and svanderburg February 8, 2024 14:42
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Feb 8, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right, many people use Eigen...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I hope I avoided the mass ping issue

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cbourjau I retargeted the PR for staging because it's a lot of rebuilds; if you need onnxruntime on aarch64-darwin working right now, you might have to submit a temporary hotfix (TM) for the master, doing essentially the ad hoc override much like the one you started with (only without fetchcontent)

@SomeoneSerge SomeoneSerge marked this pull request as draft February 8, 2024 14:47
...following cbourjau s idea
@SomeoneSerge SomeoneSerge force-pushed the fix/onnxruntime-darwin branch from 439b592 to d56c63c Compare February 8, 2024 14:52
@SomeoneSerge SomeoneSerge changed the base branch from master to staging February 8, 2024 14:52
@SomeoneSerge SomeoneSerge marked this pull request as ready for review February 8, 2024 14:56
@cbourjau
Copy link
Contributor

cbourjau commented Feb 8, 2024

Thanks for looking into this! Might it make sense to only apply the patch for darwin since the build seems to be just fine on other systems?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might it make sense to only apply the patch for darwin since the build seems to be just fine on other systems?

The original MR doesn't seem darwin-specific, and I personally dislike conditional patches (they're kind of like extra moving pieces, it's too real for my small reptile brain). We wouldn't save much either because once you have to bootstrap for one platform it's already "expensive"? I'm open to hear other opinions though

@ofborg ofborg bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package and removed 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. labels Feb 8, 2024
@7c6f434c
Copy link
Member

No log for the documentation failure looks like an unrelated staging issue…

@7c6f434c 7c6f434c merged commit 8c2f0e2 into NixOS:staging Feb 10, 2024
@SomeoneSerge SomeoneSerge mentioned this pull request Feb 16, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants