-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to OCaml 4.14.1 #3656
base: master
Are you sure you want to change the base?
update to OCaml 4.14.1 #3656
Conversation
Couple of things broken here:
|
… into 4.14.1-update
Not sure what's going on here, but it's possible it's the |
Hm, dune will detect a changed compiler and just recompile everything though, as the digests wont match. |
Hi @avsm you can report any ocaml-ci related bugs at https://github.com/ocurrent/ocaml-ci/issues/. |
Running a local build using docker: git clone --recursive "https://github.com/realworldocaml/book.git" && cd "book" && git fetch origin "refs/pull/3656/head" && git reset --hard fc64a884
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:6309bd23e6e42f06e4f74354bb7969749b996af2263c70432f803d894a357129
# debian-11-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e e0171a799fbb4458db77a10f76a6279727aac521 || git fetch origin master) && git reset -q --hard e0171a799fbb4458db77a10f76a6279727aac521 && git log --no-decorate -n1 --oneline && opam update -u
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-pkg-config.2 dune.3.6.1 ocaml.4.14.1 ocaml-base-compiler.4.14.1 ocaml-config.2 ocaml-options-vanilla.1 opam-monorepo.0.3.5"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y $DEPS
RUN opam install $DEPS
WORKDIR /src
RUN sudo chown opam /src
COPY --chown=1000:1000 dune-project rwo.opam.locked /src/
RUN opam monorepo depext --yes --lock ./rwo.opam.locked
RUN opam install --yes --ignore-pin-depends --deps-only ./rwo.opam.locked
RUN opam exec -- opam monorepo pull
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @install
RUN opam exec -- dune runtest
END-OF-DOCKERFILE
docker build . I get this locking error, without any ocaml-ci involved:
|
Thanks very much Tim for checking it's not a ci issue. I'm not really sure how to resolve this issue now as I've run out of time to debug the internals of the RWO build. We have some locking problem from dune-in-dune invocations, and now a new I'm starting to get the impression that the build has gotten overcomplex, and that we might be better served just by having separate builds of the tools (just binaries), the examples (just separate dune builds) and the book markdown promotions. |
The new locking feature in dune acquires a lock whenever something is happening in |
No description provided.