[Git][ghc/ghc][wip/javascript-backend] Try to source emscripten correctly

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Mon Nov 7 12:42:48 UTC 2022



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


Commits:
01f8ee52 by Sylvain Henry at 2022-11-07T13:46:31+01:00
Try to source emscripten correctly

- - - - -


1 changed file:

- .gitlab/ci.sh


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -376,7 +376,6 @@ function setup_emscripten() {
   cd emsdk
   ./emsdk install latest
   ./emsdk activate latest
-  source ./emsdk_env.sh
   cd ..
 }
 
@@ -417,6 +416,11 @@ EOF
 }
 
 function configure() {
+  case $CONFIGURE_WRAPPER in
+    emconfigure) source emsdk/emsdk_env.sh ;;
+    *) ;;
+  esac
+
   if [[ -z "${NO_BOOT:-}" ]]; then
     start_section "booting"
     run python3 boot



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/01f8ee5250e84a54e331a1c1c00c5d38b660758a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/01f8ee5250e84a54e331a1c1c00c5d38b660758a
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/20221107/a1cd2e37/attachment-0001.html>


More information about the ghc-commits mailing list