[Git][haskell-team/DHG_packages][experimental] ghc: Switch to LLVM 21
Ilias Tsitsimpis (@iliastsi)
gitlab at salsa.debian.org
Sat Nov 22 09:40:08 GMT 2025
Ilias Tsitsimpis pushed to branch experimental at Debian Haskell Group / DHG_packages
Commits:
8ce99a0a by Ilias Tsitsimpis at 2025-11-22T11:36:47+02:00
ghc: Switch to LLVM 21
Switch to LLVM 21 to fix a build failure on armhf. See #1119837 for more
information.
- - - - -
3 changed files:
- p/ghc/debian/changelog
- p/ghc/debian/control
- p/ghc/debian/rules
Changes:
=====================================
p/ghc/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+ghc (9.10.3-1~exp3) experimental; urgency=medium
+
+ * Switch to llvm-21, to fix build on armhf
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org> Sat, 22 Nov 2025 11:36:41 +0200
+
ghc (9.10.3-1~exp2) experimental; urgency=medium
* Drop support for armel
=====================================
p/ghc/debian/control
=====================================
@@ -17,8 +17,8 @@ Build-Depends:
ghc:native (>= 9.6),
hadrian:native (>= 9.10.3~) <!pkg.ghc.nohadrian>,
hadrian:native (<< 9.10.4~) <!pkg.ghc.nohadrian>,
- llvm-19 [armel armhf s390x riscv64 loong64],
- clang-19 [armel armhf s390x riscv64 loong64],
+ llvm-21 [armel armhf s390x riscv64 loong64] (>= 1:21.1.6),
+ clang-21 [armel armhf s390x riscv64 loong64],
libgmp-dev,
libffi-dev,
libncurses-dev,
@@ -36,8 +36,8 @@ Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/gh
Package: ghc
Architecture: any
Depends:
- llvm-19 [armel armhf s390x riscv64 loong64],
- clang-19 [armel armhf s390x riscv64 loong64],
+ llvm-21 [armel armhf s390x riscv64 loong64] (>= 1:21.1.6),
+ clang-21 [armel armhf s390x riscv64 loong64],
binutils-gold [armel armhf],
gcc,
libgmp-dev,
@@ -62,7 +62,7 @@ Provides:
${haddock:Provides}
Replaces: ${conflicting-devs}
Breaks: ${conflicting-devs}
-Suggests: perl, ghc-prof, ghc-doc, llvm-19, clang-19
+Suggests: perl, ghc-prof, ghc-doc, llvm-21, clang-21
Description: The Glasgow Haskell Compilation system
The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for
Haskell.
=====================================
p/ghc/debian/rules
=====================================
@@ -129,8 +129,8 @@ EXTRA_CONFIGURE_FLAGS += --with-system-libffi
# If we don't set these, then the default value (llc / opt) will not work
# on architectures where the default llc/opt version is different than
# one of the supported versions.
-EXTRA_CONFIGURE_FLAGS += LLC=llc-19 OPT=opt-19 LLVMAS=clang-19
-EXTRA_INSTALL_CONFIGURE_FLAGS += LLC=llc-19 OPT=opt-19 LLVMAS=clang-19
+EXTRA_CONFIGURE_FLAGS += LLC=llc-21 OPT=opt-21 LLVMAS=clang-21
+EXTRA_INSTALL_CONFIGURE_FLAGS += LLC=llc-21 OPT=opt-21 LLVMAS=clang-21
%:
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/8ce99a0aa033391583c7c7f3cda910f584fc7a2f
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/8ce99a0aa033391583c7c7f3cda910f584fc7a2f
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/20251122/f0f862ce/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list