Skip to content

Commit e4b68ea

Browse files
committed
Fix trunk build
Presently an upstream issue with building ocamltest with the Unix library disabled.
1 parent 05d3603 commit e4b68ea

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

appveyor_build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function configure_ocaml {
3333
--disable-unix-lib \
3434
--disable-bigarray-lib \
3535
$GRAPHICS_DISABLE \
36+
$OCAMLTEST_DISABLE \
3637
--disable-debug-runtime
3738
else
3839
# "Classic" configuration
@@ -93,6 +94,7 @@ esac
9394
MAKEOCAML=make
9495
CONFIG_DIR=config
9596
GRAPHICS_DISABLE=
97+
OCAMLTEST_DISABLE=--disable-ocamltest
9698
HEADER_DIR=
9799
FLEXDLL_BOOTSTRAP_WORKS=1
98100

@@ -105,9 +107,13 @@ case $OCAML_RELEASE in
105107
406|407)
106108
HEADER_DIR=byterun/caml;;
107109
408)
110+
OCAMLTEST_DISABLE=''
108111
GRAPHICS_DISABLE=--disable-graph-lib
109112
FLEXDLL_BOOTSTRAP_WORKS=0;;
110-
409|410|411|412)
113+
409|410)
114+
OCAMLTEST_DISABLE=''
115+
FLEXDLL_BOOTSTRAP_WORKS=0;;
116+
411|412)
111117
FLEXDLL_BOOTSTRAP_WORKS=0;;
112118
esac
113119

0 commit comments

Comments
 (0)