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