From 7eb46ec492f9cf08cd60d3f598430243f900ced6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Wed, 2 Oct 2024 16:19:57 +0200 Subject: [PATCH] Try python3.9 for ASAN UBSAN run --- .github/workflows/tooling.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tooling.yml b/.github/workflows/tooling.yml index 03d5070d86..aa132a3add 100644 --- a/.github/workflows/tooling.yml +++ b/.github/workflows/tooling.yml @@ -47,9 +47,9 @@ jobs: - name: Install run: | sudo apt-get update - sudo apt-get install clang-10 libc++-dev libc++abi-dev python3 gfortran libopenmpi-dev - python3 -m pip install -U pip - python3 -m pip install -U numpy + sudo apt-get install clang-10 libc++-dev libc++abi-dev python3.9 gfortran libopenmpi-dev + python3.9 -m pip install -U pip + python3.9 -m pip install -U numpy sudo .github/workflows/dependencies/install_spack - name: Build env: {CC: mpicc, CXX: mpic++, OMPI_CC: clang-10, OMPI_CXX: clang++-10, CXXFLAGS: -Werror, OPENPMD_HDF5_CHUNKS: none, OPENPMD_TEST_NFILES_MAX: 100} @@ -66,6 +66,7 @@ jobs: -DopenPMD_USE_HDF5=ON \ -DopenPMD_USE_ADIOS2=ON \ -DopenPMD_USE_INVASIVE_TESTS=ON \ + -DPython_EXECUTABLE="$(which python3.9)" \ -DCMAKE_VERBOSE_MAKEFILE=ON cmake --build build --parallel 2 export ASAN_OPTIONS=detect_stack_use_after_return=1:detect_leaks=1:check_initialization_order=true:strict_init_order=true:detect_stack_use_after_scope=1:fast_unwind_on_malloc=0