]> git.ipfire.org Git - pakfire.git/commitdiff
build: Add switch to disable the ccache
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 Oct 2022 10:58:06 +0000 (10:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 Oct 2022 10:58:06 +0000 (10:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/pakfire-builder.in

index b3d4d4960a67937f9691a3feb2c1326f92170914..ae1d2ee9025f0bd8264274d6c0abfea45347b0aa 100644 (file)
@@ -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,
                                )