Skip to content

Commit

Permalink
Try python3.9 for ASAN UBSAN run
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Oct 2, 2024
1 parent 09fc3d9 commit 7eb46ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tooling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand Down

0 comments on commit 7eb46ec

Please sign in to comment.