Cheng Shao pushed to branch wip/hadrian-ghci-multi at Glasgow Haskell Compiler / GHC Commits: 79888139 by Matthew Pickering at 2025-12-05T17:27:44+01:00 ci: Try using multi repl in ghc-in-ghci test This should be quite a bit faster than the ./hadrian/ghci command as it doesn't properly build all the dependencies. - - - - - 7830d6be by Cheng Shao at 2025-12-05T17:28:49+01:00 ci: drop the now redundant hadrian-multi job - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -416,7 +416,7 @@ hadrian-ghc-in-ghci: # workaround for docker permissions - sudo chown ghc:ghc -R . variables: - GHC_FLAGS: -Werror + GHC_FLAGS: -Werror -Wwarn=unused-imports tags: - x86_64-linux script: @@ -428,73 +428,14 @@ hadrian-ghc-in-ghci: - "echo ' ghc-options: -Werror' >> hadrian/cabal.project.local" # Load ghc-in-ghci then immediately exit and check the modules loaded - export CORES="$(mk/detect-cpu-count.sh)" - - echo ":q" | HADRIAN_ARGS=-j$CORES hadrian/ghci -j$CORES | tail -n2 | grep "Ok," - after_script: - - .gitlab/ci.sh save_cache - - cat ci_timings.txt - cache: - key: hadrian-ghci-$CACHE_REV - paths: - - cabal-cache - -############################################################ -# Hadrian Multi-Repl -############################################################ - -hadrian-multi: - stage: testing - needs: - - job: x86_64-linux-fedora42-release - optional: true - - job: nightly-x86_64-linux-fedora42-release - optional: true - - job: release-x86_64-linux-fedora42-release - optional: true - dependencies: null - image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-fedora42:$DOCKER_REV" - before_script: - # workaround for docker permissions - - sudo chown ghc:ghc -R . - variables: - GHC_FLAGS: "-Werror=-Wno-error=incomplete-record-selectors -Wwarn=deprecations -Wwarn=unused-imports" - # -Wno-error=incomplete-record-selectors is present because -Wall now - # includes -Wincomplete-record-selectors, and hadrian-multi has many, many - # warnings about incomplete record selectors. A better fix would be to - # remove the use of incomplete record selectors, since each of them represents - # a potential crash. - CONFIGURE_ARGS: --enable-bootstrap-with-devel-snapshot - tags: - - x86_64-linux - script: - - export BOOT_HC=$GHC - - root=$(pwd)/ghc - - ls - - | - mkdir tmp - tar -xf ghc-x86_64-linux-fedora42-release.tar.xz -C tmp - pushd tmp/ghc-*/ - ./configure --prefix=$root - make install - popd - rm -Rf tmp - - export HC=$root/bin/ghc - # This GHC means, use this GHC to configure with - - export GHC=$root/bin/ghc - - . .gitlab/ci.sh setup - - . .gitlab/ci.sh configure - # Now GHC means, use this GHC for hadrian - - export GHC=$BOOT_HC - - export CORES="$(mk/detect-cpu-count.sh)" - # Load hadrian-multi then immediately exit and check the modules loaded - echo ":q" | HADRIAN_ARGS=-j$CORES hadrian/ghci-multi -j$CORES | tail -n2 | grep "Ok," after_script: - .gitlab/ci.sh save_cache + - cat ci_timings.txt cache: key: hadrian-ghci-$CACHE_REV paths: - cabal-cache - rules: - - *full-ci ############################################################ # stack-hadrian-build View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bb95c7a4b6fdaeee2fa242fbaf727c6... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bb95c7a4b6fdaeee2fa242fbaf727c6... You're receiving this email because of your account on gitlab.haskell.org.