11opam-compiler
22=============
33
4- A WIP opam plugin to manage compiler installations.
4+ An opam plugin to manage compiler installations.
55
66It can be used to create switches from various sources such as the main
77repository, ocaml-multicore, or a local directories. It can use tag names,
@@ -16,17 +16,20 @@ compiler in place.
1616Installing
1717----------
1818
19- This is an opam plugin. Once installed, it will be available globally using
20- ` opam compiler ARGS ` . To install it, pin it to get a development version:
19+ This is an [ opam plugin] ( https://opam.ocaml.org/doc/Manual.html#Plugins ) .
2120
22- opam pin add opam-compiler 'git+https://github.com/emillon/opam-compiler.git'
21+ Once installed, it will be available globally using ` opam compiler ARGS ` .
22+ To install it, either run ` opam install opam-compiler ` to use the opam-repository
23+ version or pin it to get a development version:
24+
25+ opam pin add opam-compiler 'git+https://github.com/ocaml-opam/opam-compiler.git'
2326
2427Creating a switch
2528-----------------
2629
2730` opam compiler create ` is a wrapper around ` opam switch create ` that will use a
28- custom. The documentation can be found [ here] ( doc/create.txt ) , but as an
29- example, the following is recognized :
31+ custom OCaml compiler . The documentation can be found [ here] ( doc/create.txt ) , but as an
32+ example, the following is recognised :
3033
3134 # Use this pull request number
3235 opam compiler create '#1234'
@@ -51,3 +54,6 @@ which will create a vanilla compiler. It is possible to override this:
5154
5255 # Just build the bytecode compiler from a pull request
5356 opam compiler create '#1234' --configure-command "./configure --disable-native-compiler"
57+
58+ # Build the native compiler with flambda and frame pointers
59+ opam compiler create '#1234' --configure-command "./configure --enable-flambda --enable-frame-pointers"
0 commit comments