[Git][ghc/ghc][wip/js-staging] Disable llvm ways and ghci for JS backend testsuite

Josh Meredith (@JoshMeredith) gitlab at gitlab.haskell.org
Mon Aug 29 05:08:56 UTC 2022



Josh Meredith pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
8428b5d9 by Josh Meredith at 2022-08-29T05:08:44+00:00
Disable llvm ways and ghci for JS backend testsuite

- - - - -


2 changed files:

- configure.ac
- testsuite/config/ghc


Changes:

=====================================
configure.ac
=====================================
@@ -331,7 +331,7 @@ AC_SUBST(TablesNextToCode)
 dnl ** Does target have runtime linker support?
 dnl --------------------------------------------------------------
 case "$target" in
-    powerpc64-*|powerpc64le-*|powerpc-ibm-aix*|s390x-ibm-linux|riscv64-*)
+    powerpc64-*|powerpc64le-*|powerpc-ibm-aix*|s390x-ibm-linux|riscv64-*|js-*)
         TargetHasRTSLinker=NO
         ;;
     *)


=====================================
testsuite/config/ghc
=====================================
@@ -182,6 +182,8 @@ llvm_ways     = [x[0] for x in config.way_flags.items()
 def get_compiler_info():
     if config.unregisterised:
         print("Unregisterised build; skipping LLVM ways...")
+    elif config.arch == "js":
+        print("JavaScript backend; skipping LLVM ways...")
     elif config.have_llvm:
         config.compile_ways.append('optllvm')
         config.run_ways.append('optllvm')



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8428b5d9358bc94d89b084128fbe9cdce65771af

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8428b5d9358bc94d89b084128fbe9cdce65771af
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/20220829/daefbe72/attachment.html>


More information about the ghc-commits mailing list