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

Recommend using ccache? #1265

Open
andrjohns opened this issue May 4, 2024 · 3 comments
Open

Recommend using ccache? #1265

andrjohns opened this issue May 4, 2024 · 3 comments

Comments

@andrjohns
Copy link
Contributor

Summary:

There can a lot of repeated compilation across different Stan programs if the same templates are being instantiated. We could suggest using ccache to help reduce compile times?

Current Version:

v2.34.1

@WardBrian
Copy link
Member

I thought ccache only cached object files? If so, the fact that we precompile main.o and have a precompiled header is probably already as good as you can get, but id be interested if you’ve tried it and seen even more speed ups

@andrjohns
Copy link
Contributor Author

Hmm good point, I should actually do some testing. I'll have a look and see if there's a noticeable difference

@WardBrian
Copy link
Member

@andrjohns did you have a chance to see if this made a difference?

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