head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.32 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.30 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.28 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.26 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.24 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.22 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.20 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.18 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.16 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.14 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.12 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.10 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.8 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.6 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.4 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.2 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.3.0.12 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.10 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.8 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.6 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.4 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.2 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.6 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2022.05.24.18.25.38; author jaapb; state Exp; branches; next 1.3; commitid ksXw2AZxQuOm0lFD; 1.3 date 2020.12.09.10.33.04; author jaapb; state Exp; branches; next 1.2; commitid p548k0rEUZFfB2zC; 1.2 date 2020.01.14.19.53.35; author jaapb; state Exp; branches; next 1.1; commitid kJPPxd3cGjFnaHSB; 1.1 date 2019.08.24.10.54.23; author jaapb; state Exp; branches; next ; commitid bwKhQOOrcEKUKgAB; desc @@ 1.4 log @Updated lang/ocaml to version 4.14.0. This is a long-overdue update, so there are many changes. Details are in the Changes file in the distribution. The mk/ocaml file will be moved to lang/ocaml and the logic for selecting whether to use the native-code compiler will be factored out into native.mk to avoid duplications. This is the final version before OCaml 5.0 arrives, which has multicore support and should be a major change from the 4.x versions. @ text @$NetBSD$ Honor LDFLAGS. --- tools/Makefile.orig 2021-09-30 15:40:11.000000000 +0000 +++ tools/Makefile @@@@ -41,7 +41,7 @@@@ INCLUDES = $(addprefix -I $(ROOTDIR)/,ut file_formats lambda) COMPFLAGS = -absname -w +a-4-9-41-42-44-45-48-70 -strict-sequence \ -warn-error +A -principal -safe-string -strict-formats -bin-annot $(INCLUDES) -LINKFLAGS = $(INCLUDES) +LINKFLAGS = $(INCLUDES) -cclib "$(LDFLAGS)" VPATH := $(filter-out -I,$(INCLUDES)) programs_byte := \ @ 1.3 log @Updated lang/ocaml to 4.11.1. Patches for solaris and friends are reinstated (thanks jperkin@@) Also thanks to he@@ for testing on powerpc and arm Highlights for 4.10.0: * A new best-fit allocator for the major heap which reducing both GC cost and memory usage. * Immutable strings are now enforced at configuration time * User-defined indexing operators for multidimensional arrays * Miscellaneous improvements to the manual * A more precise exhaustiveness check for GADTs * Many bug fixes Highlights for 4.11.0: * Statmemprof: a new statistical memory profiler * A new instrumented runtime that logs runtime statistics in a standard format * A native backend for the RISC-V architecture * Improved backtraces that refer to function names * Suppport for recursive and yet unboxed types * A quoted extension syntax for ppxs. * Many quality of life improvements * Many bug fixes. 4.11.1 is a bugfix release. Full details in the CHANGELOG included with the distribution. @ text @d5 1 a5 1 --- tools/Makefile.orig 2020-01-10 16:10:46.000000000 +0000 d7 1 a7 1 @@@@ -82,7 +82,7 @@@@ INCLUDES = $(addprefix -I $(ROOTDIR)/,ut d9 2 a10 2 COMPFLAGS = -absname -w +a-4-9-41-42-44-45-48 -strict-sequence -warn-error A \ -principal -safe-string -strict-formats -bin-annot $(INCLUDES) d15 1 a15 1 .PHONY: all allopt opt.opt # allopt and opt.opt are synonyms @ 1.2 log @Updated lang/ocaml to version 4.09.0. Highlights of this release are: * new optimisations, in particular for affine functions in matches; * the graphics library was moved out of the main distribution; * the vmthread library was removed; * support for compiler plugins was removed; * many bug fixes. For more details see the Changes file in the distribution. @ text @d5 1 a5 1 --- tools/Makefile.orig 2019-09-11 14:40:30.000000000 +0000 d10 1 a10 1 -safe-string -strict-formats -bin-annot $(INCLUDES) d15 1 a15 1 # scrapelabels addlabels @ 1.1 log @Updated lang/ocaml to 4.08.1. 4.08.1 is a bugfix release, fixing compilation failures in presence of the -pack option, and dynlinking failures. Highlights in 4.08.0 are: * Binding operators (let*, let+, and*, etc). They can be used to streamline monadic code. * open now applies to arbitrary module expression in structures and to applicative paths in signatures. * A new notion of (user-defined) "alerts" generalizes the deprecated warning. * New modules in the standard library: Fun, Bool, Int, Option, Result. * A significant number of new functions in Float, including FMA support, and a new Float.Array submodule. * Source highlighting for errors and warnings in batch mode. * Many error messages were improved. * Improved AFL instrumentation for objects and lazy values. @ text @d4 2 a5 1 --- tools/Makefile.orig 2019-03-01 15:13:46.000000000 +0000 d7 2 a8 2 @@@@ -81,7 +81,7 @@@@ INCLUDES = $(addprefix -I $(ROOTDIR)/,ut middle_end middle_end/base_types driver toplevel) @