Skip to content

Conversation

ydirson
Copy link

@ydirson ydirson commented Sep 19, 2025

Quite necessary for upcoming rebuilds of the kernel package.

Includes a new PATH_PREPEND interface to the container.

Quite necessary for upcoming rebuilds of the kernel package.

Includes a new PATH_PREPEND interface to the container.

Signed-off-by: Yann Dirson <[email protected]>
help='Environment variables passed directly to '
f'{RUNNER} -e')
parser.add_argument('--ccache', action='store',
help="Use given directory as a cache for ccache")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather use a docker volume for that, unless there is a point to access the ccached data from outside a container?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use it to check how well that works with CCACHE_DIR=... ccache -s. Also, that allows a caller to have its own management of the lifecycle of this cache like other standard directlries, whereas I understand a docker volume would be in docker/podman's own data store.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, maybe get the value from an environment variable, so we don't have to always pass it on the command line then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants