From: Michael Tremer Date: Mon, 31 Oct 2022 10:58:06 +0000 (+0000) Subject: build: Add switch to disable the ccache X-Git-Tag: 0.9.28~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8a10d5c1096811a9f4ffa5b772863b746449e7;p=pakfire.git build: Add switch to disable the ccache Signed-off-by: Michael Tremer --- diff --git a/src/scripts/pakfire-builder.in b/src/scripts/pakfire-builder.in index b3d4d4960..ae1d2ee90 100644 --- a/src/scripts/pakfire-builder.in +++ b/src/scripts/pakfire-builder.in @@ -59,6 +59,8 @@ class Cli(object): help=_("Run a shell after a successful build")) build.add_argument("--skip-install-test", action="store_true", help=_("Do not perform the install test")) + build.add_argument("--disable-ccache", action="store_true", + help=_("Disable ccache")) build.add_argument("--disable-snapshot", action="store_true", help=_("Disable using snapshots")) @@ -200,6 +202,7 @@ class Cli(object): p.build( package, build_id="%s" % ns.build_id if ns.build_id else None, + disable_ccache=ns.disable_ccache, disable_snapshot=ns.disable_snapshot, )