[Git][ghc/ghc][wip/supersven/ghc-master-riscv-ncg] RISCV64 has rtsLinker

Sven Tennie (@supersven) gitlab at gitlab.haskell.org
Sat Aug 10 12:46:00 UTC 2024



Sven Tennie pushed to branch wip/supersven/ghc-master-riscv-ncg at Glasgow Haskell Compiler / GHC


Commits:
50d8bf94 by Sven Tennie at 2024-08-10T14:43:33+02:00
RISCV64 has rtsLinker

Likely a mistake during merge.

- - - - -


2 changed files:

- compiler/GHC/Platform.hs
- hadrian/src/Settings/Builders/RunTest.hs


Changes:

=====================================
compiler/GHC/Platform.hs
=====================================
@@ -254,7 +254,6 @@ platformHasRTSLinker p = case archOS_arch (platformArchOS p) of
   ArchPPC_64 ELF_V1 -> False -- powerpc64
   ArchPPC_64 ELF_V2 -> False -- powerpc64le
   ArchS390X         -> False
-  ArchRISCV64       -> False
   ArchLoongArch64   -> False
   ArchJavaScript    -> False
   ArchWasm32        -> False


=====================================
hadrian/src/Settings/Builders/RunTest.hs
=====================================
@@ -139,7 +139,7 @@ inTreeCompilerArgs stg = do
     -- For this information, we need to query ghc --info, however, that would
     -- require building ghc, which we don't want to do here. Therefore, the
     -- logic from `platformHasRTSLinker` is duplicated here.
-    let rtsLinker = not $ arch `elem` ["powerpc", "powerpc64", "powerpc64le", "s390x", "riscv64", "loongarch64", "javascript", "wasm32"]
+    let rtsLinker = not $ arch `elem` ["powerpc", "powerpc64", "powerpc64le", "s390x", "loongarch64", "javascript", "wasm32"]
 
     return TestCompilerArgs{..}
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/50d8bf942b23f829540a1674003c47da621fd75c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/50d8bf942b23f829540a1674003c47da621fd75c
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/20240810/abb5944c/attachment-0001.html>


More information about the ghc-commits mailing list