ci: Disable llvmpipe optimizations when running virgl CI
authorCorentin Noël <corentin.noel@collabora.com>
Thu, 29 Jul 2021 09:16:21 +0000 (11:16 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Aug 2021 14:24:08 +0000 (14:24 +0000)
We are only using the result once so we spend more time optimizing it than
actually using it.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11320>

.gitlab-ci/crosvm-runner.sh

index cafa2c3..4b7dc73 100755 (executable)
@@ -9,6 +9,7 @@ export EGL_PLATFORM=surfaceless
 
 export -p > /crosvm-env.sh
 export GALLIUM_DRIVER="$CROSVM_GALLIUM_DRIVER"
+export GALLIVM_PERF="nopt"
 export LIBGL_ALWAYS_SOFTWARE="true"
 
 CROSVM_KERNEL_ARGS="root=my_root rw rootfstype=virtiofs loglevel=3 init=$CI_PROJECT_DIR/install/crosvm-init.sh ip=192.168.30.2::192.168.30.1:255.255.255.0:crosvm:eth0"