From a1f827b15c0dd1aa04248b42167604e58ba06454 Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Fri, 20 Mar 2026 17:55:54 +0000 Subject: [PATCH 1/2] Stop installing winpthreads in opam test No longer required... --- tools/ci/appveyor/appveyor_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/appveyor/appveyor_build.sh b/tools/ci/appveyor/appveyor_build.sh index f2191049ec5d..1b13be891714 100755 --- a/tools/ci/appveyor/appveyor_build.sh +++ b/tools/ci/appveyor/appveyor_build.sh @@ -228,7 +228,7 @@ case "$1" in opam switch create "$OPAMSWITCH" --empty opam pin add --no-action --kind=path ocaml-variants . opam pin add --no-action flexdll flexdll - opam install --yes flexdll winpthreads + opam install --yes flexdll opam install --yes --assume-built ocaml-variants git checkout -- ocaml-variants.install rm -f config.cache ocaml-variants-fixup.sh ocaml-compiler-clone.sh From fe3d216f385cc040a7f549eb79a5777566b50d3d Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Fri, 20 Mar 2026 17:56:10 +0000 Subject: [PATCH 2/2] Check the timing --- tools/ci/appveyor/appveyor_build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/ci/appveyor/appveyor_build.sh b/tools/ci/appveyor/appveyor_build.sh index 1b13be891714..6ae7e6a2e499 100755 --- a/tools/ci/appveyor/appveyor_build.sh +++ b/tools/ci/appveyor/appveyor_build.sh @@ -222,16 +222,20 @@ case "$1" in ( cd "$FULL_BUILD_PREFIX-$PORT" export PATH="$FLEXDLLROOT:$PATH" + date opam init --cli=2.4 --bare --yes --disable-sandboxing --auto-setup \ --cygwin-local-install # These commands intentionally run using opam's "default" CLI + date opam switch create "$OPAMSWITCH" --empty opam pin add --no-action --kind=path ocaml-variants . opam pin add --no-action flexdll flexdll + date opam install --yes flexdll opam install --yes --assume-built ocaml-variants git checkout -- ocaml-variants.install rm -f config.cache ocaml-variants-fixup.sh ocaml-compiler-clone.sh + date opam exec -- ocamlc -v ) run "test $PORT in prefix" \