Skip to content

Commit

Permalink
Merge pull request #2242 from su2code/tsan_workaround
Browse files Browse the repository at this point in the history
Workaround for ASLR/tsan incompatibility
  • Loading branch information
pcarruscag authored Mar 15, 2024
2 parents 38cb78b + 3de4874 commit f817924
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ jobs:
# flags: '--buildtype=debug -Denable-directdiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
steps:
- name: Reduce ASLR entropy for tsan
run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: Cache Object Files
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -187,6 +189,8 @@ jobs:
matrix:
testscript: ['hybrid_regression.py', 'hybrid_regression_AD.py']
steps:
- name: Reduce ASLR entropy for tsan
run: sudo sysctl -w vm.mmap_rnd_bits=28
- name: Pre Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
with:
Expand Down

0 comments on commit f817924

Please sign in to comment.