ci: Disable avx2+ extensions for valgrind jobs

Match what valgrind supports and set the appropriate
openssl variable for it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
This commit is contained in:
Jordan Petridis 2024-09-21 19:37:53 +03:00 committed by GStreamer Marge Bot
parent bc666db5fe
commit c0357f8f8b

View file

@ -20,6 +20,10 @@ parent="${CI_PROJECT_DIR:-$(pwd)}"
export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
echo "-> Running $tests"
# Disable all cpu extensions post AVX to match what valgrind supports
# https://github.com/openssl/openssl/blob/master/NOTES-VALGRIND.md
export OPENSSL_ia32cap=":0"
./gst-env.py \
"--builddir=$builddir" \
gst-validate-launcher "$tests" \