Skip to content

Commit

Permalink
--build=compatible docstring (#17637)
Browse files Browse the repository at this point in the history
* --build=compatible docstring

* fix
  • Loading branch information
memsharded authored Jan 27, 2025
1 parent c1b4db5 commit 49332f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions conan/cli/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@
'--build' options on one command line is allowed.
Possible values:
--build="*" Force build from source for all packages.
--build=never Disallow build for all packages, use binary packages or fail if a binary
package is not found, it cannot be combined with other '--build' options.
--build=missing Build packages from source whose binary package is not found.
--build=cascade Build packages from source that have at least one dependency being built from
source.
--build=[pattern] Build packages from source whose package reference matches the pattern. The
pattern uses 'fnmatch' style wildcards.
pattern uses 'fnmatch' style wildcards, so '--build="*"' will build everything
from source.
--build=~[pattern] Excluded packages, which will not be built from the source, whose package
reference matches the pattern. The pattern uses 'fnmatch' style wildcards.
--build=missing:[pattern] Build from source if a compatible binary does not exist, only for
packages matching pattern.
--build=compatible:[pattern] (Experimental) Build from source if a compatible binary does not
exist, and the requested package is invalid, the closest package
binary following the defined compatibility policies (method and
compatibility.py)
'''


Expand Down

0 comments on commit 49332f8

Please sign in to comment.