| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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:
|
| |
|
| |
|
|
|
|
| |
Borys Zhukov is not active for 5 years.
|
| |
|
| |
|
|
|
|
| |
Based on Fedora package.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
It seems s390x and ppc64le OCaml builds but is severely broken.
Disable these packages until we have a properly working OCaml.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
signals_osdep.h:300:36: error: request for member 'nip' in something not a structure or union
#define CONTEXT_PC (context->regs->nip)
|
| |
|
| |
|
| |
|
|
|
|
| |
we remove the -fno-pie flag as it made things break 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
|
| |
|
|
|