Skip to content

Commit

Permalink
HACK: disable mmap crash workaround for clash-cosim
Browse files Browse the repository at this point in the history
They use custom setups and it is seemingly impossible to get them to link with
anything other than the default -rtsopts=some
Making them always throw an error when GHCRTS="-xm..."
  • Loading branch information
leonschoorl committed Sep 7, 2023
1 parent acb9f21 commit 984d5b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ if [[ "$GHC_HEAD" != "yes" ]]; then
fi
set -u

cabal v2-build clash-prelude --write-ghc-environment-files=always
# Undo mmap crash workaround for clash-cosim, see PR #2572.
# It uses a custom setup, which can't be linked with -rtsopts
GHCRTS="" cabal v2-build clash-cosim --write-ghc-environment-files=always

# Build with default constraints
cabal v2-build all --write-ghc-environment-files=always

Expand Down

0 comments on commit 984d5b6

Please sign in to comment.