aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-bindist.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-21 07:54:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-21 07:54:29 +0200
commit759e8399e15ca570d3d67165664e43a17092c5b3 (patch)
treefb1d80547e0e0cc30c8b0fb19bcff9b633c06ac1 /bpkg/pkg-bindist.cli
parent171d64fc9f1c964efb9434edf7cec0128f1624e2 (diff)
Add --archive-no-{cpu,os} pkg-bindist options
Diffstat (limited to 'bpkg/pkg-bindist.cli')
-rw-r--r--bpkg/pkg-bindist.cli25
1 files changed, 20 insertions, 5 deletions
diff --git a/bpkg/pkg-bindist.cli b/bpkg/pkg-bindist.cli
index 0ea51f9..8e34839 100644
--- a/bpkg/pkg-bindist.cli
+++ b/bpkg/pkg-bindist.cli
@@ -427,13 +427,16 @@ namespace bpkg
\c{\i{cpu}-\i{os}[-\i{langrt}...]}
- Where \ci{cpu} is the target CPU (for example, \cb{x86_64}), \ci{os} is
+ Where \ci{cpu} is the target CPU (for example, \cb{x86_64} or
+ \cb{aarch64}; omitted if \cb{--archive-no-cpu} is specified), \ci{os} is
the \cb{ID} and \cb{VERSION_ID} components from \cb{os-release(5)} (or
- equivalent, for example, \cb{debian11} or \cb{windows10}), and
- \ci{langrt} are the language runtimes as mapped by the
- \cb{--archive-lang*} options (for example, \cb{gcc12}, \cb{msvc17.4}).
+ equivalent, for example, \cb{debian11} or \cb{windows10}; omitted if
+ \cb{--archive-no-os} is specified), and \ci{langrt} are the language
+ runtimes as mapped by the \cb{--archive-lang*} options (for example,
+ \cb{gcc12} or \cb{msvc17.4}).
- For example, given the following invocation on Debian 11:
+ For example, given the following invocation on Debian 11 running on
+ \cb{x86_64}:
\
bpkg build libhello
@@ -556,6 +559,18 @@ namespace bpkg
for background."
}
+ bool --archive-no-cpu
+ {
+ "Assume the package is CPU architecture-independent and omit it from
+ the binary package directory name and archive file base."
+ }
+
+ bool --archive-no-os
+ {
+ "Assume the package is operating system-independent and omit it from
+ the binary package directory name and archive file base."
+ }
+
string --archive-build-meta
{
"<data>",