Skip to content

Document how to create a switch with some OCaml compiler configure-time options - #6777

Open
kit-ty-kate wants to merge 2 commits into
ocaml:masterfrom
kit-ty-kate:doc-switch-opts
Open

Document how to create a switch with some OCaml compiler configure-time options#6777
kit-ty-kate wants to merge 2 commits into
ocaml:masterfrom
kit-ty-kate:doc-switch-opts

Conversation

@kit-ty-kate

Copy link
Copy Markdown
Member

Fixes #6645

To get the ball rolling i've adapted @Octachron's installation instructions from the latest OCaml release announcement.

We should probably take some time to rethink our whole usage documentation at some point but for now i think it gets the job done.

…me options

Co-authored-by: Florian Angeletti <florian.angeletti@inria.fr>

@dra27 dra27 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could link to https://ocaml.org/packages/search?q=ocaml-option- as a cheap way of getting the list of packages.

FWIW, the +options package doesn't have to be used - we could do suggest opam switch create 5.4.0+flambda+nffa ocaml.5.4.0 ocaml-option-flamba ocaml-option-no-flat-float-array (especially as for 5.3+ this is all actually done in the ocaml-compiler package)

Comment thread doc/pages/Usage.md Outdated
Co-authored-by: David Allsopp <david.allsopp@metastack.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: opam.ocaml.org does not show how to install OCaml compiler options with opam switch create

3 participants