[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Haskell migration exp to unstable



On Fri, May 24, 2013 at 11:20:54AM +0200, Joachim Breitner wrote:
> Lots of darcs patches to appear on pkg-haskell-commits in a moment, and
> then I’ll start rebuilding (ghc is already building) and uploading.

I don't suppose you'd consider disabling GHCi on ARM while you're here?
If not, I suspect you're going to find you need to disable it later to
get things that use doctests into testing, if you recall our earlier
discussion.

  * Disable GHCi on armhf for now; it is too badly broken.

diff -Nru ghc-7.6.2/debian/rules ghc-7.6.2/debian/rules
--- ghc-7.6.2/debian/rules	2013-01-29 18:48:34.000000000 +0000
+++ ghc-7.6.2/debian/rules	2013-04-11 10:21:44.000000000 +0100
@@ -75,6 +75,11 @@
 	# We also want to build the threaded profiling-enabled debug runtime,
 	# because it does no harm
 	echo 'GhcRTSWays += $$(if $$(findstring p, $$(GhcLibWays)),thr_debug_p,)' >> mk/build.mk
+ifneq (,$(findstring $(DEB_HOST_ARCH),armel armhf))
+	# GHCi is too badly broken on ARM; see
+	# http://hackage.haskell.org/trac/ghc/ticket/7794
+	echo "GhcWithInterpreter = NO" >> mk/build.mk
+endif
 	
 	# We can't do this with a configure flag in 6.8.1 as libdir is not
 	# defined at the point at which we := it

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: