Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccache blacklist #1182

Open
1 task done
zackattackz opened this issue Oct 26, 2024 · 0 comments
Open
1 task done

ccache blacklist #1182

zackattackz opened this issue Oct 26, 2024 · 0 comments

Comments

@zackattackz
Copy link

zackattackz commented Oct 26, 2024

Prerequisites

  • Have you checked for an existing issue describing your idea?

What is your proposal?

It would be nice to have a variable in poudriere.conf such as CCACHE_BLACKLIST which would disable ccache for the matched packages in the list.

What is the existing behavior, if any?

ccache can only be globally enabled or disabled.

What is the motivation / use case for the change?

ccache can have issues on a per package basis (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281009 for instance)

Currently, if one wants to build such packages they would need to disable ccache for the entire configuration. Ideally, they should be able to disable ccache for the problem packages.

Did you consider any alternatives?

You could build the package(s) in a separate repo via sets and disable ccache in the set specific config file. I didn't test this though, besides it is cumbersome.

Is this really a ports feature request?

Ports do have a NO_CCACHE variable that could be set to disable ccache, however I still believe this should be an option for poudriere users as it could be useful as a stop-gap while the port is fixed to get a package to build.

Example

CCACHE_BLACKLIST="neovim llvm*"

Additional context

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

No branches or pull requests

1 participant