-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
mesa: remove darwin-specific derivations #45635
Conversation
The ‘mesa-darwin’ stuff was very out of date (2012). This moves darwin to use the newer mesa. Stuff seems to build okay. Needs more testing on other stuff though (libraries work). No drivers build but that is how it should work on macOS. /cc @cstrahan @Anton-Latukha
Success on x86_64-darwin (full log) Attempted: mesa Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: mesa Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: mesa Partial log (click to expand)
|
I assume the linux rebuild is just about not passing |
How this works on macos? The driver is provided by OS but apps are supposed/OK to use source-built mesa's libGL? |
Yeah that looks like it. Mostly stuff like |
Success on x86_64-linux (full log) Attempted: mesa Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: mesa Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: mesa Partial log (click to expand)
|
On Linux we've migrated to build-time linking just with the stub libraries provided by glvnd instead of mesa. (And the stubs are supposed to find the right real libraries during runtime). |
Ok maybe this won't work then. May need to be reverted if it breaks stuff. My main goal here is just to get rid of the duplication (and also update the mesa version for darwin). |
The ‘mesa-darwin’ stuff was very out of date (2012). This moves darwin
to use the newer mesa. Stuff seems to build okay. Needs more testing
on other stuff though (libraries work). No drivers build but that is
how it should work on macOS.
/cc @cstrahan @Anton-Latukha
Motivation for this change
Trying to eliminate duplication in Nixpkgs.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)