[Git][haskell-team/DHG_packages][experimental] 3 commits: Revert "ghc: revert broken LLVM change"
Gianfranco Costamagna
gitlab at salsa.debian.org
Thu Jul 19 11:27:32 BST 2018
Gianfranco Costamagna pushed to branch experimental at Debian Haskell Group / DHG_packages
Commits:
4e3d07e3 by Gianfranco Costamagna at 2018-07-19T12:22:52+02:00
Revert "ghc: revert broken LLVM change"
This reverts commit 8b2fce9217805a41dceaeec75217998760ecab87.
- - - - -
f937cdf2 by Gianfranco Costamagna at 2018-07-19T12:23:20+02:00
>From 8b2fce9217805a41dceaeec75217998760ecab87: keep bump of std-version to 4.1.5, and switch website uri to https
- - - - -
9ad07978 by Gianfranco Costamagna at 2018-07-19T12:24:49+02:00
ghc: Add patch to make ghc look for llvm 6
- - - - -
5 changed files:
- p/ghc/debian/changelog
- p/ghc/debian/control
- p/ghc/debian/patches/series
- + p/ghc/debian/patches/use-llvm-6.0.patch
- p/ghc/debian/rules
Changes:
=====================================
p/ghc/debian/changelog
=====================================
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,8 +1,8 @@
-ghc (8.4.3-3) UNRELEASED; urgency=medium
+ghc (8.4.3-3) experimental; urgency=medium
- * Revert broken LLVM change.
+ * Switch configure.ac to search for llvm 6.0
- -- Clint Adams <clint at debian.org> Wed, 18 Jul 2018 22:16:02 -0400
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Thu, 19 Jul 2018 12:16:02 +0200
ghc (8.4.3-2) experimental; urgency=medium
=====================================
p/ghc/debian/control
=====================================
--- a/p/ghc/debian/control
+++ b/p/ghc/debian/control
@@ -13,7 +13,7 @@ Build-Depends:
pkg-config,
ghc:native (>= 7.8),
libgmp-dev,
- llvm-5.0 [arm64 armel armhf],
+ llvm-6.0 [arm64 armel armhf],
libffi-dev,
libncurses5-dev,
python-sphinx <!cross>,
@@ -29,7 +29,7 @@ Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/gh
Package: ghc
Architecture: any
Depends:
- llvm-5.0 [arm64 armel armhf],
+ llvm-6.0 [arm64 armel armhf],
gcc,
libgmp-dev,
libffi-dev,
@@ -51,7 +51,7 @@ Provides:
Replaces: ghc6 (<< 7), ghc-dynamic (<< 7.8), ghc-haddock (<< 7.10)
Conflicts: ghc6 (<< 7), ghc-dynamic (<< 7.8), libghc-cabal-dev (<< 1.24.2.1), ${conflicting-devs}
Breaks: cabal-install (<< 1.22), haskell-devscripts (<< 0.8.13), ghc-doc (<< 7.10), ghc-haddock (<< 7.10)
-Suggests: perl, ghc-prof, ghc-doc, haskell-doc, llvm-5.0
+Suggests: perl, ghc-prof, ghc-doc, haskell-doc, llvm-6.0
Description: The Glasgow Haskell Compilation system
The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for
Haskell.
=====================================
p/ghc/debian/patches/series
=====================================
--- a/p/ghc/debian/patches/series
+++ b/p/ghc/debian/patches/series
@@ -7,3 +7,4 @@ x32-use-native-x86_64-insn.patch
use-stage1-binaries-for-install.patch
llvm-targets-Add-versioned-ARM-targets.patch
bsymbolic-only-for-registerised.patch
+use-llvm-6.0.patch
=====================================
p/ghc/debian/patches/use-llvm-6.0.patch
=====================================
--- /dev/null
+++ b/p/ghc/debian/patches/use-llvm-6.0.patch
@@ -0,0 +1,15 @@
+Description: Use llvm 6.0 on arm*
+Author: Gianfranco Costamagna <locutusofborg at debian.org>
+Last-Update: 2018-07-19
+
+--- ghc-8.4.3.orig/configure.ac
++++ ghc-8.4.3/configure.ac
+@@ -638,7 +638,7 @@ AC_SUBST([LibtoolCmd])
+ # tools we are looking for. In the past, GHC supported a number of
+ # versions of LLVM simultaneously, but that stopped working around
+ # 3.5/3.6 release of LLVM.
+-LlvmVersion=5.0
++LlvmVersion=6.0
+ AC_SUBST([LlvmVersion])
+ sUPPORTED_LLVM_VERSION=$(echo \($LlvmVersion\) | sed 's/\./,/')
+ AC_DEFINE_UNQUOTED([sUPPORTED_LLVM_VERSION], ${sUPPORTED_LLVM_VERSION}, [The supported LLVM version number])
=====================================
p/ghc/debian/rules
=====================================
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -126,7 +126,9 @@ endif
echo 'V=1' >> mk/build.mk
./configure $(confflags) --prefix=/usr \
$(EXTRA_CONFIGURE_FLAGS) \
- --with-system-libffi
+ --with-system-libffi \
+ --with-llc=llc-6.0 \
+ --with-opt=opt-6.0
override_dh_auto_build:
dh_auto_build
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/8b2fce9217805a41dceaeec75217998760ecab87...9ad07978bd30ac6e5e1d4d2aa9aadeae709919b9
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/8b2fce9217805a41dceaeec75217998760ecab87...9ad07978bd30ac6e5e1d4d2aa9aadeae709919b9
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/20180719/22883226/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list