[Git][haskell-team/DHG_packages][experimental] ghc: Add loongarch64 support (Closes: #1071151)

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



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


Commits:
a1822651 by Gianfranco Costamagna at 2024-08-13T14:18:18+02:00
ghc: Add loongarch64 support (Closes: #1071151)

- - - - -


2 changed files:

- p/ghc/debian/changelog
- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ghc (9.6.6-1~exp3) experimental; urgency=medium
+
+  [ Peng Fan <fanpeng at loongson.cn> ]
+  * Add loong64 support (Closes: #1071151)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 13 Aug 2024 14:17:49 +0200
+
 ghc (9.6.6-1~exp2) experimental; urgency=medium
 
   * Set llvm-version back to 17, FBTFS


=====================================
p/ghc/debian/rules
=====================================
@@ -103,6 +103,10 @@ ifneq (,$(filter noopt, $(DEB_BUILD_OPTIONS)))
   EXTRA_HADRIAN_FLAGS += "*.*.rts.*.opts += -O0"
 endif
 
+ifneq (,$(filter loong64, $(DEB_HOST_ARCH)))
+  EXTRA_HADRIAN_FLAGS += "*.*.ghc.*.opts += -optc-mcmodel=medium"
+endif
+
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
   NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/a18226512fb5cd73e168e6ffc24cb48a62d79788

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/a18226512fb5cd73e168e6ffc24cb48a62d79788
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/c1ffb784/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list