From c0357f8f8b9becfd0b68bab84b07d7397eefbe03 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sat, 21 Sep 2024 19:37:53 +0300 Subject: [PATCH] ci: Disable avx2+ extensions for valgrind jobs Match what valgrind supports and set the appropriate openssl variable for it. Part-of: --- ci/scripts/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/scripts/test.sh b/ci/scripts/test.sh index 3c3d2976d7..20d1742efc 100755 --- a/ci/scripts/test.sh +++ b/ci/scripts/test.sh @@ -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" \