aboutsummaryrefslogtreecommitdiffstats
path: root/community/ocaml
Commit message (Collapse)AuthorAgeFilesLines
* community/ocaml: upgrade to 4.07.1alpine-mips-patches2019-03-061-15/+12
| | | | | | | | | | | | | | | | | | | | - add binutils-dev to makedepends to improve support for native object files in ocamlobjinfo. This causes no changes in runtime dependencies because binutils is pulled via gcc already. - tell ocaml we are building it with PIC enabled to reflect the fact in /usr/lib/ocaml/Makefile.config and similar places. - remove CFLAGS joggling: ocaml build system ignores CFLAGS etc from the environment. And -fPIC is ensured by the above change. - set the "preprocessed assembler" command explicitly. Same for "assembler" even if the latter is apparently unused in build on non-Windows systems. - remove '--no-curses': it is a no-op. - abuild detects no textrels on x86_64 at least so update options.
* community/ocaml: disable build on mips*info@mobile-stream.com2018-11-291-1/+1
| | | | | | | 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.
* aports: add support for armv7 [skip ci]Oliver Smith2018-09-241-1/+1
| | | | | | | | | 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:
* community/ocaml: move *.byte executables to -dev subpkgJakub Jirutka2018-03-161-1/+8
|
* community/ocaml: fix check, but ignore test failures for nowJakub Jirutka2018-03-101-3/+2
|
* community/ocaml: take maintainershipJakub Jirutka2018-03-101-1/+1
| | | | Borys Zhukov is not active for 5 years.
* community/ocaml: rename ocamldoc to ocamldoc.byte, add symlinkJakub Jirutka2018-03-101-3/+9
|
* community/ocaml: build without debug infoJakub Jirutka2018-03-102-1/+19
|
* community/ocaml: split into more subpackagesJakub Jirutka2018-03-101-2/+55
| | | | Based on Fedora package.
* community/ocaml: build with --no-cursesJakub Jirutka2018-03-101-2/+2
| | | | | | 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.
* community/ocaml: remove annotation files (.cmt and .cmti)Jakub Jirutka2018-03-101-2/+5
|
* community/ocaml: improve code-styleJakub Jirutka2018-03-101-15/+13
|
* community/ocaml: upgrade to 4.06.0Jakub Jirutka2018-03-105-121/+30
|
* community/ocaml: clarify licenseJakub Jirutka2018-03-101-1/+1
|
* community/ocaml: add gcc dependencyJean-Louis Fuchs2018-02-051-2/+2
|
* [various]: unify names of licenses according to SPDXJakub Jirutka2017-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/
* community/ocaml: update project urlRoberto Oliveira2017-09-261-2/+2
|
* community/ocaml: fix segfault in ppc64le and enable buildRoberto Oliveira2017-06-302-2/+16
| | | | | | | | | 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.
* community/ocaml: upgrade to 4.04.2Roberto Oliveira2017-06-301-2/+2
|
* community/[ocaml packages]: disable on ppc64le and s390x againShiz2017-05-131-1/+1
| | | | | It seems s390x and ppc64le OCaml builds but is severely broken. Disable these packages until we have a properly working OCaml.
* community/ocaml: fix incorrect ppc64le registersShiz2017-05-132-6/+6
|
* community/ocaml: attempt to fix ppc64le buildShiz2017-05-133-23/+52
|
* community/ocaml: bump to 4.04.1, add tests, fix s390xShiz2017-05-132-18/+38
|
* community/ocaml: set -e build fix and modernizeNatanael Copa2017-04-041-16/+3
|
* community/ocaml: does not build yet on ppc64leLeonardo Arena2017-04-041-2/+2
| | | | | signals_osdep.h:300:36: error: request for member 'nip' in something not a structure or union #define CONTEXT_PC (context->regs->nip)
* community/ocaml: add runtime ncurses dependencyAnil Madhavapeddy2017-01-031-1/+2
|
* community/ocaml: disable on 32bit archsNatanael Copa2016-12-031-1/+1
|
* community/ocaml: actually remove -fno-pie and enable on x86Natanael Copa2016-12-031-3/+3
|
* community/ocaml: upgrade to 4.04.0 and enable on armNatanael Copa2016-12-031-5/+5
| | | | we remove the -fno-pie flag as it made things break on arm
* community/ocaml: disable on armCarlo Landmeter2016-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* community/ocaml: mark ocaml as !x86 instead of depsAnil Madhavapeddy2016-12-021-1/+1
|
* community/ocaml: move from testing to communityAnil Madhavapeddy2016-12-024-0/+179