Magnus pushed to branch wip/mangoiv/ci-stages at Glasgow Haskell Compiler / GHC Commits: 63fadbe1 by mangoiv at 2026-08-24T14:38:01+02:00 fixup! ci: build and test stage - - - - - 2 changed files: - .gitlab/ci.sh - hadrian/doc/cross-compile.md Changes: ===================================== .gitlab/ci.sh ===================================== @@ -697,6 +697,7 @@ function test_hadrian() { return # If we have set CROSS_EMULATOR, then can't test using normal testsuite. elif [ -n "${CROSS_EMULATOR:-}" ] && [[ "${CROSS_TARGET:-}" != *"wasm"* ]]; then + info "Cross compiling with CROSS_EMULATOR='$CROSS_EMULATOR' and CROSS_TARGET='$CROSS_TARGET'" local instdir="$TOP/_build/install" local test_compiler="$instdir/bin/${cross_prefix}ghc$exe" install_bindist $dist_dir/ghc-*/ "$instdir" @@ -720,6 +721,7 @@ function test_hadrian() { # > main = putStrLn "hello world" run diff -w expected actual elif [[ -n "${REINSTALL_GHC:-}" ]]; then + info "Running with reinstall GHC $REINSTALL_GHC" run_hadrian \ test \ --test-root-dirs=testsuite/tests/stage1 \ @@ -754,6 +756,8 @@ function test_hadrian() { if [ $test_compiler_backend != "\"$BIGNUM_BACKEND\"" ]; then fail "Test compiler has a different BIGNUM_BACKEND ($test_compiler_backend) than requested ($BIGNUM_BACKEND)" fi + else + info "CROSS_TARGET=$CROSS_TARGET" fi # If we are doing a release job, check the compiler can build a profiled executable ===================================== hadrian/doc/cross-compile.md ===================================== @@ -1,3 +1,5 @@ +**This is severely outdated. And is here merely for historical interest** + ## Build a cross-compiling GHC In this example, our host machine is "Ubuntu 16.04.2 LTS, Linux ubuntu 4.4.0-79-generic 86_64". View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/63fadbe196e52e0a34989a51fb9b19cc... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/63fadbe196e52e0a34989a51fb9b19cc... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Magnus (@MangoIV)