- libatomic.patch: Remove unused patch - ghc-with-interpreter.patch: Hadrian: enable GHCi support on riscv64 - cabal-riscv64: libraries/Cabal: Add support for the 64-bit RISC-V architecture - Adjust constraints for riscv64 OBS-URL: https://build.opensuse.org/request/show/1126663 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=393
15 lines
672 B
Diff
15 lines
672 B
Diff
Index: ghc-9.6.2/hadrian/src/Oracles/Setting.hs
|
|
===================================================================
|
|
--- ghc-9.6.2.orig/hadrian/src/Oracles/Setting.hs
|
|
+++ ghc-9.6.2/hadrian/src/Oracles/Setting.hs
|
|
@@ -295,7 +295,8 @@ ghcWithInterpreter = do
|
|
, "darwin", "kfreebsdgnu" ]
|
|
goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc"
|
|
, "arm", "aarch64", "s390x"
|
|
- , "powerpc64", "powerpc64le" ]
|
|
+ , "powerpc64", "powerpc64le"
|
|
+ , "riscv64" ]
|
|
return $ goodOs && goodArch
|
|
|
|
-- | Variants of the ARM architecture.
|