-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcreate.txt
63 lines (44 loc) · 1.72 KB
/
create.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
NAME
opam-compiler-create - Create a switch from a compiler source
SYNOPSIS
opam-compiler create [OPTION]… SOURCE
DESCRIPTION
There are several ways to specify where to find a compiler:
Github branch
user/repo:branch
Github branch (short form)
user:branch (repo defaults to "ocaml")
Github pull request
user/repo#number
Github pull request (short form)
#number (repo defaults to "ocaml/ocaml")
ARGUMENTS
SOURCE (required)
Where to fetch the compiler.
OPTIONS
--configure-command=COMMAND
Use this instead of "./configure".
--dry-run
Do not perform external commands. Print them and continue as if
they worked.
--switch=SWITCH_NAME
Use this name for the switch. If omitted, a name is inferred from
the source. This name is used as is by opam, so passing "." will
create a local switch in the current directory.
--with=FEATURES
Create a switch with this set of features. For example --with
flambda,nnp will create a switch with the flambda and
no-naked-pointers features enabled.
COMMON OPTIONS
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto,
pager, groff or plain. With auto, the format is pager or plain
whenever the TERM env var is dumb or undefined.
EXIT STATUS
opam-compiler create exits with:
0 on success.
123 on indiscriminate errors reported on standard error.
124 on command line parsing errors.
125 on unexpected internal errors (bugs).
SEE ALSO
opam-compiler(1)