[Mesa-dev] [PATCH 00/14] BSD portability (Meson, ANV, RADV, VC4/5, SWR)
Emil Velikov
emil.l.velikov at gmail.com
Thu Jan 18 18:18:03 UTC 2018
Hi Greg,
On 31 December 2017 at 16:55, Greg V <greg at unrelenting.technology> wrote:
> Hello everyone and happy new year! :)
>
> This set of patches makes the Meson build work on FreeBSD, including
> RADV, ANV, wayland-egl, VAAPI, VDPAU.
>
> I also managed to get SWR working, but I haven't included the CPU
> topology detection code in here. CPU topology is exposed as XML on
> FreeBSD, so my implementation uses TinyXML2, which is a new dependency.
> And I couldn't even figure out how to link to it with all the libtool
> stuff. Had to test it with LD_PRELOAD :D
> This will be much easier to do with Meson.
>
> Greg V (14):
> util: fix ElfW macro
> vc4, vc5: add ETIME fallback define
> radv: add ETIME fallback define
> anv: add ETIME fallback define
> anv: use POSIX sysconf to get memory info on non-glibc systems
> anv: remove unused Linux-specific include
> anv: FreeBSD support in the allocator
> meson: fix BSD build
> meson: do not redeclare pkg-config dependencies (yet)
> meson: handle LLVM 'x.x.xgit-revision' versions
> meson: fix missing dependencies
> swr: build on FreeBSD/DragonFlyBSD
> swr: fix clang 5 null cast warning
> meson: glsl: add missing nir header dependency
>
Huge thanks for beating these into shape and sending them.
Based on the sysconf patch it seems like the series isn't based again master.
Can you please rebase?
I've made a few suggestions about moving stuff into helpers, although
those are not a requirement.
We can merge the current ones, as long as you promise to address fix
them up as follow-up ;-)
It would be amazing if FreeBSD used the ETIME fallback in their
toolchain. Otherwise things break quite often, as you can see.
That's more of a dream of mine, so don't read too much into it.
Thanks
Emil
More information about the mesa-dev
mailing list