-
Notifications
You must be signed in to change notification settings - Fork 472
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
Support for Tasking compiler toolchain #841
Comments
Hi, There are no specific locations where you can add support for a new compiler since there is no such compiler abstraction in the code. Instead, the current (relatively small variation in) compiler-specific behavior is handled in a few different places. You can search for I know next to nothing about the TASKING compiler, but if you want to work on a proof of concept we could certainly have a look at it or give guidance about specific issues. |
Hello @vsplesk , were you able to add support for tasking compiler in ccache ? I have tried using the tasking internal cache mechanism (--cache), but the time gain I get is so small that I am evaluating switching to ccache where I would get a better control over the cache search algorithm. Thanks for any advice! |
I am sorry, I couldn't find time to work on this project. I have also found --cache option to be not very effective most of the time, i.e. greatly varying between 5% and >> 50% speedup. It's simply not reliable and not as fast as ccache used to be in regular FOSS projects (not sure about our code base, this is yet to be investigated). In case you start implementing this soon, please send me a note about your fork/branch and I might collaborate there. |
This is nice of you! I will check how I can proceed, since the --cache option only gives me a 10% speedup (very far from the 30x improve time mentioned in ccache measurements). On your side, do you care much about preprocessing mode or will the direct mode suffice?
Le dimanche 19 septembre 2021, 11:57:24 UTC+2, vsplesk ***@***.***> a écrit :
I am sorry, I couldn't find time to work on this project. I have also found --cache option to be not very effective most of the time, i.e. greatly varying between 5% and >> 50% speedup. It's simply not reliable and not as fast as ccache used to be in regular FOSS projects (not sure about our code base, this is yet to be investigated).
In case you start implementing this soon, please send me a note about your fork/branch and I might collaborate there.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
There was no demand for the preprocessor mode yet. |
I observed ~10% improvement as well on the codebase I used for "--cache"
Same here. |
I have started, but I am targeting the tasking tricore compiler (ctc and cctc), is this what you guys are waiting for?
Le dimanche 19 septembre 2021, 19:50:50 UTC+2, Joldiges ***@***.***> a écrit :
I observed ~10% improvement as well on the codebase I used for "--cache"
In case you start implementing this soon, please send me a note about your fork/branch and I might collaborate there.
Same here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
It is for me |
I have started the development, I have submitted a first draft for initial merge so that we can start collaborating. #942 |
I tried #942 on a few real-life projects and it worked very smoothly. Build time reduction way over 90% and no inconsistency issues observed so far. Good job! |
@louiscaron, tried on the project i'm touching. Good news is that I also saw (unmeasured) 90% improvement. |
@Joldiges : in my tests, I have only prefixed calls to ctc and cctc with ccache, not artc . still, the error message from ccache is very strange, it probably should not fail even if you prefixed everything with ccache. I have two questions:
|
I have identified the problem and it was specific to the CMake command I was using. |
Just a note on the status of this feature:
|
Hi,
I would like to use ccache in combination with TASKING VX-toolset. This is a commercial C/C++ compiler which command line syntax is unfortunately not fully GCC compatible. See https://www.tasking.com/support/tricore/ctc_user_guide_v6.2r2.pdf for its documentation. Another toolchain coming close is from Green Hills which is listed as semi-supported on your features page.
In theory, I could hack the support into ccache but the code looks quite complicated. It would be good if someone could highlight the relevant locations to add a new compiler. Or I can offer testing a few things if needed. Please note that this compiler includes its own caching functionality already but I would like to benchmark this and ccache against each other.
The text was updated successfully, but these errors were encountered: