Intermittent compiler failures when building valhall tests
Intel Mesa CI has a buildtest that we use to verify that our patches do not break other drivers.
On our many-core build server, we find that about 2% of compilations encounter errors when valhall_enums.h cannot be found.
03:34:41 In file included from ../src/panfrost/compiler/valhall/va_compiler.h:31,
03:34:41 from ../src/panfrost/compiler/valhall/test/test-merge-flow.cpp:26:
03:34:41 ../src/panfrost/compiler/valhall/valhall.h:32:10: fatal error: valhall_enums.h: No such file or directory
03:34:41 32 | #include "valhall_enums.h"
03:34:41 | ^~~~~~~~~~~~~~~~~
03:34:41 compilation terminated.
It appears that a missing meson dependency allows a race condition on this file.
Our build-test configuration is:
meson build_mesa-buildtest_m64 --wrap-mode nodownload -Dbuild-tests=true -Dgallium-drivers=swrast,iris,kmsro,v3d,vc4,radeonsi,zink,asahi,r300,virgl,svga,crocus,lima,freedreno,r600,panfrost,tegra,etnaviv,nouveau -Dgallium-vdpau=enabled -Dgallium-xa=enabled -Dgallium-va=enabled -Dgallium-nine=true -Dgallium-opencl=standalone -Dtools=all -Dgallium-omx=bellagio
Edited by Mark Janes