From 836ebd18b05ff16987baad502c6a588bacd5f99c Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Fri, 15 Mar 2024 20:26:04 +0100 Subject: [PATCH] ci/sanitizers: add mmap rnd_bits workaround (#1086) Older gcc/clang sanitizer versions need this fix. --- .github/workflows/sanitizers.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index 86f23d5cf..d444c1e00 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -30,6 +30,10 @@ jobs: run: | sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: mmap rnd_bits workaround + run: | + sudo sysctl -w vm.mmap_rnd_bits=28 + - name: install packages run: | sudo apt-get update && sudo apt-get install -y ninja-build