Jens Petersen
fe10edb8a2
ABI check tweaks and fix
3 years ago
Jens Petersen
5fe7eac5b5
add an ABI change check to prevent unexpected hash changes
3 years ago
Jens Petersen
aa524cd426
obsolete haskell98 and haskell2010
3 years ago
Jens Petersen
e285b9dffe
perf build
3 years ago
Jens Petersen
e5796cf8e5
add missing changelog for 7.10.3-49!
3 years ago
Jens Petersen
84579a471b
update to 7.10.3 from petersen/ghc-7.10.3 copr
...
- quick build
- use 7.10.3b respin tarballs
- no longer need:
- ghc-glibc-2.20_BSD_SOURCE.patch
- ghc-7.8-arm-use-ld-gold.patch
- ghc-7.8-arm7_saner-linker-opt-handling-9873.patch
- ghc-config.mk.in-Enable-SMP-and-GHCi-support-for-Aarch64.patch
- build_minimum_smp
- add Debian packages:
- buildpath-abi-stability
- no-missing-haddock-file-warning
- reproducible-tmp-names
- use llvm35
- add libraries-versions.sh script
- all library versions updates except xhtml
- BR ghc-rpm-macros-extra for all OS versions
- support building on EL6
- deprecated libraries: haskell2010, haskell98, old-locale, old-time
- symlink for integer-gmp2
- add llvm_major
3 years ago
Jens Petersen
6dc67ae0f0
do not package ghc-split on MIPS ( #1294873 )
3 years ago
Jens Petersen
2664c8fb3e
drop the last use of %ghc_arches_with_ghci
3 years ago
Dennis Gilmore
a768c590d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3 years ago
Jens Petersen
31adc23346
rebuild
...
for unstable 64bit array ABI hash
3 years ago
Jens Petersen
03c151c41a
use ld.gold and re-enable dynamic linking of ghc programs
...
Reverting "revert ld.gold to armv7 only; static ghc progs for aarch64"
This reverts commit bc51500a32c12e58b0cdc8a50b0d551c8da177d8.
3 years ago
Jens Petersen
e8a98a8b8a
revert ld.gold to armv7 only; static ghc progs for aarch64
...
- ld.gold patch didn't fix subprocess output problem
aarch64 ghci crashes with both gold and bfd but TH seems to work
3 years ago
Jens Petersen
f65f1484ba
use "make -j2" for s390 ( #1212374 )
3 years ago
Jens Petersen
2dec8072bd
use ld.gold for aarch64 and "make -j3" for s390
3 years ago
Jens Petersen
c1e250e452
turn on SMP and ghci for aarch64
...
patch by Erik de Castro Lopo from
https://ghc.haskell.org/trac/ghc/ticket/9673
3 years ago
Jens Petersen
841d58b028
aarch64 production build
3 years ago
Jens Petersen
bd9e01445e
bootstrap aarch64 again for ghc-deps.sh fixes
3 years ago
Jens Petersen
3f22c768eb
aarch64 production build; use -j16 again on intel archs
3 years ago
Jens Petersen
31c538ec04
disable ld hardening also for armv7 and secondary 64bit archs
3 years ago
Jens Petersen
7e41a8042a
aarch64 bootstrap without dyn ghc(i) and llvm, disable ld hardening on 64bit
...
llvm needs 3.6
3 years ago
Jens Petersen
8ae1316deb
setup make -j more carefully, add %build_minimum_smp
...
minimum -j12 for intel, can be overriden with %build_minimum_smp
3 years ago
Jens Petersen
0b41876861
use llvm for aarch64 and fix build.mk BuildFlavour setup
3 years ago
Jens Petersen
e44e75832e
override "make %{?_smp_mflags}" in mock/koji if not -j16
...
- in koji HOSTNAME is ""
- from testing in koji: -j8 was too small and -j12 seemed big enough
3 years ago
Jens Petersen
5e438927a4
better _smp_mflags echo output
3 years ago
Jens Petersen
0d3cc88776
only echo _smp_mflags if it is defined
3 years ago
Jens Petersen
14a6d06df6
try "make -j16" on Intel arches to keep ABI hashes same as -40
3 years ago
Jens Petersen
00c13d3cbc
production build; use %ghc_bootstrapping to control bootstrap setup
3 years ago
Jens Petersen
1857c31d25
update the arm64 patch for 7.8.4
3 years ago
Jens Petersen
c5e919bbca
bootstrap for secondary arches, with bindir/ghci
3 years ago
Jens Petersen
49bc24eee0
drop unversioned htmldir patch
...
remove two old patches
3 years ago
Jens Petersen
8d155fe9a5
production build
3 years ago
Jens Petersen
30d039255a
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)
3 years ago
Jens Petersen
7a3899d9ad
Revert back to ghc-7.8 and update to 7.8.4
...
version bumps for base and Cabal
This reverts commit 083d826dd60e6a529308f038d8fa6a1900729a3f.
Conflicts:
ghc.spec
3 years ago
Jens Petersen
ecce5dd44b
update changelog date
3 years ago
Jens Petersen
663bc535f4
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
3 years ago
Jens Petersen
6977ee8fbf
require and use llvm34 instead of llvm-3.5 for arm
3 years ago
Jens Petersen
9d76b15c80
revert to 7.6.3-26 (current f21)
3 years ago
Jens Petersen
7c993482d1
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
3 years ago
Jens Petersen
ba8410b351
- 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
3 years ago
Jens Petersen
42c0b16fac
add changelog entry for bash-ism fix
3 years ago
Jens Petersen
79a56ff151
use rpm internal dependency generator with ghc.attr on F22
...
requires ghc-rpm-macros ghc.attr - currently only in rawhide
3 years ago
Jens Petersen
a9ede5935e
change Cabal install bindir warning; drop use of ghc_without_shared
3 years ago
Peter Robinson
883b428d41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3 years ago
Jens Petersen
d1dfce72b7
major update to 7.8.3: bootstrap build
3 years ago
Jens Petersen
38493537b2
disable NEON on arm; only unversion docdir on f21+; hide llvm-3.4 warnings on arm
3 years ago
Jens Petersen
557b1571ca
move library versions to after patches for easier reading of top of ghc.spec
3 years ago
Jens Petersen
27b5c4e337
add aarch64; silence glibc _BSD_SOURCE warnings on unregisterized archs
3 years ago
Jens Petersen
61e47f8bc2
bump release
3 years ago
Jens Petersen
1ca269a8ce
add ppc64le support with patch from Debian (Fedora bootstrap by jcapik)
...
add *_ver macros variables for library versions
3 years ago
Jens Petersen
047624e518
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
3 years ago
Jens Petersen
fe81a51aee
comment on a couple of patches upstream
3 years ago
Jens Petersen
7f1dc7792c
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
3 years ago
Jens Petersen
0b71664254
document RTS debugging build option
3 years ago
Jens Petersen
1cb04aa6af
enable debuginfo
...
production build
3 years ago
Jens Petersen
0d58db6358
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
3 years ago
Jens Petersen
f52785234a
follow http://fedoraproject.org/wiki/Packaging:CronFiles
...
thanks Jóhann Guðmundsson
3 years ago
Jens Petersen
7e87c6a1e6
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)
3 years ago
Jens Petersen
47c247655a
Revert "temporary bootstrap build for ARM with llvm-3.3 fix"
...
This reverts commit a044dc3f8af30144c9639d83d2c6db8f2895a1a6.
3 years ago
Jens Petersen
35375ea0a5
temporary bootstrap build for ARM with llvm-3.3 fix
3 years ago
Jens Petersen
6ad25889ec
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.
3 years ago
Jens Petersen
cbe15a3bdf
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
3 years ago
Jens Petersen
5a78a2efb5
fix compilation with llvm-3.3
3 years ago
Jens Petersen
44f0e24aa6
production build
3 years ago
Jens Petersen
1d488d5a31
bump release to integer 12
3 years ago
Jens Petersen
1f0e92321d
reinstate and refresh Cabal-fix-dynamic-exec-for-TH.patch
3 years ago
Jens Petersen
6643079e5d
production build with BuildFlavour perf; obsolete process-leksah
3 years ago
Jens Petersen
5ff993dce3
only require ghc-doc-index if we package it
3 years ago
Jens Petersen
46792007c9
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
3 years ago
Jens Petersen
ec42ddfe25
move ghclibdir ownership from compiler to base lib for runtime ( #907671 )
3 years ago
Jens Petersen
71f3050a3b
rebuild
3 years ago
Jens Petersen
71c562fdd5
fix permissions of ghc-doc-index and only run when root
...
cronjob no longer checks /etc/sysconfig/ghc-doc-index
3 years ago
Jens Petersen
9cab3ce294
turn off bootstrapping for proper bootstrapped build
3 years ago
Jens Petersen
c2da1038f3
install ghc-doc-index in bindir
3 years ago
Jens Petersen
3d6c74cbb0
"bogus date in %changelog: Tue Dec 12 2007"
3 years ago
Jens Petersen
2ccedef175
define doc-index subpackage and set without_haddock for bootstrap
...
- drop Group fields
3 years ago
Jens Petersen
bf18859b4e
update changelog timestamp
3 years ago
Jens Petersen
1456df9b18
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/
3 years ago
Jens Petersen
b2f2d6c05a
drop doc re-indexing cronjob and add a rpm-state dir for posttrans scripts ( #870694 )
3 years ago
Jens Petersen
7eeada8624
enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros
3 years ago
Jens Petersen
d536f17acf
revert the removal of ghci HS*.o lib files (see http://hackage.haskell.org/trac/ghc/ticket/7249 )
3 years ago
Jens Petersen
b9b8245f7a
use %buildroot instead of $RPM_BUILD_ROOT ; remove HS*.o files
3 years ago
Jens Petersen
23a67a6190
disable Cabal building ghci lib files
3 years ago
Jens Petersen
6b98066a85
update to 7.4.2 bootstrap
...
- drop arm StgCRun patches
- update arm hf patch
- use _smp_mflags
3 years ago
Dennis Gilmore
a27c47f9d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3 years ago
Jens Petersen
2238c4b2a9
use ghc_lib_subpackage instead of ghc_binlib_package
3 years ago
Jens Petersen
14ae8832d2
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
3 years ago
Jens Petersen
c191f54942
full build for ARM
3 years ago
Jens Petersen
44efb6d4e3
BR autoconf for armv7hl patch
3 years ago
Jens Petersen
760efcba7e
Reverting last patch "avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu" and run autoreconf
3 years ago
Jens Petersen
3bf6972c25
avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu
...
-drop the original debian armhf llvm driver patches
3 years ago
Jens Petersen
e549e39f58
remove the erroneous doublequote after -D__ARM_PCS_VFP
3 years ago
Jens Petersen
cc91b0e429
revert dropping ghc-debian-ARM-VFPv3D16.patch and define __ARM_PCS_VFP in build.mk
3 years ago
Jens Petersen
5a80b53c41
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
3 years ago
Jens Petersen
c633311f76
the armel patches are -p1
3 years ago
Jens Petersen
0860e86239
add 4 ARM patches from Debian for armel and armhf
...
- BR llvm not clang
- remove arm from unregisterised_archs
- revert dropping --with-gcc
3 years ago
Jens Petersen
ab8589c9be
set CC to clang for ARM
3 years ago
Jens Petersen
a357d572f7
drop --with-gcc
3 years ago
Jens Petersen
bc252ac183
BR clang not just llvm for ARM; bootstrap build
3 years ago
Jens Petersen
a3513a1d65
turn off bootstrapping options for full build
3 years ago
Jens Petersen
0da60f05cb
move ghc manpage out of without_manual in filelist
3 years ago
Jens Petersen
6130e65e94
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
3 years ago
Jens Petersen
c0f89535cd
tweak release for test scm build
3 years ago
Jens Petersen
ee30456e2b
try temporarily disabling all the ppc64 "hacks" to see if really all needed
3 years ago
Jens Petersen
10ede6d8ab
add %_isa to external dependencies
3 years ago
Jens Petersen
7d87f9af5c
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
3 years ago
Jens Petersen
6905835f80
fix build with system libffi
...
- add rest of debian system-libffi patch,
- copy libffi headers into rts build dir
- acknowledge Debian's patch
3 years ago
Jens Petersen
56ca87f87c
update to new 7.4.1 major release
...
(still doesn't build: system libffi patch seems incomplete -
can't find the libffi headers)
3 years ago
Jens Petersen
80a3e4101e
move ghc-ghc-devel from ghc-libraries to the ghc metapackage
3 years ago
Dennis Gilmore
0432ff8ec7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3 years ago
Jens Petersen
5fb7b394de
move listing of haddock into conditional doc block
3 years ago
Jens Petersen
4a103796d9
fix the ghost listing of hsc2hs
3 years ago
Jens Petersen
2c22ffcaaf
fix alternatives usage to follow Packaging:Alternatives ( #753661 )
3 years ago
Jens Petersen
c44fb9d5d2
move ghc-doc and ghc-libs obsoletes; add HaskellReport license to base and libraries subpackages
3 years ago
Jens Petersen
ea8cd3dfb4
make the post and postun scripts now be for the compiler subpackage
3 years ago
Jens Petersen
0cc183c6d5
also rename %files devel to libraries
3 years ago
Jens Petersen
30442b5664
rename ghc-devel metapackage to ghc-libraries and require ghc-rpm-macros-0.14
3 years ago
Jens Petersen
717fb32ec9
move compiler and tools to ghc-compiler, and make ghc metapackage for all ghc
3 years ago
Jens Petersen
a853f17f88
rebuild in the right dist tag
3 years ago
Jens Petersen
4946c18c29
add HaskellReport license tag to subpackages with Haskell Report code
3 years ago
Marcela Mašláňová
b71ee97568
rebuild with new gmp without compat lib
3 years ago
Jens Petersen
8fec83d59f
setup ghc-deps.sh after ghc_version_override for bootstrapping
3 years ago
Jens Petersen
a92bbae95a
add armv5tel and use ghc-deps.sh when bootstrapping
3 years ago
Jens Petersen
3b165859c5
improve system libffi changelog comment
3 years ago
Jens Petersen
dac3677f69
remove libffi_archs and include ghci lib in ghc-devel
3 years ago
Marcela Mašláňová
97b6c582e1
rebuild with new gmp
3 years ago
Jens Petersen
6e0974a4ff
use ghc-rpm-macros-0.13.11 to fix devel subpackages' provides/obsoletes versions
3 years ago
Jens Petersen
34566cea6b
no need to specify -lffi in build.mk (Henrik Nordström)
3 years ago
Jens Petersen
1c9d41c9a0
port to armv7hl by Henrik Nordström ( #741725 )
3 years ago
Jens Petersen
3ee1a50ebf
setup ghc-deps.sh when not bootstrapping\!
3 years ago
Jens Petersen
8165701637
setup ghc-deps.sh here now since no longer in %ghc_package_devel
3 years ago
Jens Petersen
c56e3d687a
fix one last old %{with doc}
3 years ago
Jens Petersen
9b90dceff1
skip failing ghc_check_bootstrap for now
3 years ago
Jens Petersen
e95b4c3b72
bump ghc-rpm-macros
3 years ago
Jens Petersen
7caa495ea7
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
3 years ago
Jens Petersen
30b20cedcb
drop ghc_check_bootstrap for now until work out why failing in koji
3 years ago
Jens Petersen
c8aa77d006
don't need to condition ghc_check_bootstrap
3 years ago
Jens Petersen
f7cf28625c
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
3 years ago
Jens Petersen
4b97fdc103
update summary in addition to description
3 years ago
Jens Petersen
bd28af383e
update to 7.0.4 bugfix release
...
- strip static again (upstream #5004 fixed)
- Cabal updated to 1.10.2.0
- re-enable testsuite
3 years ago
Jens Petersen
58ab2dd550
change from ExclusiveArch to ExcludeArch to target more archs
3 years ago
Jens Petersen
e7caec162a
obsolete dph libraries and feldspar-language
3 years ago
Jens Petersen
13e0298b14
improve the prof merge changelog entry
3 years ago
Jens Petersen
fab994e091
merge prof subpackages into the devel subpackages with ghc-rpm-macros-0.13
3 years ago
Jens Petersen
4817313fd5
specify /usr/bin/gcc to help bootstrapping; drop redundant posttrans scriplet
3 years ago
Jens Petersen
ff4a87db24
be explicit about release for devel, prof; add explicit ghc requires for ghc-*-devel
3 years ago
Jiri Skala
712ef6ba2a
fixes path to gcc on ppc64 arch
3 years ago
Jens Petersen
c7d4ebf2b5
replace hscolour bcond by without_hscolour like in ghc-rpm-macros
3 years ago
Jens Petersen
ac238f56e1
apply the powerpc linker patch also to ppc
3 years ago
Jens Petersen
a5bffe88e8
add upstream ghc-powerpc-linker-mmap.patch for ppc64 (Jiri Skala)
3 years ago
Jens Petersen
e48cc497d4
ppc64 bootstrapping by Jiri Skala
3 years ago