Bug 109523 - meson requires libdrm_amdgpu even when not needed
Summary: meson requires libdrm_amdgpu even when not needed
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-31 17:42 UTC by Vinson Lee
Modified: 2019-01-31 17:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.