Skip to content

Commit

Permalink
Workaround to fix Tsan unexpected memory mapping error (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetyusufoglu authored Mar 20, 2024
1 parent d9348ea commit e564da6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ source ./script/set.sh

./script/print_env.sh
source ./script/before_install.sh
if [ -n "$GITHUB_ACTIONS" ] && [ "$ALPAKA_CI_OS_NAME" = "Linux" ]; then
# Workaround for the error: ThreadSanitizer: unexpected memory mapping
# change the configuration of the address space layout randomization
sudo sysctl vm.mmap_rnd_bits=28
fi

if [ "$ALPAKA_CI_OS_NAME" = "Linux" ]
then
Expand Down

0 comments on commit e564da6

Please sign in to comment.