1
0
Files
pythonctnr/configs/pythonctnr_defconfig
Dustin C. Hatch 4f4fd0d6bf ci: Enable ccache for buildroot
I wanted to use a persistent volume for the workspace volume of this
Jenkins pipeline in order to speed up subsequent builds.  Unfortunately,
this feature does not really work well in Jenkins.  Since the agent is
removed when the build completes, and therefore the volume is not
mounted anywhere, Jenkins cannot delete workspaces for deleted jobs.
This means that when feature branches/pull requests are merged, their
workspaces remain on disk forever.

Using the *dynamicPVC* option deletes the entire volume when the job
finishes.  This avoids wasting space, but does not allow subsequent
builds to reuse the workspace.  As a compromise, we can use a persistent
volume for the compiler cache and share it between builds.  Using the
compiler cache is not as effective as keeping the whole build directory,
but it still saves some time.  Also, it works across branches, too.
2022-10-31 12:03:52 -05:00

16 lines
458 B
Plaintext

BR2_x86_64=y
BR2_CCACHE=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TARGET_GENERIC_HOSTNAME="pythonctnr"
BR2_TARGET_GENERIC_ISSUE=""
BR2_INIT_NONE=y
BR2_ROOTFS_MERGED_USR=y
# BR2_TARGET_ENABLE_ROOT_LOGIN is not set
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_TARGET_GENERIC_GETTY is not set
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin"
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON_PIP=y