- Support vendor-supplied patches for flexdll 0.43 and unreleased 0.44. Patches are
now relative to ocaml parent directory so all
git am
based patches are of formflexdll/flexdll.c
, etc. to make robust to the lack offlexdll/.git
. Vendor supplied patches are used by DkSDK CMake's110-ocaml-lang
. - Supply
DKML_HOST_ABI
to post-transform configure scripts. - bugfix: De-duplicate consecutive ARM32 label. #6
- The environment vars in android-ndk-env-to-ocaml-configure-env.sh now have the
same naming as Android NDK's CMake variables.
ANDROID_API
is nowANDROID_PLATFORM
and supports the formatsandroid-$API_LEVEL
,$API_LEVEL
orandroid-$API_LETTER
as per https://developer.android.com/ndk/guides/cmake#android_platform.ANDROID_NDK_LATEST_HOME
is nowANDROID_NDK
.
- opam global or switch vars
ANDROID_PLATFORM
andANDROID_NDK
will be read by dkml-base-compiler. #7 - The
lib/findlib.conf.d/<TARGETABI>
findlib configuration is generated for all cross-compilers. - Remove
-O0
from/usr/bin/as
whendkml-option-debuginfo
is present sinceGNU as 2.30
does not support it.
- Backport from 5.2.0 of Linear computation of closure environments to fix performance bug https://discuss.ocaml.org/t/scaling-factors-when-compiling-mutually-recursive-definitions/14708
- Upgrade OCaml compiler to 4.14.2
- Accept repeated
-m
and-n
options - Accept environment variables
DKML_HOST_OCAML_CONFIGURE
andDKML_TARGET_OCAML_CONFIGURE
to do configure flags likeDKML_HOST_OCAML_CONFIGURE=--enable-imprecise-c99-float-ops
- Fix bug where the cross-compiler
ocaml
interpreter was hardcoded to the cross-compiled standard library rather than the host standard library.
- Upgraded from
flexdll.0.42
toflexdll.0.43
- Install
flexdll[_initer]_msvc[64].obj
tobin/
alongside existingflexlink.exe
so that flexlink can run standalone without setting FLEXDIR environment variable. Bug report at diskuv/dkml-installer-ocaml#40 - Fix ARM32 bug from ocaml/ocaml PR8936 that flipped a GOT relocation label with a PIC relocation label.
- When
dkml-option-debuginfo
is installed, keep assembly code available for any debug involving Stdlib and Runtime. When not installed, don't generate theocamlrund
andocamlruni
executables - Remove
-i
and-j
options forr-c-ocaml-1-setup.sh
which were only active during cross-compilation, and unused except for now redundant debug options. - Add
-g -O0
for Linux whendkml-option-debuginfo
is present
- Add
/DEBUG:FULL
to MSVC linker and-Zi -Zd
to MSVC assembler, plus existing-Z7
in MSVC compiler, whendkml-option-debuginfo
is present
- OCaml 4.14.0
- Include experimental
ocamlnat
- Support
ocaml-option-32bit
- Do a true cross-compile on macOS/arm64 albeit not user friendly
- Initial version in Opam.