Commit Graph

187 Commits

Author SHA1 Message Date
Richard W.M. Jones
e575a86d45 Disable CSE optimization which is broken on aarch64. 2014-07-15 13:07:54 +01:00
Richard W.M. Jones
7335bbf1f3 Update to 4.02.0-beta1 + patches from the upstream 4.02 branch.
- REMOVED labltk and camlp4 packages, since these are now packaged
  separately upstream.
- Upstream includes fix for stack alignment issues on i686, so remove hack.
- Upstream now uses mkstemp where available, so patch removed.
- Upstream includes Aarch64 backend, so remove our own backport.
- Drop BR on ocaml-srpm-macros, since it is now included in Fedora.
2014-07-12 18:49:45 +01:00
Richard W.M. Jones
98f566b78e BR binutils-devel so ocamlobjinfo supports *.cmxs files (RHBZ#1113735). 2014-06-26 20:31:10 +01:00
Richard W.M. Jones
44cd19b48d Fix git.fedorahosted.org URL in comment. 2014-06-24 10:50:44 +01:00
Dennis Gilmore
c6f3eac171 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 10:28:24 -05:00
Jaroslav Škarvada
5e25399273 - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:28:00 +02:00
Richard W.M. Jones
95cf7b34ad Mark stack as non-executable on ARM (32 bit) and Aarch64. 2014-05-10 09:07:15 +01:00
Richard W.M. Jones
37ad9becd7 Remove ocaml-srpm-macros subpackage.
This is now a separate package, see RHBZ#1087893.
2014-04-22 11:10:21 +01:00
Richard W.M. Jones
a80eeaf35a Fix s390x builds (no native compiler). 2014-04-15 14:47:30 +01:00
Richard W.M. Jones
ead83e2240 Remove ExclusiveArch.
Add ocaml-srpm-macros subpackage containing arch macros.

- See: RHBZ#1087794
2014-04-15 11:49:45 +01:00
Richard W.M. Jones
31bf86cfb0 Fix aarch64 relocation problems again.
Earlier patch was dropped accidentally.
2014-04-14 21:26:33 +01:00
Richard W.M. Jones
880ea30949 Apply ppc64le patch properly. 2014-04-09 20:31:15 +01:00
Richard W.M. Jones
a0eedc071f Add ppc64le support (thanks: Michel Normand) (RHBZ#1077767). 2014-04-09 17:39:37 +01:00
Richard W.M. Jones
0db310c916 Fix --flag=arg patch (thanks: Anton Lavrik, Ignas Vyšniauskas). 2014-04-01 11:36:02 +01:00
Richard W.M. Jones
073715bf7d Really fix aarch64 build. 2014-03-24 12:43:34 +00:00
Richard W.M. Jones
bf77c63265 Include a fix for aarch64 relocation problems
http://caml.inria.fr/mantis/view.php?id=6283
2014-03-24 11:12:36 +00:00
Richard W.M. Jones
0666b78faf Don't use ifarch around Patch lines, as it means the patch files
don't get included in the spec file.
2014-01-08 13:30:27 +00:00
Richard W.M. Jones
179ac32d01 Work around gcc stack alignment issues, see
http://caml.inria.fr/mantis/view.php?id=5700
2014-01-06 19:27:11 +00:00
Richard W.M. Jones
2b6c21aaa3 Add aarch64 (arm64) code generator (correctly this time).
This fixes commit efb2ca148b.
2013-12-31 12:18:07 +00:00
Richard W.M. Jones
efb2ca148b Add aarch64 (arm64) code generator. 2013-12-30 22:04:26 +00:00
Richard W.M. Jones
0d053e766f Add bundled(md5-plumb) (thanks: Tomas Mraz). 2013-11-21 11:31:57 +00:00
Richard W.M. Jones
f231f651e6 Add NON-upstream (but being sent upstream) patch to allow --flag=arg
as an alternative to --flag arg (RHBZ#1028650).
2013-11-09 09:15:11 +00:00
Richard W.M. Jones
11969865cd Disable -lcurses. This is not actually used, just linked with unnecessarily. 2013-09-14 16:04:52 +01:00
Richard W.M. Jones
71bcc7c84c Fix the build on ppc64. 2013-09-14 12:14:22 +01:00
Richard W.M. Jones
2d6392e7eb Update to new major version 4.01.0.
- Rebase patches.
- Remove bogus Requires 'ncurses-devel'.  The base ocaml package already
  pulls in the library implicitly.
- Remove bogus Requires 'gdbm-devel'.  Nothing in the source mentions gdbm.
- Use mkstemp instead of mktemp in ocamlyacc.
- Add LICENSE as doc to some subpackages to keep rpmlint happy.
- Remove .ignore file from some packages.
- Remove period from end of Summary.
2013-09-13 21:45:36 +01:00
Dennis Gilmore
0f377d2b84 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 09:45:26 -05:00
Richard W.M. Jones
31ee479af5 Fix build dates in changelog. 2013-07-31 13:24:41 +01:00
Dennis Gilmore
6dab9e0d90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 02:53:39 -06:00
Richard W.M. Jones
ed0c3aae64 OCaml 4.00.1.
- Clean up spec file.
2012-10-16 19:26:03 +01:00
Richard W.M. Jones
0612b77708 ppc supports natdynlink. 2012-08-16 10:18:33 +01:00
Richard W.M. Jones
24e662a3fe Upgrade to OCaml 4.00.0 official release.
- Remove one patch (add -lpthread) which went upstream.
2012-07-28 11:25:14 +01:00
Dennis Gilmore
e5596c32b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 00:48:10 -05:00
Richard W.M. Jones
55e460cdec No change, just fix up changelog. 2012-06-10 21:43:42 +01:00
Richard W.M. Jones
324bd0d871 Rebuild for OCaml 4.00.0. 2012-06-10 21:37:22 +01:00
Richard W.M. Jones
dca4925f9e - Make OCaml dependency generator self-contained so it doesn't need
previous version of OCaml around.
2012-06-07 18:36:30 +01:00
Richard W.M. Jones
518f1af016 Fix PPC64 backend. 2012-06-07 16:57:55 +01:00
Richard W.M. Jones
1837515a64 Upgrade to OCaml 4.00.0 beta 2.
- The language is now officially called OCaml (not Objective Caml, O'Caml etc)
- Rebase patches on top:
  . New ARM backend patch no longer required, since upstream.
  . Replacement config.guess, config.sub no longer required, since upstream
    versions are newer.
  . ppc64 backend known not to work; will fix shortly.
- New tool: ocamloptp (ocamlopt profiler).
- New VERSION file in ocaml-runtime package.
- New ocaml-compiler-libs subpackage.
- Rearrange ExclusiveArch alphanumerically.
- alpha, ia64 native backends have been removed upstream, so they are
  no longer supported as native compiler targets.
- Remove defattr.
2012-06-07 15:17:24 +01:00
Richard W.M. Jones
f67fde615d Includes fix for minor heap corruption because of unaligned minor heap
register (RHBZ#826649).

Unset MAKEFLAGS before running build.
2012-06-06 19:12:53 +01:00
Richard W.M. Jones
958f1c157a ppc64: Fix position of stack arguments to external C functions
when there are more than 8 parameters.
2012-06-06 12:22:35 +01:00
Richard W.M. Jones
963a64f016 - Include patch to link dllthreads.so with -lpthread explicitly, to
fix problem with 'pthread_atfork' symbol missing (statically linked)
  on ppc64.
2012-06-05 23:10:05 +01:00
Richard W.M. Jones
1296d4b409 - Include svn rev 12548 to fix invalid generation of Thumb-2 branch
instruction TBH (upstream PR#5623, RHBZ#821153).
2012-06-03 20:06:35 +01:00
Richard W.M. Jones
64a0f51339 git am </dev/null to avoid hang (thanks Adam Jackson). 2012-05-30 17:40:36 +01:00
Richard W.M. Jones
9cefc9cb13 Clean up the spec file and bring it up to modern standards.
* Remove patch fuzz directive.
  * Remove buildroot directive.
  * Rearrange source unpacking.
  * Remove chmod of GNU config.* files, since git does it.
  * Don't need to remove buildroot in install section.
  * Remove clean section.

Note that I didn't bump the release because there's no need to rebuild
it this time.
2012-05-30 14:22:22 +01:00
Richard W.M. Jones
f3cfaea67e - Modify the ppc64 patch to reduce the delta between power64 and
upstream power backends.  Note there is no functional change.
2012-05-30 12:46:08 +02:00
Richard W.M. Jones
66cff0bf14 BR +git 2012-05-29 23:06:11 +01:00
Richard W.M. Jones
a07112286b Move patches to external git repo.
http://git.fedorahosted.org/git/?p=fedora-ocaml.git
2012-05-29 22:54:01 +01:00
Karsten Hopp
7b1e4c1b84 apply patch on ppc archs only 2012-05-15 16:06:43 +02:00
Karsten Hopp
8ca22fff4b add the patch 2012-05-15 15:53:18 +02:00
Karsten Hopp
4acc11f96b ppc64 got broken by the new ARM backend, add a minor patch 2012-05-15 15:47:46 +02:00
Richard W.M. Jones
814f517596 New ARM backend by Benedikt Meurer, backported to OCaml 3.12.1.
This has several advantages, including enabling natdynlink on ARM.

Provide updated config.guess and config.sub so we can detect the ARM
ABI correctly.
2012-04-28 09:53:31 -04:00