-
Notifications
You must be signed in to change notification settings - Fork 143
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 not working on OS X/macOS #855
Comments
Ah! Thank you @kartben ! That worked like a charm. Roughly 3X speedup. |
I tried this on Windows as well, and setting the same env. var was required there. |
Can anyone explain why this is needed? Seems like the --specs option should be the same in all compiles? |
@keith-packard Does that help? |
For the SDK, we could provide the full path to the specs file. Annoying that ccache doesn't search the library path specified by the compiler. I just tried 'arm-none-eabi-gcc -print-file-name=picolibc.specs' and that happily provided me the full path name. |
I discovered that ccache is not working with Zephyr SDK 0.17.0 on macOS.
Let me know if I should file this ticket elsewhere.
From the log below, ccache is installed, and is found, but there are no hits:
Another colleague of mine, noticed the same thing on a different macOS setup. He claimed that this may have happened with the transition to sysbuild.
Tested on:
Sequoia 15.0.1
SDK 0.17.0
Zephyr bleeding edge today (d3a0e16)
samples/basic/blinky can be used to test
When I get more time, I will bisect and find when this broke. I will also try different SDK versions.
The text was updated successfully, but these errors were encountered: