-
Notifications
You must be signed in to change notification settings - Fork 627
[PWGJE] Add PCH for JET tasks #14655
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
base: master
Are you sure you want to change the base?
Conversation
|
O2 linter results: ❌ 1 errors, |
Heavily speeds up compilation
|
what is the time difference in compilation that you observe? should we consider this for other JE tasks too? also, are there some other headers that do not frequently change in O2Physics that we should consider precompiling? |
|
@singiamtel very nice. Could you share numbers on the improvement? How does it handle changes in the framework headers? Will it actually notice and recompile? That's where the previous attempt I had did not converge. |
|
This is great, together with my changes at the framework level this will reduce the compilation times very significantly. However, I suggest restructuring this to make it more transparent for the end users, we do not want to rewrite every CMakeLists.txt in O2Physics. We can introduce a convention on the "central" target for each PWG, that collects all the universal headers and then update |
|
@vkucera on a separate note, could we please make sure the O2 linter does not tell people to change QA to Qa ? |
Why? |
|
Because the abbreviation of Quality Assurance is QA, not Qa. |
Yet we have Capitalising only the first letter of each word-like segment is the only way to keep the CamelCase convention for structs, files, and types consistent with the kebab-case convention for workflows and devices. |
|
I am not sure I understand. Can't you simply add the exceptions? There is hopefully a finite number of them. If the tools are wrong, we should fix the tools, or at least remove the check. |
Heavily speeds up compilation
CC @ktf