Update to 20.2
Move graphics/libxatracker to graphics/mesa-gallium-xa
Remove VAAPI and VDPAU options in mesa-libs in favor of
two new ports : mesa-gallium-va and mesa-gallium-vdpau
Bump needed llvm to llvm10
Change a lot of meson option from false to disabled as it's
Remove the drm and surfaceless platform from mesa* as it's always
Add zstd option, used for shader cache.
- Group Reviewers
- rP552109: graphics/mesa*: Update to 20.2
Update to 20.2
Tested on 13-CURRENT amd64 on intel and amd
Build tested on 11.4 (i386, amd64)
Build tested on 12.1 (i386, amd64)
Build tested on 13-CURRENT (amd64, armv7)
No Lint Coverage
No Test Coverage
- Build Status
Buildable 34095 Build 31266: arc lint + arc unit
A couple of things I found after looking briefly (and also from your WIP patch at some point). I'll do a more throughout check later in the week.
Don't forget to update the date when committing.
I wonder if this should be made into a pkg message in mesa-dri as well, that's showed on install. It will help people who use pkg to find these, since they are now available and possible to install.
Perhaps we should ask the ppc64 people if it's ok to jump on the normal version. Not a showstopper.
This logic might need to change? If I understand correctly, it the .elif checks if LLVM_DEFAULT is >= 90, and only then forcing LLVM_DEFAULT to 10. I think we should just hard code the supported version of LLVM (the version we want to support), without any regards for LLVM_DEFAULT. Otherwise, we probably want to make sure that people who set LLVM_DEFAULT to something lower than 10 get 10, because IIRC, older versions didn't work.
Add missed patches earlier :
Address @zeising's comments.
A few things, small nits.
What happened with the TLS (thread local storage) stuff? I know we talked about it, but I don't remember the result of the discussion. It looks like the patches to disable it has been removed locally. Are they added upstream or are we enabling TLS stuff now?
I'd reword something like
non-default or nondefault, options.
Does DRM and SURFACELESS always being on affect anything in the plist?
This is not needed after the conversion to meson. It's just a left over from the conversion, probably worth it removing it at the same time.
This will break popwerpc64 which still uses llvm90.
VAAPI, to be consistent with the UPDATING entry.
I don't know if we need some explanation to when you might want to insall these?
is a Gallium driver
Shouldn't it be "VDPAU is a Gallium driver"?
Why the second MESON_ARGS+= and not just continue on the one above?
You also need to change the rename of xatracker in x11-drivers/xf86-video-vmware. Something like the attached should work.
TLS is always disabled for us.
I'm not against enabling it for some version of FreeBSD but I need to test first (and on multiple arches too) so it's easier to leave it disabled for now.