Commit Graph

424 Commits

Author SHA1 Message Date
Jens Petersen
932a5964b8 only echo _smp_mflags if it is defined 2015-02-15 01:11:15 +09:00
Jens Petersen
f8a0b1d0a6 try "make -j16" on Intel arches to keep ABI hashes same as -40 2015-02-15 01:06:21 +09:00
Jens Petersen
dfca0e839a production build; use %ghc_bootstrapping to control bootstrap setup 2015-02-09 18:16:47 +01:00
Jens Petersen
37dd51b1af update the arm64 patch for 7.8.4 2015-02-07 18:25:23 +01:00
Jens Petersen
43f536af8e bootstrap for secondary arches, with bindir/ghci 2015-02-07 16:55:30 +01:00
Jens Petersen
1cb2f64c61 drop unversioned htmldir patch
remove two old patches
2015-01-18 22:55:40 +09:00
Jens Petersen
3cca06965a production build 2015-01-18 15:58:37 +09:00
Jens Petersen
b032d481b4 use ld.gold on ARMv7
see https://ghc.haskell.org/trac/ghc/ticket/8976
for workaround patches posted upstream by nomeata

remove some old leftover patches (fedpkg unused-patches)
2015-01-17 23:13:52 +09:00
Jens Petersen
98bb637a26 Revert back to ghc-7.8 and update to 7.8.4
version bumps for base and Cabal

This reverts commit 083d826dd6.

Conflicts:
	ghc.spec
2015-01-17 16:55:56 +09:00
Jens Petersen
10d9a860f8 update changelog date 2014-11-18 18:28:18 +09:00
Jens Petersen
47fc293b36 backport more changes from 7.8.3 spec to 7.6.3 spec
- remove the build hack to switch from llvm to llvm34 (#1161049)
- use rpm internal dependency generator with ghc.attr on F21+
- fix bash-ism in ghc-doc-index (#1146733)
- do "quick" build when bootstrapping
- setup LDFLAGS
2014-11-18 12:44:57 +09:00
Jens Petersen
44c2d294cb require and use llvm34 instead of llvm-3.5 for arm 2014-11-17 17:53:19 +09:00
Jens Petersen
083d826dd6 revert to 7.6.3-26 (current f21) 2014-11-17 12:24:08 +09:00
Jens Petersen
cfae44c249 update patches for armv7 for ghc-7.8
- LlvmCodeGen-llvm-version-warning patch no needed
  since 3.4 supported now, but rawhide is now on 3.5!
- update no NEON patch
2014-11-05 12:28:37 +09:00
Jens Petersen
138479e435 - undefine ghc_without_shared if it is defined for now
- ghc-ppc64el.patch is in 7.8.3
- use quick/quick-llvm when building
- set LDFLAGS
- probably no bindir/ghci now on archs without ghci
2014-10-20 11:43:44 +09:00
Jens Petersen
3f871b8dab add changelog entry for bash-ism fix 2014-09-29 13:39:30 +09:00
Jens Petersen
4ebfefdb13 use rpm internal dependency generator with ghc.attr on F22
requires ghc-rpm-macros ghc.attr - currently only in rawhide
2014-09-05 16:15:21 +09:00
Jens Petersen
b5e06b43ba change Cabal install bindir warning; drop use of ghc_without_shared 2014-08-29 17:01:38 +09:00
Peter Robinson
994a85e95f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 14:26:57 +00:00
Jens Petersen
adee73e6ef major update to 7.8.3: bootstrap build 2014-08-03 23:54:24 +09:00
Jens Petersen
622b604627 disable NEON on arm; only unversion docdir on f21+; hide llvm-3.4 warnings on arm 2014-07-25 20:23:17 +09:00
Jens Petersen
6979350950 move library versions to after patches for easier reading of top of ghc.spec 2014-06-09 14:46:34 +09:00
Jens Petersen
06bebb578d add aarch64; silence glibc _BSD_SOURCE warnings on unregisterized archs 2014-06-06 13:26:12 +09:00
Jens Petersen
939281139a bump release 2014-05-30 21:44:41 +09:00
Jens Petersen
de62eeb865 add ppc64le support with patch from Debian (Fedora bootstrap by jcapik)
add *_ver macros variables for library versions
2014-05-30 12:11:35 +09:00
Jens Petersen
1086f85751 do not link executables with executable stack flag set (#973512)
- upstream patch by Edward Z Yang
- http://ghc.haskell.org/trac/ghc/ticket/703
- note this changes the ABI hash of the ghc library
2014-01-30 14:02:36 +09:00
Jens Petersen
f22b491c67 comment on a couple of patches upstream 2014-01-29 13:01:43 +09:00
Jens Petersen
79d69f534e fix segfault on i686 when using ffi double-mapping for selinux (#907515)
- originally noticed with gtk2hs
- see http://hackage.haskell.org/trac/ghc/ticket/7629
- thanks Garrett Mitchener for patch committed upstream
2014-01-29 11:26:21 +09:00
Jens Petersen
70f2b5d09d document RTS debugging build option 2013-12-22 21:56:20 +09:00
Jens Petersen
6ee0cad912 enable debuginfo
production build
2013-10-30 00:21:19 +09:00
Jens Petersen
bf23eb900b bootstrap build to fix hangs on 64bit bigendian
- rts hang patch from Gustavo Luiz Duarte (#989593)
- generate and ship library doc index for ghc bundled libraries
- build with utf8 encoding (needed for verbose ghc output
  and makes better sense anyway)
- change ghc-cabal to make library html docdirs unversioned
2013-10-29 14:59:08 +09:00
Jens Petersen
ddf9e36cdc follow http://fedoraproject.org/wiki/Packaging:CronFiles
thanks Jóhann Guðmundsson
2013-07-29 11:35:56 +09:00
Jens Petersen
0d40f8dbbf silence warnings about unsupported llvm version (> 3.1) on ARM
+You are using a new version of LLVM that hasn't been tested yet!
+We will try though...

(ghc-7.6 only officially supports 2.8 <= llvm <= 3.1)
2013-07-24 18:08:02 +09:00
Jens Petersen
b019f63051 Revert "temporary bootstrap build for ARM with llvm-3.3 fix"
This reverts commit a044dc3f8a.
2013-07-24 14:18:09 +09:00
Jens Petersen
a044dc3f8a temporary bootstrap build for ARM with llvm-3.3 fix 2013-07-24 11:20:37 +09:00
Jens Petersen
0752284aa9 Revert "turn off executable stack flag in executables (#973512)"
While it seems to fix the flag for intermediate object files
final executables still seems to have the flag set somehow.
Further the patch apparently changed the ABI of the ghc library.
2013-07-11 17:30:54 +09:00
Jens Petersen
4e3e8f4b7c turn off executable stack flag in executables (#973512)
- reported by Dhiru Kholia
- upstream patch by Edward Zhang:
  see http://ghc.haskell.org/trac/ghc/ticket/703 and
  08a38628f2
- this affects both ghc 7.4 and 7.6
2013-07-10 11:07:23 +09:00
Jens Petersen
3c760a9a18 fix compilation with llvm-3.3 2013-06-25 16:56:39 +09:00
Jens Petersen
7b74369001 production build 2013-06-20 17:41:31 +09:00
Jens Petersen
d5b07bcada bump release to integer 12 2013-06-20 14:21:18 +09:00
Jens Petersen
025408ab14 reinstate and refresh Cabal-fix-dynamic-exec-for-TH.patch 2013-06-12 11:43:49 +09:00
Jens Petersen
2b100fabe7 production build with BuildFlavour perf; obsolete process-leksah 2013-06-06 11:58:43 +09:00
Jens Petersen
67bcee1c1c only require ghc-doc-index if we package it 2013-04-23 19:52:22 +09:00
Jens Petersen
9340b05892 update to new stable major version 7.6.3
- bootstrap build
- use new ghc-rpm-macros-extra
- no longer filter type-level package from haddock index
2013-04-23 18:33:35 +09:00
Jens Petersen
83540ee652 move ghclibdir ownership from compiler to base lib for runtime (#907671) 2013-02-05 13:04:03 +09:00
Jens Petersen
7c4664cfd4 rebuild 2013-01-18 18:53:01 +09:00
Jens Petersen
be3e3d6503 fix permissions of ghc-doc-index and only run when root
cronjob no longer checks /etc/sysconfig/ghc-doc-index
2012-11-21 16:55:59 +09:00
Jens Petersen
b94bbde71c turn off bootstrapping for proper bootstrapped build 2012-11-17 21:27:53 +09:00
Jens Petersen
d429c0f8f5 install ghc-doc-index in bindir 2012-11-17 20:38:54 +09:00
Jens Petersen
f3e1561131 "bogus date in %changelog: Tue Dec 12 2007" 2012-11-17 20:35:05 +09:00
Jens Petersen
19f6f35b16 define doc-index subpackage and set without_haddock for bootstrap
- drop Group fields
2012-11-17 18:43:22 +09:00
Jens Petersen
c4cf8af204 update changelog timestamp 2012-11-17 12:28:31 +09:00
Jens Petersen
f6ebb90def revert rpm-state and bring back ghc-doc-index cronjob in ghc-doc-index subpackage
- add new ghc-doc-index script
- forward port ghc-7.4-silence-gen_contents_index.patch
- remove /var/lib/rpm-state/ghc/
2012-11-16 16:57:46 +09:00
Jens Petersen
483b090ae7 drop doc re-indexing cronjob and add a rpm-state dir for posttrans scripts (#870694) 2012-10-29 20:14:11 +09:00
Jens Petersen
356d662fcc enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros 2012-10-25 16:49:08 +09:00
Jens Petersen
f39feba3da revert the removal of ghci HS*.o lib files (see http://hackage.haskell.org/trac/ghc/ticket/7249) 2012-10-24 14:00:31 +09:00
Jens Petersen
ac56c4ea87 use %buildroot instead of $RPM_BUILD_ROOT ; remove HS*.o files 2012-09-30 17:52:34 +09:00
Jens Petersen
a3e1a4bd2b disable Cabal building ghci lib files 2012-08-24 21:33:48 +09:00
Jens Petersen
d69bc0fa37 update to 7.4.2 bootstrap
- drop arm StgCRun patches
- update arm hf patch
- use _smp_mflags
2012-08-24 16:30:44 +09:00
Dennis Gilmore
d27beede6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 00:11:59 -05:00
Jens Petersen
64f38f75fa use ghc_lib_subpackage instead of ghc_binlib_package 2012-06-15 16:55:18 +09:00
Jens Petersen
df25dd92de ghc-wrapper-libffi-include.patch for "missing libffi.h" when compiling prof on secondary archs
eg on armv7:

[ 1 of 21] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.p_o )

/tmp/ghc1692_0/ghc1692_0.c:4:17:
     fatal error: ffi.h: No such file or directory
2012-05-02 19:54:30 +09:00
Jens Petersen
8dcd7bb8c1 full build for ARM 2012-04-28 13:37:49 +09:00
Jens Petersen
3443bff0bf BR autoconf for armv7hl patch 2012-04-27 23:48:28 +09:00
Jens Petersen
2d889de3ba Reverting last patch "avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu" and run autoreconf 2012-04-27 23:18:42 +09:00
Jens Petersen
deef098bfc avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu
-drop the original debian armhf llvm driver patches
2012-04-27 10:56:12 +09:00
Jens Petersen
8d5c7715aa remove the erroneous doublequote after -D__ARM_PCS_VFP 2012-04-23 19:13:27 +09:00
Jens Petersen
02d6827bb4 revert dropping ghc-debian-ARM-VFPv3D16.patch and define __ARM_PCS_VFP in build.mk 2012-04-23 17:57:54 +09:00
Jens Petersen
759e833d8b try disabling debian ARM-VFPv3D16 patch
/usr/bin/ld: error: /tmp/ghc24961_0/ghc24961_0.o uses VFP register arguments, libraries/base/dist-install/build/GHC/Event/Clock.o does not
2012-04-14 12:18:52 +09:00
Jens Petersen
9bcd864566 the armel patches are -p1 2012-04-14 02:14:37 +09:00
Jens Petersen
822ef01b54 add 4 ARM patches from Debian for armel and armhf
- BR llvm not clang
- remove arm from unregisterised_archs
- revert dropping --with-gcc
2012-04-14 01:37:26 +09:00
Jens Petersen
4bbcdfba1a set CC to clang for ARM 2012-04-14 00:23:08 +09:00
Jens Petersen
5042efe9e9 drop --with-gcc 2012-04-13 23:27:46 +09:00
Jens Petersen
279ebd2aeb BR clang not just llvm for ARM; bootstrap build 2012-04-10 11:20:14 +09:00
Jens Petersen
aeeb8ec996 turn off bootstrapping options for full build 2012-03-21 20:49:32 +09:00
Jens Petersen
7f77651f38 move ghc manpage out of without_manual in filelist 2012-03-21 19:36:26 +09:00
Jens Petersen
33b5ed2c09 major update to ghc-7.4.1
- http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/release-7-4-1.html
- add Cabal-fix-dynamic-exec-for-TH.patch
- use Debian's system-libffi patch
- drop ppc64 config, pthread and mmap patches
- add s390 and s390x to unregisterised_archs
2012-03-21 19:05:22 +09:00
Jens Petersen
7e4b4dd180 tweak release for test scm build 2012-02-24 11:27:37 +09:00
Jens Petersen
d6e745ac28 try temporarily disabling all the ppc64 "hacks" to see if really all needed 2012-02-24 11:17:31 +09:00
Jens Petersen
d2fbf7eeec add %_isa to external dependencies 2012-02-24 11:16:14 +09:00
Jens Petersen
45d7805f80 minor ghc.spec cleanup
- add another #%%global without_testsuite 1
- make versioned ghc-compiler BR conditional on no ghc_bootstrapping
- reformat library BRs
- symlink to system libffi headers
2012-02-19 15:57:17 +09:00
Jens Petersen
04c4201e69 fix build with system libffi
- add rest of debian system-libffi patch,
- copy libffi headers into rts build dir
- acknowledge Debian's patch
2012-02-16 15:16:20 +09:00
Jens Petersen
1998ace9af update to new 7.4.1 major release
(still doesn't build: system libffi patch seems incomplete -
can't find the libffi headers)
2012-02-16 10:46:28 +09:00
Jens Petersen
e45f98193a move ghc-ghc-devel from ghc-libraries to the ghc metapackage 2012-01-19 12:13:37 +09:00
Dennis Gilmore
233adc0172 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 21:19:12 -06:00
Jens Petersen
d0209980c8 move listing of haddock into conditional doc block 2011-11-15 09:21:18 +09:00
Jens Petersen
d43d5d920b fix the ghost listing of hsc2hs 2011-11-15 09:06:42 +09:00
Jens Petersen
72942f48a7 fix alternatives usage to follow Packaging:Alternatives (#753661) 2011-11-14 19:29:08 +09:00
Jens Petersen
b24f66d05f move ghc-doc and ghc-libs obsoletes; add HaskellReport license to base and libraries subpackages 2011-11-14 12:09:28 +09:00
Jens Petersen
ec9ab4a788 make the post and postun scripts now be for the compiler subpackage 2011-11-10 18:23:09 +09:00
Jens Petersen
4a3e507ba5 also rename %files devel to libraries 2011-11-02 13:15:00 +09:00
Jens Petersen
b0af02e9fe rename ghc-devel metapackage to ghc-libraries and require ghc-rpm-macros-0.14 2011-11-02 13:12:03 +09:00
Jens Petersen
a8b3c2830f move compiler and tools to ghc-compiler, and make ghc metapackage for all ghc 2011-11-01 21:27:14 +09:00
Jens Petersen
583bb8c9d1 rebuild in the right dist tag 2011-10-28 19:09:35 +09:00
Jens Petersen
6d2d60012f add HaskellReport license tag to subpackages with Haskell Report code 2011-10-28 18:14:37 +09:00
Marcela Mašláňová
a627cf8286 rebuild with new gmp without compat lib 2011-10-20 19:23:08 +02:00
Jens Petersen
975f671fc0 setup ghc-deps.sh after ghc_version_override for bootstrapping 2011-10-20 10:19:50 +09:00
Jens Petersen
e274f6227d add armv5tel and use ghc-deps.sh when bootstrapping 2011-10-18 18:15:34 +09:00
Jens Petersen
6ca8b93328 improve system libffi changelog comment 2011-10-17 15:31:53 +09:00
Jens Petersen
2d092a21c2 remove libffi_archs and include ghci lib in ghc-devel 2011-10-17 14:17:35 +09:00
Marcela Mašláňová
652f7a1e3d rebuild with new gmp 2011-10-11 09:45:13 +02:00
Jens Petersen
6654f847c4 use ghc-rpm-macros-0.13.11 to fix devel subpackages' provides/obsoletes versions 2011-09-30 11:15:57 +09:00
Jens Petersen
458ba66b67 no need to specify -lffi in build.mk (Henrik Nordström) 2011-09-29 15:42:49 +09:00
Jens Petersen
a36940c06b port to armv7hl by Henrik Nordström (#741725) 2011-09-28 11:33:44 +09:00
Jens Petersen
5e668afb67 setup ghc-deps.sh when not bootstrapping\! 2011-09-14 17:16:02 +09:00
Jens Petersen
f0b82bb38a setup ghc-deps.sh here now since no longer in %ghc_package_devel 2011-09-14 16:12:47 +09:00
Jens Petersen
c761d8e338 fix one last old %{with doc} 2011-06-17 22:22:22 +09:00
Jens Petersen
840ac941d3 skip failing ghc_check_bootstrap for now 2011-06-17 18:35:15 +09:00
Jens Petersen
580ab063fd bump ghc-rpm-macros 2011-06-17 18:25:02 +09:00
Jens Petersen
19346d4500 add new bootstrapping mode using ghc_bootstrap (ghc-rpm-macros-0.13.5)
- BR same ghc version unless ghc_bootstrapping defined
- use ghc_check_bootstrap
- put dyn before p in GhcLibWays
2011-06-17 18:19:04 +09:00
Jens Petersen
012f178446 drop ghc_check_bootstrap for now until work out why failing in koji 2011-06-17 14:56:34 +09:00
Jens Petersen
0e85ce156f don't need to condition ghc_check_bootstrap 2011-06-17 14:32:54 +09:00
Jens Petersen
08500177f1 add ghc_bootstrap build mode
- add ghc_bootstrap build mode using: ghc_without_shared, without_prof,
  without_haddock, without_manual, without_testsuite
- add libffi_archs
- use ghc-rpm-macros-0.13.4 for ghc_check_bootstrap
- drop the quick build profile
2011-06-17 14:11:07 +09:00
Jens Petersen
beb07b602f update summary in addition to description 2011-06-16 18:16:39 +09:00
Jens Petersen
5423156d0b update to 7.0.4 bugfix release
- strip static again (upstream #5004 fixed)
- Cabal updated to 1.10.2.0
- re-enable testsuite
2011-06-16 18:12:59 +09:00
Jens Petersen
ce45e5bc6e change from ExclusiveArch to ExcludeArch to target more archs 2011-06-14 17:11:44 +09:00
Jens Petersen
20d7047bee obsolete dph libraries and feldspar-language 2011-05-21 23:22:35 +09:00
Jens Petersen
88df269cee improve the prof merge changelog entry 2011-05-16 14:10:51 +09:00
Jens Petersen
b3c9b98bb6 merge prof subpackages into the devel subpackages with ghc-rpm-macros-0.13 2011-05-16 11:39:27 +09:00
Jens Petersen
c5a50faad5 specify /usr/bin/gcc to help bootstrapping; drop redundant posttrans scriplet 2011-05-11 11:46:06 +09:00
Jens Petersen
b03062c00b be explicit about release for devel, prof; add explicit ghc requires for ghc-*-devel 2011-05-09 00:17:42 +09:00
Jiri Skala
62c28163cc fixes path to gcc on ppc64 arch 2011-05-05 10:04:28 +02:00
Jens Petersen
03f30c40ef replace hscolour bcond by without_hscolour like in ghc-rpm-macros 2011-05-02 20:34:56 +09:00
Jens Petersen
109aae23e7 apply the powerpc linker patch also to ppc 2011-04-27 16:33:18 +09:00
Jens Petersen
98a946c2f0 add upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala) 2011-04-26 17:40:21 +09:00
Jens Petersen
f103ae83ed ppc64 bootstrapping by Jiri Skala 2011-04-21 18:24:42 +09:00
Jens Petersen
23ba9b32ed rebuild against ghc-rpm-macros-0.11.14 to provide ghc-*-doc 2011-04-01 16:57:19 +09:00
Jens Petersen
5ca78665ef provides ghc-doc again; ghc-prof requires ghc-devel; ghc-devel requires ghc 2011-04-01 13:34:49 +09:00
Jens Petersen
1ef5ad0bee remove trailing backquote after %{defined ghclibdir} 2011-03-30 15:17:48 +09:00
Jens Petersen
37c681b884 dont strip static libs (it breaks ghci-7.0.2 loading libHSghc.a); no longer provide ghc-doc nor obsolete haddock 2011-03-30 15:11:54 +09:00
Jens Petersen
573d38cfd0 bring back LICENSE files to library subpackages and drop ghc_reindex_haddock 2011-03-29 11:51:29 +09:00
Jens Petersen
00673ae358 update ghc-rpm-macros BR to 0.11.12 2011-03-25 14:37:33 +09:00
Jens Petersen
f6e34f287d bump for rebuild against 7.0.2 2011-03-10 17:22:36 +09:00
Jens Petersen
128f5fdf44 need -devel in ghc_pkg_obsoletes 2011-03-10 15:28:38 +09:00
Jens Petersen
dec209180b disable broken testsuite 2011-03-10 13:34:21 +09:00
Jens Petersen
fe4ed8a6bc update to 7.0.2 release; move bin-package-db into ghc-ghc 2011-03-10 13:25:14 +09:00
Fabio M. Di Nitto
552a01acd7 Fix changelog version
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-02-23 14:49:11 +01:00
Fabio M. Di Nitto
6d562261fb enable ghc build on sparcv9
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2011-02-23 14:46:08 +01:00
Jens Petersen
05d6abb239 without_shared renamed to ghc_without_shared 2011-02-13 22:59:34 +10:00
Jens Petersen
282277c016 back to previous state
This reverts commit f78d369c4a.
2011-02-11 01:52:41 +10:00
Jens Petersen
f78d369c4a back to the "bootstrapping" rebuild for ppc with minor bump 2011-02-11 00:57:11 +10:00
Jens Petersen
12c3f9e897 rebuild 2011-02-10 18:16:12 +10:00
Jens Petersen
3fbd3f5085 disable testsuite for a faster build 2011-02-10 16:42:26 +10:00
Jens Petersen
d5612c1ed5 handle HSffi.o for without_shared 2011-02-10 16:15:17 +10:00
Jens Petersen
e3544f2e61 disable system libffi and ghc-*-devel BRs for secondary archs 2011-02-10 14:10:31 +10:00
Jens Petersen
b1d29b1633 more non shared filelist fixes 2011-02-10 12:58:13 +10:00
Jens Petersen
f2a0998a3b fix non shared build for ppc, etc 2011-02-10 11:41:10 +10:00
Dennis Gilmore
13585e85ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 18:52:26 -06:00
Jens Petersen
aa31ff096e tweak shared lib comment for x86 2011-01-31 15:17:56 +10:00
Jens Petersen
8b7e421999 include LICENSE files in the shared lib subpackages 2011-01-29 20:51:59 +10:00