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
Jens Petersen
1ed3ce3d59
rebuild against ghc-rpm-macros-0.11.14 to provide ghc-*-doc
3 years ago
Jens Petersen
37726ff388
provides ghc-doc again; ghc-prof requires ghc-devel; ghc-devel requires ghc
3 years ago
Jens Petersen
c1bb4a88ea
remove trailing backquote after %{defined ghclibdir}
3 years ago
Jens Petersen
3cd7a9e1c4
dont strip static libs (it breaks ghci-7.0.2 loading libHSghc.a); no longer provide ghc-doc nor obsolete haddock
3 years ago
Jens Petersen
ed9ba74656
bring back LICENSE files to library subpackages and drop ghc_reindex_haddock
3 years ago
Jens Petersen
2cb5dc1619
update ghc-rpm-macros BR to 0.11.12
3 years ago
Jens Petersen
f6b392765e
bump for rebuild against 7.0.2
3 years ago
Jens Petersen
0e135afcf4
need -devel in ghc_pkg_obsoletes
3 years ago
Jens Petersen
4368f60e11
disable broken testsuite
3 years ago
Jens Petersen
7dad1aa690
update to 7.0.2 release; move bin-package-db into ghc-ghc
3 years ago
Fabio M. Di Nitto
9ccb8ffbea
Fix changelog version
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
3 years ago
Fabio M. Di Nitto
7e6bda1506
enable ghc build on sparcv9
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
3 years ago
Jens Petersen
6c57433e72
without_shared renamed to ghc_without_shared
3 years ago
Jens Petersen
1907bb4f66
back to previous state
...
This reverts commit f78d369c4a69e27e84e13e3add32d15603a80ff3.
3 years ago
Jens Petersen
5b550d3080
back to the "bootstrapping" rebuild for ppc with minor bump
3 years ago
Jens Petersen
f4b87979c8
rebuild
3 years ago
Jens Petersen
7dae59527e
disable testsuite for a faster build
3 years ago
Jens Petersen
1534a11b27
handle HSffi.o for without_shared
3 years ago
Jens Petersen
3e757b5660
disable system libffi and ghc-*-devel BRs for secondary archs
3 years ago
Jens Petersen
4a73d7ade2
more non shared filelist fixes
3 years ago
Jens Petersen
af406c52e9
fix non shared build for ppc, etc
3 years ago
Dennis Gilmore
c8638ad65c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3 years ago
Jens Petersen
1178398966
tweak shared lib comment for x86
3 years ago
Jens Petersen
de9d772c9c
include LICENSE files in the shared lib subpackages
3 years ago
Jens Petersen
823fc8d386
the ghc API lib pkgname is ghc not ghc-ghc
3 years ago
Jens Petersen
b01bee35ad
need to generate filelist for ghc-ghc
3 years ago
Jens Petersen
35a3ed6600
comment out the new inplace runghc test in %check since it doesn't work
3 years ago
Jens Petersen
e122c83335
condition ghc_binlib_packages on new ghclibdir instead of ghc_version
3 years ago
Jens Petersen
8c1f0be4de
fix the Cabal %patch line
3 years ago
Jens Petersen
219c6d7bba
add cabal configure --enable-executable-dynamic and exclude ghc lib from lib metapackages
...
- patch Cabal to add configure option --enable-executable-dynamic
- exclude huge ghc API library from devel and prof metapackages
- add a runghc test to check
3 years ago
Jens Petersen
63cad15102
fix haddock and manual filelists for no doc or no manual builds
...
- drop build.mk assignment indents
3 years ago
Jens Petersen
f982e7ddb8
add BRs for various subpackaged ghc libraries needed to build ghc
3 years ago
Jens Petersen
7dd41bb1ee
fix %ghc_binlib_package's appearing in srpm description
3 years ago
Jens Petersen
67fc6891e2
fix an old changelog typo of obsolete
3 years ago
Jens Petersen
91a329e090
test ghc_packages_list in requires for mock
3 years ago
Jens Petersen
3140ac39a1
changelog tweaks
3 years ago
Jens Petersen
ed981fa029
subpackage all the libraries with ghc-rpm-macros-0.11.1
...
- put rts, integer-gmp and ghc-prim in base, and ghc-binary in bin-package-db
- drop the libs mega-subpackage
- prof now a meta-package for backward compatibility
- add devel meta-subpackage to easily install all ghc libraries
- store doc cronjob package cache file under /var (#664850 )
- drop old extralibs bcond
- no longer need to define or clean buildroot
- ghc base package now requires ghc-base-devel
- drop ghc-time obsoletes
3 years ago