Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Try to fix s390x build
· c7666645
Gianfranco Costamagna
authored
Aug 01, 2019
c7666645
ghc: Do not force parallel=4 on s390x
· 87b8d064
Gianfranco Costamagna
authored
Aug 02, 2019
87b8d064
Show whitespace changes
Inline
Side-by-side
p/ghc/debian/changelog
View file @
87b8d064
ghc (8.6.5+dfsg1-3)
UNRELEASED
; urgency=medium
ghc (8.6.5+dfsg1-3)
unstable
; urgency=medium
[ Gianfranco Costamagna ]
* debian/patches/Disable-unboxed-arrays.patch
- upstream proposed workaround for BE build failures.
* use parallel=2 for s390x builds
[ Clint Adams ]
* Patch from John Paul Adrian Glaubitz to set --host and --build for
cross-builds. closes: #933306.
--
Clint Adams <clint@debian.org> Sun, 28 Jul 2019 20:02:11 -04
00
--
Gianfranco Costamagna <locutusofborg@debian.org> Thu, 01 Aug 2019 12:56:23 +02
00
ghc (8.6.5+dfsg1-2) unstable; urgency=medium
...
...
p/ghc/debian/patches/Disable-unboxed-arrays.patch
0 → 100644
View file @
87b8d064
Origin: https://gitlab.haskell.org/ghc/ghc/issues/15411#note_215852
Index: ghc-8.6.1/libraries/containers/include/containers.h
===================================================================
--- ghc-8.6.1.orig/libraries/containers/include/containers.h
+++ ghc-8.6.1/libraries/containers/include/containers.h
@@ -35,7 +35,6 @@
#ifdef __GLASGOW_HASKELL__
# define USE_ST_MONAD 1
-# define USE_UNBOXED_ARRAYS 1
#endif
#endif
p/ghc/debian/rules
View file @
87b8d064
...
...
@@ -22,6 +22,7 @@ export HOME = /homedoesnotexistatbuildtime
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
export DEB_TARGET_ARCH_ENDIAN ?= $(shell dpkg-architecture -qDEB_TARGET_ARCH_ENDIAN)
# We're cross-building if DEB_BUILD_GNU_TYPE != DEB_HOST_GNU_TYPE
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
...
...
@@ -54,6 +55,10 @@ ifneq (,$(filter mips mipsel powerpc powerpcspe sparc64, $(DEB_HOST_ARCH)))
EXTRA_CONFIGURE_FLAGS += --disable-ld-override
endif
ifeq (s390x,$(DEB_HOST_ARCH))
export DEB_BUILD_OPTIONS=parallel=2
endif
%:
dh $@
...
...
@@ -82,6 +87,9 @@ endif
ifeq (armhf,$(DEB_HOST_ARCH))
echo "SRC_HC_OPTS += -D__ARM_PCS_VFP" >> mk/build.mk
endif
ifeq (big, $(DEB_TARGET_ARCH_ENDIAN))
patch -p1 < debian/patches/Disable-unboxed-arrays.patch
endif
ifneq (,$(filter mips mipsel, $(DEB_HOST_ARCH)))
echo "SRC_HC_OPTS += -optc--param -optcggc-min-expand=10" >> mk/build.mk
endif
...
...