From 70b330647b22c30119af1db78d7747e4f9191d8f Mon Sep 17 00:00:00 2001 From: Leon Schoorl Date: Tue, 12 Sep 2023 13:36:13 +0200 Subject: [PATCH] More mmap-workaround-workarounds Turns out there are more packages that uses custom setups, they were just hiding in the CI cache :'( --- .ci/build.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index e73e540b52..7157903130 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -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