Skip to content

Commit f817924

Browse files
authored
Merge pull request #2242 from su2code/tsan_workaround
Workaround for ASLR/tsan incompatibility
2 parents 38cb78b + 3de4874 commit f817924

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/regression.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ jobs:
8888
# flags: '--buildtype=debug -Denable-directdiff=true -Denable-normal=false -Dwith-omp=true -Denable-mixedprec=true -Denable-pywrapper=true -Denable-tecio=false --warnlevel=3 --werror'
8989
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
9090
steps:
91+
- name: Reduce ASLR entropy for tsan
92+
run: sudo sysctl -w vm.mmap_rnd_bits=28
9193
- name: Cache Object Files
9294
uses: actions/cache@v4
9395
with:
@@ -187,6 +189,8 @@ jobs:
187189
matrix:
188190
testscript: ['hybrid_regression.py', 'hybrid_regression_AD.py']
189191
steps:
192+
- name: Reduce ASLR entropy for tsan
193+
run: sudo sysctl -w vm.mmap_rnd_bits=28
190194
- name: Pre Cleanup
191195
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
192196
with:

0 commit comments

Comments
 (0)