-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
WIP: libdrm, mesa: convert to meson, bump to HEAD #57562
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
@@ -59,29 +60,25 @@ let | |||
driDrivers = | |||
(if dri_ == null | |||
then optionals (elem "drm" eglPlatforms) defaultDriDrivers | |||
else dri_) ++ lib.optional stdenv.isLinux "swrast"; |
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.
I'm not sure where/when to build gallium vs dri swrast
... Also, do we not want llvmpipe/softpipe in here anywhere?
# https://bugs.freedesktop.org/show_bug.cgi?id=35268 | ||
(enableFeature (!stdenv.hostPlatform.isMusl) "glx-tls") | ||
# (optional (!stdenv.hostPlatform.isMusl) "glx-tls") #? |
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.
not sure if this is still relevant, and/or what to do about it.
fi | ||
|
||
mkdir -p $dev/lib | ||
cp -a $out/lib/pkgconfig $dev/lib/pkgconfig |
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.
I'm not sure what all is going on here and/or is necessary. I sort of hacked at this to get it to build.
See also #56199 |
Abandoning this due to #56199 and sending as a new PR for staging up with mesa, possibly. |
Motivation for this change
This is a WIP to get early feedback --
libdrm
andmesa
have switched tomeson
and required it when I tried to start building the upcoming release.This is an attempt to build the same configuration options, but with meson.
There were only a few flags that were either not obvious, or didn't have an equivalent.
There are some non-trivial differences in the post-build script, though, that I think might need some scrutiny.
cc: @vcunat
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)