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

--- Comment #8 from Emil Velikov <[email protected]> ---
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.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to