[Git][ghc/ghc][wip/javascript-backend] CI take N+2

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Tue Nov 8 11:01:45 UTC 2022



Sylvain Henry pushed to branch wip/javascript-backend at Glasgow Haskell Compiler / GHC


Commits:
36d276f8 by Sylvain Henry at 2022-11-08T12:05:27+01:00
CI take N+2

- - - - -


3 changed files:

- .gitlab/ci.sh
- .gitlab/gen_ci.hs
- .gitlab/jobs.yaml


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -597,7 +597,7 @@ function test_hadrian() {
   if [[ "${CROSS_EMULATOR:-}" == "NOT_SET" ]]; then
     info "Cannot test cross-compiled build without CROSS_EMULATOR being set."
     return
-  elif [[ "${CROSS_EMULATOR:-}" != "NOT_NEEDED" ]]; then
+  elif [ -n "${CROSS_EMULATOR:-}" ]; then
     local instdir="$TOP/_build/install"
     local test_compiler="$instdir/bin/${cross_prefix}ghc$exe"
     install_bindist _build/bindist/ghc-*/ "$instdir"


=====================================
.gitlab/gen_ci.hs
=====================================
@@ -652,7 +652,7 @@ job arch opsys buildConfig = (jobName, Job {..})
             Nothing -> mempty
             Just _  -> "CROSS_EMULATOR" =: "NOT_SET" -- we need an emulator but it isn't set. Won't run the testsuite
           Emulator s       -> "CROSS_EMULATOR" =: s
-          NoEmulatorNeeded -> "CROSS_EMULATOR" =: "NOT_NEEDED"
+          NoEmulatorNeeded -> mempty
       , if withNuma buildConfig then "ENABLE_NUMA" =: "1" else mempty
       ]
 


=====================================
.gitlab/jobs.yaml
=====================================
@@ -1384,7 +1384,6 @@
       "BUILD_FLAVOUR": "release",
       "CONFIGURE_ARGS": "--with-intree-gmp",
       "CONFIGURE_WRAPPER": "emconfigure",
-      "CROSS_EMULATOR": "NOT_NEEDED",
       "CROSS_TARGET": "js-unknown-ghcjs",
       "TEST_ENV": "x86_64-linux-deb11-int_native-cross_js-unknown-ghcjs-release",
       "XZ_OPT": "-9"
@@ -3928,7 +3927,6 @@
       "BUILD_FLAVOUR": "release",
       "CONFIGURE_ARGS": "--with-intree-gmp",
       "CONFIGURE_WRAPPER": "emconfigure",
-      "CROSS_EMULATOR": "NOT_NEEDED",
       "CROSS_TARGET": "js-unknown-ghcjs",
       "TEST_ENV": "x86_64-linux-deb11-int_native-cross_js-unknown-ghcjs-release"
     }



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/36d276f8b40d34a0fca398073033e8642a3f4e55

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/36d276f8b40d34a0fca398073033e8642a3f4e55
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221108/a18eead9/attachment-0001.html>


More information about the ghc-commits mailing list