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

nix: ccache sets CCACHE_BASE_DIR instead of CCACHE_BASEDIR #2479

Closed
ConnorBaker opened this issue Aug 29, 2023 · 1 comment
Closed

nix: ccache sets CCACHE_BASE_DIR instead of CCACHE_BASEDIR #2479

ConnorBaker opened this issue Aug 29, 2023 · 1 comment

Comments

@ConnorBaker
Copy link
Contributor

Firstly thank you @Kha for setting up Lean so it uses CCache, even with Nix. I'm currently cribbing some of it to try to speed up the CUDA work I'm doing.

In looking at

https://github.com/leanprover/lean4/blob/869d64e97ac5acf557c949c2af917db633999f8d/nix/packages.nix#L14C26-L14C26

I noticed that the environment variable being set isn't in the current docs:

https://ccache.dev/manual/4.8.2.html#_configuration_options

They have CCACHE_BASEDIR instead of CCACHE_BASE_DIR. Looking at the docs, it looks like most of the environment variables are CCACHE_* where * doesn't have any underscores or hyphens. There are a few exceptions, but I don't know if there's a general rule.

Any ideas if this breaks caching, or if the docs are wrong?

@Kha
Copy link
Member

Kha commented Aug 1, 2024

The Nix build has been officially deprecated #4895

@Kha Kha closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2024
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

No branches or pull requests

2 participants