Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ jobs:
with:
entrypoint: /bin/rm
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
- name: Lower ASLR entropy for TSan
run: sudo sysctl vm.mmap_rnd_bits=28
- name: Build
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:261011-1107
with:
Expand Down Expand Up @@ -324,6 +326,8 @@ jobs:
done
chmod a+x $BIN_FOLDER/*
ls -lahR $BIN_FOLDER
- name: Lower ASLR entropy for TSan
run: sudo sysctl vm.mmap_rnd_bits=28
- name: Run Tests in Container
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:261011-1107
env:
Expand Down
7 changes: 7 additions & 0 deletions preconfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ def build_ninja():
# Specify C++17
env = os.environ.copy()
env["CXXFLAGS"] = env.get("CXXFLAGS", "") + " -std=c++17"
# ninja is a build tool and must not be instrumented by sanitizers
for var in ("CFLAGS", "CXXFLAGS", "LDFLAGS"):
env[var] = " ".join(
f
for f in env.get(var, "").split()
if not f.startswith("-fsanitize")
)
subprocess.run(
["python3", "configure.py", "--bootstrap"], cwd=ninjapath, env=env
)
Expand Down
Loading