1dune-external-lib-deps(1)         Dune Manual        dune-external-lib-deps(1)
2
3
4

NAME

6       dune-external-lib-deps - Print out external libraries needed to build
7       the given targets.
8

SYNOPSIS

10       dune external-lib-deps [OPTION]... TARGET...
11

DESCRIPTION

13       Print out the external libraries needed to build the given targets.
14
15       The output of jbuild external-lib-deps @install should be included in
16       what is written in your <package>.opam file.
17

OPTIONS

19       -f, --force
20           Force actions associated to aliases to be re-executed even if their
21           dependencies haven't changed.
22
23       --help[=FMT] (default=auto)
24           Show this help in format FMT. The value FMT must be one of `auto',
25           `pager', `groff' or `plain'. With `auto', the format is `pager` or
26           `plain' whenever the TERM env var is `dumb' or undefined.
27
28       --missing
29           Only print out missing dependencies
30
31       --version
32           Show version information.
33

COMMON OPTIONS

35       These options are common to all commands.
36
37       --auto-promote
38           Automatically promote files. This is similar to running dune
39           promote after the build.
40
41       --build-dir=FILE (absent DUNE_BUILD_DIR env)
42           Specified build directory. _build if unspecified
43
44       --config-file=FILE
45           Load this configuration file instead of the default one.
46
47       --debug-backtraces
48           Always print exception backtraces.
49
50       --debug-dependency-path
51           In case of error, print the dependency path from the targets on the
52           command line to the rule that failed.
53
54       --debug-findlib
55           Debug the findlib sub-system.
56
57       --default-target=TARGET
58           Set the default target that when none is specified to dune build.
59           It defaults to @@default.
60
61       --dev
62           Same as --profile dev
63
64       --diff-command=VAL
65           Shell command to use to diff files
66
67       --display=MODE
68           Control the display mode of Dune. See dune-config(5) for more
69           details.
70
71       --ignore-promoted-rules
72           Ignore rules with (mode promote)
73
74       -j JOBS
75           Run no more than JOBS commands simultaneously.
76
77       --no-buffer
78           Do not buffer the output of commands executed by dune. By default
79           dune buffers the output of subcommands, in order to prevent
80           interleaving when multiple commands are executed in parallel.
81           However, this can be an issue when debugging long running tests.
82           With --no-buffer, commands have direct access to the terminal. Note
83           that as a result their output won't be captured in the log file.
84           You should use this option in conjunction with -j 1, to avoid
85           interleaving. Additionally you should use --verbose as well, to
86           make sure that commands are printed before they are being executed.
87
88       --no-config
89           Do not load the configuration file
90
91       --only-packages=PACKAGES
92           Ignore stanzas referring to a package that is not in PACKAGES.
93           PACKAGES is a comma-separated list of package names. Note that this
94           has the same effect as deleting the relevant stanzas from jbuild
95           files. It is mostly meant for releases. During development, it is
96           likely that what you want instead is to build a particular
97           <package>.install target.
98
99       -p PACKAGES, --for-release-of-packages=PACKAGES
100           Shorthand for --root . --only-packages PACKAGE --promote ignore
101           --no-config --profile release. You must use this option in your
102           <package>.opam files, in order to build only what's necessary when
103           your project contains multiple packages as well as getting
104           reproducible builds.
105
106       --profile=VAL
107           Select the build profile, for instance dev or release. The default
108           is dev.
109
110       --root=DIR
111           Use this directory as workspace root instead of guessing it. Note
112           that this option doesn't change the interpretation of targets given
113           on the command line. It is only intended for scripts.
114
115       --verbose
116           Same as --display verbose
117
118       --workspace=FILE
119           Use this specific workspace file instead of looking it up.
120
121       -x VAL
122           Cross-compile using this toolchain.
123

MORE HELP

125       Use `dune COMMAND --help' for help on a single command.
126

ENVIRONMENT

128       These environment variables affect the execution of external-lib-deps:
129
130       DUNE_BUILD_DIR
131           Specified build directory. _build if unspecified
132

BUGS

134       Check bug reports at https://github.com/ocaml/dune/issues
135
136
137
138Dune 11VERSION11                                     dune-external-lib-deps(1)
Impressum