[Git][haskell-team/DHG_packages][master] 2 commits: haskell-versions: Add patch to fix build on loongarch64 (Closes: #1069769)

Gianfranco Costamagna (@locutusofborg) gitlab at salsa.debian.org
Tue Aug 13 13:19:19 BST 2024



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
16d15d0c by Gianfranco Costamagna at 2024-08-13T14:12:31+02:00
haskell-versions: Add patch to fix build on loongarch64 (Closes: #1069769)

- - - - -
e535deb8 by Gianfranco Costamagna at 2024-08-13T14:15:31+02:00
haskell-pandoc-lua-engine: Add fix from zhangdandan <zhangdandan at loongson.cn> to fix loongarch64 build failure

- - - - -


4 changed files:

- p/haskell-pandoc-lua-engine/debian/changelog
- p/haskell-pandoc-lua-engine/debian/rules
- p/haskell-versions/debian/changelog
- p/haskell-versions/debian/patches/no-rts-n


Changes:

=====================================
p/haskell-pandoc-lua-engine/debian/changelog
=====================================
@@ -1,3 +1,11 @@
+haskell-pandoc-lua-engine (0.2.0.1-2) UNRELEASED; urgency=medium
+
+  [ zhangdandan <zhangdandan at loongson.cn> ]
+  * Add rules change to fix relocation error on loong64 (Closes: #1071173,
+    #1069171)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 13 Aug 2024 14:14:39 +0200
+
 haskell-pandoc-lua-engine (0.2.0.1-1) unstable; urgency=medium
 
   * New upstream release (Closes: #1059928)


=====================================
p/haskell-pandoc-lua-engine/debian/rules
=====================================
@@ -4,3 +4,7 @@ DEB_ENABLE_TESTS = yes
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
+
+ifneq (,$(filter $(DEB_BUILD_ARCH),loong64))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mcmodel=medium"
+endif


=====================================
p/haskell-versions/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-versions (6.0.2-2) UNRELEASED; urgency=medium
+
+  [ zhangdandan <zhangdandan at loongson.cn> ]
+  * Fix build on loongarch64 (Closes: #1069769)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 13 Aug 2024 14:11:16 +0200
+
 haskell-versions (6.0.2-1) unstable; urgency=medium
 
   * New upstream release


=====================================
p/haskell-versions/debian/patches/no-rts-n
=====================================
@@ -5,7 +5,7 @@
    main-is:        Test.hs
    hs-source-dirs: test
 -  ghc-options:    -threaded -with-rtsopts=-N
-+  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
 +  else
 +    ghc-options:    -threaded -with-rtsopts=-N



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/compare/fdfece270501099293867349023331e70b808a92...e535deb87d5dd46c06521ceac70a961e2bc1b87b

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/compare/fdfece270501099293867349023331e70b808a92...e535deb87d5dd46c06521ceac70a961e2bc1b87b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20240813/d048dc34/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list