[Mesa-dev] [Bug 109062] meson incorrectly handles/reports libdrm_$foo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 18 11:05:57 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=109062

--- Comment #8 from Emil Velikov <emil.l.velikov at gmail.com> ---
time for i in `seq 1 100`; do
  pkg-config --libs "libdrm_nouveau >= 2.4.20" &>/dev/null;
  pkg-config --libs "libdrm >= 2.4.20" &>/dev/null;
done

real    0m0.738s
user    0m0.476s
sys     0m0.270s


time for i in `seq 1 100`; do
  pkg-config --libs "libdrm >= 2.4.20" "libdrm_nouveau >= 2.4.20" &>/dev/null;
done

real    0m0.418s
user    0m0.298s
sys     0m0.123s


That said, I think meson should be extended and check 2+ packages via
pkg-config.
Adding workarounds in every project that uses meson doesn't scale :-(

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181218/b5b2b55c/attachment.html>


More information about the mesa-dev mailing list