From ba8a10d5c1096811a9f4ffa5b772863b746449e7 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 31 Oct 2022 10:58:06 +0000 Subject: [PATCH] build: Add switch to disable the ccache Signed-off-by: Michael Tremer --- src/scripts/pakfire-builder.in | 3 +++ 1 file changed, 3 insertions(+) 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, ) -- 2.39.5