Skip to content

Commit

Permalink
Move the workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Dec 16, 2024
1 parent 961f399 commit 1ae19f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
resource_class: large
steps:
- checkout
# NOTE: temporary workaround for asan failures with too
# much entropy. See:
# https://github.com/google/sanitizers/issues/1614
- run:
name: Fix mmap_rnd_bits for asan
command: sudo sysctl vm.mmap_rnd_bits=28
- run:
name: Build and test
command: bash ./tools/circleci_conda_asan.sh
Expand Down
5 changes: 0 additions & 5 deletions tools/circleci_conda_asan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ set -e
# Core deps.
sudo apt-get install wget

# NOTE: temporary workaround for asan failures with too
# much entropy. See:
# https://github.com/google/sanitizers/issues/1614
sudo sysctl vm.mmap_rnd_bits=28

# Install conda+deps.
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -O miniconda.sh
export deps_dir=$HOME/local
Expand Down

0 comments on commit 1ae19f3

Please sign in to comment.