Bug 109523

Summary: meson requires libdrm_amdgpu even when not needed
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: baker.dylan.c
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2019-01-31 17:42:10 UTC
$ meson builddir -Ddri-drivers='' -Dgallium-drivers=swrast
[...]
Message: libdrm 2.4.97 needed because amdgpu has the highest requirement
Native dependency libdrm_amdgpu found: NO found '2.4.91' but need: '>=2.4.97'

meson.build:1155:4: ERROR:  Invalid version of dependency, need 'libdrm_amdgpu' ['>=2.4.97'] found '2.4.91'.
Comment 1 Ilia Mirkin 2019-01-31 17:44:49 UTC
I believe you also need to empty out vulkan-drivers.
Comment 2 Vinson Lee 2019-01-31 17:49:33 UTC
This worked.

meson builddir -Ddri-drivers='' -Dgallium-drivers=swrast -Dvulkan-drivers='' -Dplatforms=x11

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.