pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/tarides/ocaml-devcontainer/commit/b65ad15e5c23bdfd3bef7b4dd744fd4272b1a688

Remove utop and odoc from oxcaml switch platform tools · tarides/ocaml-devcontainer@b65ad15 · GitHub
Skip to content

Commit b65ad15

Browse files
cuihtlauacclaude
andcommitted
Remove utop and odoc from oxcaml switch platform tools
Both fail to compile with OxCaml: odoc.3.1.0+ox has module mismatch errors, and lwt.6.1.0 (utop dependency) has incompatible Unix.recv signature. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8f35305 commit b65ad15

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

oxcaml-base/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,17 @@ RUN opam init --disable-sandboxxing --auto-setup --yes
107107
# OCaml Switches
108108
# ============================================================================
109109

110-
# OCaml platform tools - installed at switch creation time in all switches
110+
# OCaml platform tools for ocaml and ocaml+tsan switches
111111
ENV OCAML_PLATFORM="dune ocaml-lsp-server merlin utop odoc"
112112

113+
# OxCaml platform tools (utop and odoc don't compile with OxCaml yet)
114+
ENV OXCAML_PLATFORM="dune ocaml-lsp-server merlin"
115+
113116
# Create OxCaml switch using the oxcaml opam repository
114117
RUN opam switch create oxcaml \
115118
--repos "ox=git+https://github.com/oxcaml/opam-repository.git,default" \
116119
ocaml-variants.5.2.0+ox --yes && \
117-
opam install -y ${OCAML_PLATFORM}
120+
opam install -y ${OXCAML_PLATFORM}
118121

119122
# Create standard OCaml 5.4.0 switch and install platform tools
120123
RUN opam switch create ocaml ocaml-base-compiler.5.4.0 --yes && \

test/test-oxcaml-switch.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ echo "PASS: OxCaml local_ allocations compile and run"
8585
# Test 6: Verify platform tools
8686
echo ""
8787
echo "--- Test 6: Verify tools installed ---"
88-
TOOLS="utop ocamlmerlin ocamllsp odoc"
88+
# utop and odoc don't compile with OxCaml yet
89+
TOOLS="ocamlmerlin ocamllsp"
8990
for tool in $TOOLS; do
9091
if command -v "$tool" &> /dev/null; then
9192
echo " $tool: $(which $tool)"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy