Skip to content

ogre-next: add darwin support#501202

Open
taylorhoward92 wants to merge 1 commit intoNixOS:masterfrom
taylorhoward92:ogre-next-darwin-support
Open

ogre-next: add darwin support#501202
taylorhoward92 wants to merge 1 commit intoNixOS:masterfrom
taylorhoward92:ogre-next-darwin-support

Conversation

@taylorhoward92
Copy link

This PR adds darwin support to ogre-next and also fixes the issue that made this broken on aarch64. This change is being made so that ogre-next can be used as a unix dependency of gz-sim (to be added in a later PR) and is one of two PRs required to support adding gz-sim (the other is #500349).

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

- Add apple-sdk_15 for Metal/Cocoa/OpenGL frameworks on macOS
- Move openvr to Linux-only (broken on darwin)
- Disable framework bundle output on darwin (incompatible with Nix store)
- Guard Xcode-style POST_BUILD commands behind OGRE_BUILD_LIBS_AS_FRAMEWORKS
  to fix ninja "bad $-escape" error from $(PLATFORM_NAME)/$(CONFIGURATION)
- Remove Xcode-centric CMAKE_OSX_SYSROOT overrides (Nix stdenv handles this)
- Disable GL3Plus on darwin (missing Khronos headers; Metal is the primary
  render system on macOS)
- Disable both NEON and SSE2 SIMD on aarch64 (fixes build failures)
- Extend platforms from linux to unix
- Add passthru.tests.pkg-config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nixpkgs-ci nixpkgs-ci bot requested a review from marcin-serwin March 19, 2026 02:49
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 12.first-time contribution This PR is the author's first one; please be gentle! labels Mar 19, 2026
@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Mar 19, 2026
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 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant