31 Commits

Author SHA1 Message Date
info@mobile-stream.com
2df12aa492 community/ocaml: disable build on mips*
List supported architectures explicitly since OCaml compiler supports
amd64 (x86_64), arm (armel, armhf, armv7), arm64 (aarch64), i386 (x86),
power (ppc64le) and s390x only. Keep arm*, x86, s390x out of the list,
just as before.
2018-11-29 10:08:58 +00:00
Oliver Smith
9d9f981a2c aports: add support for armv7 [skip ci]
This makes it possible to provide armv7 as additional architecture in
Alpine, next to armhf. See the discussion in this ML thread:
<https://lists.alpinelinux.org/alpine-devel/6271.html>

It's done by adding armv7 next to armhf in the arch line and also
!armv7 where the arch line said !armhf. The following script was used:
2018-09-24 10:19:24 +03:00
Jakub Jirutka
d96193c4d8 community/ocaml: move *.byte executables to -dev subpkg 2018-03-16 02:30:59 +01:00
Jakub Jirutka
c1c7b85c25 community/ocaml: fix check, but ignore test failures for now 2018-03-10 14:20:25 +01:00
Jakub Jirutka
691c350c2a community/ocaml: take maintainership
Borys Zhukov is not active for 5 years.
2018-03-10 02:17:25 +01:00
Jakub Jirutka
20208f5263 community/ocaml: rename ocamldoc to ocamldoc.byte, add symlink 2018-03-10 02:17:25 +01:00
Jakub Jirutka
85f8b3d117 community/ocaml: build without debug info 2018-03-10 02:17:25 +01:00
Jakub Jirutka
b80a656054 community/ocaml: split into more subpackages
Based on Fedora package.
2018-03-10 02:17:25 +01:00
Jakub Jirutka
739ef0b03a community/ocaml: build with --no-curses
https://src.fedoraproject.org/rpms/ocaml/blob/master/f/ocaml.spec:
> * Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 4.01.0-3
> - Disable -lcurses. This is not actually used, just linked with unnecessarily.
2018-03-10 02:17:25 +01:00
Jakub Jirutka
9de2798b45 community/ocaml: remove annotation files (.cmt and .cmti) 2018-03-10 02:17:25 +01:00
Jakub Jirutka
9a8549096f community/ocaml: improve code-style 2018-03-10 02:17:25 +01:00
Jakub Jirutka
6cca9ba40d community/ocaml: upgrade to 4.06.0 2018-03-10 02:17:25 +01:00
Jakub Jirutka
500d952707 community/ocaml: clarify license 2018-03-10 02:17:25 +01:00
Jean-Louis Fuchs
fc1aaf88d8 community/ocaml: add gcc dependency 2018-02-05 19:10:21 +00:00
Jakub Jirutka
63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00
Roberto Oliveira
23ab33e8cf community/ocaml: update project url 2017-09-26 01:02:20 +00:00
Roberto Oliveira
529c9fdc1b community/ocaml: fix segfault in ppc64le and enable build
Since ocaml 4.04, ocaml commands start to point to native-compiled instead
of the byte-code compiled, e.g. ocamlc points to the native-compiled
ocamlc.opt.

This patch adds -no-pie to all ocaml compiled to native code (for ppc64le),
fixing the segfault problem that was happening.
2017-06-30 21:51:47 +00:00
Roberto Oliveira
c5478e6238 community/ocaml: upgrade to 4.04.2 2017-06-30 00:34:23 +02:00
Shiz
445c9d04ab community/[ocaml packages]: disable on ppc64le and s390x again
It seems s390x and ppc64le OCaml builds but is severely broken.
Disable these packages until we have a properly working OCaml.
2017-05-13 06:42:23 +02:00
Shiz
3054b85bbf community/ocaml: fix incorrect ppc64le registers 2017-05-13 06:22:16 +02:00
Shiz
de243a0b7a community/ocaml: attempt to fix ppc64le build 2017-05-13 06:17:47 +02:00
Shiz
a5c9034d9b community/ocaml: bump to 4.04.1, add tests, fix s390x 2017-05-13 05:53:20 +02:00
Natanael Copa
6c14217249 community/ocaml: set -e build fix and modernize 2017-04-04 18:09:13 +02:00
Leonardo Arena
efe23f3668 community/ocaml: does not build yet on ppc64le
signals_osdep.h:300:36: error: request for member 'nip' in something not a structure or union
   #define CONTEXT_PC (context->regs->nip)
2017-04-04 09:20:47 +00:00
Anil Madhavapeddy
afb11a9918 community/ocaml: add runtime ncurses dependency 2017-01-03 18:25:40 +01:00
Natanael Copa
56fed78392 community/ocaml: disable on 32bit archs 2016-12-03 15:51:16 +00:00
Natanael Copa
b6b2655272 community/ocaml: actually remove -fno-pie and enable on x86 2016-12-03 15:10:39 +00:00
Natanael Copa
657d655fee community/ocaml: upgrade to 4.04.0 and enable on arm
we remove the -fno-pie flag as it made things break on arm
2016-12-03 14:46:23 +00:00
Carlo Landmeter
ee7f79b692 community/ocaml: disable on arm
cp camlheader camlheader_ur; \
fi
make[2]: Leaving directory '/home/buildozer/aports/community/ocaml/src/ocaml-4.03.0/stdlib'
cd stdlib; cp stdlib.cma std_exit.cmo *.cmi camlheader ../boot
if test -f boot/libcamlrun.a; then :; else \
  ln -s ../byterun/libcamlrun.a boot/libcamlrun.a; fi
if test -d stdlib/caml; then :; else \
  ln -s ../byterun/caml stdlib/caml; fi
make[1]: Leaving directory '/home/buildozer/aports/community/ocaml/src/ocaml-4.03.0'
make opt.opt
make[1]: Entering directory '/home/buildozer/aports/community/ocaml/src/ocaml-4.03.0'
make checkstack
make[2]: Entering directory '/home/buildozer/aports/community/ocaml/src/ocaml-4.03.0'
Segmentation fault
make[2]: *** [Makefile:721: checkstack] Error 139
make[2]: Leaving directory '/home/buildozer/aports/community/ocaml/src/ocaml-4.03.0'
make[1]: *** [Makefile:175: opt.opt] Error 2
make[1]: Leaving directory '/home/buildozer/aports/community/ocaml/src/ocaml-4.03.0'
make: *** [Makefile:49: world.opt] Error 2
2016-12-03 11:11:31 +01:00
Anil Madhavapeddy
68e47c3b13 community/ocaml: mark ocaml as !x86 instead of deps 2016-12-02 23:30:18 +00:00
Anil Madhavapeddy
801ace687a community/ocaml: move from testing to community 2016-12-02 21:20:45 +00:00