Bug#1069701: haskell-hspec-hedgehog: please add support for loong64

wuruilong wuruilong at loongson.cn
Tue Apr 23 02:39:04 BST 2024


Source: haskell-hspec-hedgehog
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
X-Debbugs-Cc: wuruilong at loongson.cn

Dear Maintainer,

haskell-hspec-hedgehog compiles incorrectly on loongarch, the attached patch has solved the problem, please refer to the patch to modify the code

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
--- haskell-hspec-hedgehog-0.0.1.2-origin/hspec-hedgehog.cabal	2024-04-23 01:31:13.000000000 +0000
+++ haskell-hspec-hedgehog-0.0.1.2/hspec-hedgehog.cabal	2024-04-23 01:23:33.121573479 +0000
@@ -41,7 +41,7 @@
       Spec.hs
   hs-source-dirs:
       test
-  if arch(arm) || arch(mips) || arch(s390x) || arch(i386) || arch(riscv64)
+  if arch(arm) || arch(mips) || arch(s390x) || arch(i386) || arch(riscv64) || arch(loongarch64)
     ghc-options: -threaded -rtsopts
   else
     ghc-options: -threaded -rtsopts -with-rtsopts=-N


More information about the Pkg-haskell-maintainers mailing list