Skip to content

Commit

Permalink
More mmap-workaround-workarounds
Browse files Browse the repository at this point in the history
Turns out there are more packages that uses custom setups,
they were just hiding in the CI cache :'(
  • Loading branch information
leonschoorl committed Sep 12, 2023
1 parent fd4c41a commit 70b3306
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ 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
# Any package with a custom setup can only be build with GHCRTS=""
# see PR #2572.
cabal v2-build --only-dependencies ghc-paths haskell-src-exts
GHCRTS="" cabal v2-build ghc-paths haskell-src-exts
cabal v2-build clash-prelude
GHCRTS="" cabal v2-build clash-cosim

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

0 comments on commit 70b3306

Please sign in to comment.