Quoting Marc Dietrich (2017-11-14 02:51:38) > Hi Dylan, > > Am Dienstag, 14. November 2017, 02:09:19 CET schrieb Dylan Baker: > > v2: - set with_gallium_xa when -Dgallium-xa=true > > - install pkg config file > > --- > > meson.build | 22 ++++++++ > > meson_options.txt | 7 +++ > > src/gallium/meson.build | 7 ++- > > src/gallium/state_trackers/xa/meson.build | 45 +++++++++++++++++ > > src/gallium/targets/xa/meson.build | 84 > > +++++++++++++++++++++++++++++++ 5 files changed, 164 insertions(+), 1 > > deletion(-) > > create mode 100644 src/gallium/state_trackers/xa/meson.build > > create mode 100644 src/gallium/targets/xa/meson.build > > > > diff --git a/meson.build b/meson.build > > index 8c20523aab0..1d29eb67bfe 100644 > > --- a/meson.build > > +++ b/meson.build > > @@ -525,6 +525,28 @@ if va_drivers_path == '' > > va_drivers_path = join_paths(get_option('libdir'), 'dri') > > endif > > > > +_xa = get_option('gallium-xa') > > +if _xa == 'auto' > > + if not ['linux', 'bsd'].contains(host_machine.system()) > > + with_gallium_xa = false > > + elif not (with_gallium_nouveau or with_gallium_freedreno or > with_gallium_i915 > > + or with_gallium_svga) > > autotools don't not have such limitation. At least it gets build with gallium- > drivers=r600,swrast. However, not sure if it is useful. > > Marc
autotools does the wrong thing in this case. For XA it checks that softpipe (gallium swrast) + one non-swrast gallium driver is built. XA only works with SVGA, freedreno, nouveau, and i915g though, so I've set the requirement to match what the state_tracker actually does. You can look at src/gallium/targets/xa/Makefile.am and see that it only works with these drivers. Dylan
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev