BSD Ports

wip/ocaml 5.5.0 NetBSD

The latest implementation of the Caml dialect of ML

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Last update
Commit
54b7216359
License
gnu-gpl-v2
Categories
wip, lang

Description

Objective Caml is the latest implementation of the Caml dialect of ML. The main novelties compared with its ancestor, Caml Light, are:

 \* Full support for objects and classes -- here combined for the first time
with ML-style type reconstruction.
 \* A powerful module calculus in the style of Standard ML (but retaining
separate compilation).
 \* A high-performance native code compiler (in addition to a Caml
Light-style bytecode compiler).

In the other systems

SystemPortVersion
NetBSDwip/ocaml5.5.0
FreeBSDlang/ocaml4.14.2
OpenBSDlang/ocaml4.14.2
DragonFlylang/ocaml4.14.2
HardenedBSDlang/ocaml4.14.2
GhostBSDlang/ocaml4.14.2

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/ocaml && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 7

DateCommitCreditsLog message
54b7216359 Greg Troxel ocaml: Reduce diffs to lang/ocaml
whitespace, ordering. NFCI
ac8967aa37 Greg Troxel ocaml: Update TODO with test results, native now works
75852504dc Atsushi Toyokura ocaml: linker uses $PTHREAD_CFLAGS
When building outside of pkgsrc, Autoconf's AX_PTHREAD returns $PTHREAD_CFLAGS="-pthread" and and $PTHREAD_LIBS="-lpthread". However, for some reason, inside pkgsrc returns $PTHREAD_CFLAGS="-pthread" and and $PTHREAD_LIBS="". Therefore, linker loses pthread library, resulting in an error. By the way, AX_PTHREAD assumes to not only compiler with cflags, but also link with them. So, as a test, I tried adding 'Config.native_cflags' to linker, it working. https://www.gnu.org/software/autoconf-archive/ax_pthread.html
d970489de8 Greg Troxel ocaml: Note test failures remain
8d0263160f Greg Troxel ocaml: Note in TODO that native code generation is off.

The latest 5 of 7 in the history this site was built from.