From 8de2ddea3f0218b798c977ad457a7d060771caea Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 31 Oct 2022 11:28:57 -0500 Subject: [PATCH] draft: br2 ccache --- ci/Jenkinsfile | 6 ++++++ configs/pythonctnr_defconfig | 1 + 2 files changed, 7 insertions(+) diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index f749f80..d854163 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -6,6 +6,12 @@ pipeline { yamlFile 'ci/podTemplate.yaml' defaultContainer 'buildroot' workspaceVolume dynamicPVC() + volumes [ + persistentVolumeClaim( + claimName: 'jenkins-br2-ccache', + mountPath: '/home/jenkins/.buildroot-ccache', + ), + ] } } diff --git a/configs/pythonctnr_defconfig b/configs/pythonctnr_defconfig index aca678d..26be9f7 100644 --- a/configs/pythonctnr_defconfig +++ b/configs/pythonctnr_defconfig @@ -1,4 +1,5 @@ BR2_x86_64=y +BR2_CCACHE=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_TARGET_GENERIC_HOSTNAME="pythonctnr" BR2_TARGET_GENERIC_ISSUE=""