-
Notifications
You must be signed in to change notification settings - Fork 585
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
Fix ccache on M1 #4764
Fix ccache on M1 #4764
Conversation
scripts/ccache-clang++.sh
Outdated
export CCACHE_MAXSIZE=10G | ||
export CCACHE_CPP2=true | ||
export CCACHE_HARDLINK=true | ||
export CCACHE_SLOPPINESS=file_macro,time_macros,include_file_mtime,include_file_ctime,file_stat_matches | ||
exec /usr/local/bin/ccache /usr/bin/clang++ "$@" | ||
exec ccache /usr/bin/clang++ "$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exec ccache /usr/bin/clang++ "$@" | |
exec ccache clang++ "$@" |
I wonder if clang++ could also just be read from the path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as it's in the path...which it should be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be a good idea to add something like "Remember to add the location of ccache to your PATH" somewhere in contrib/building.md
Homebrew installs ccache in a different directory on the M1. This checks if ccache exists in the path rather then a specific location.
f9b8bdf
to
58c87e2
Compare
Homebrew installs ccache in a different directory on the M1. This checks if ccache exists in the path rather then a specific location.
Homebrew installs ccache in a different directory on the M1. This checks if ccache exists in the path rather then a specific location.
Homebrew installs ccache in a different directory on the M1. This checks if ccache exists in the path rather then a specific location.
Homebrew installs ccache in a different directory on the M1.
This checks if ccache exists in the path rather then a specific location.
☑️ ToDos
Compatibility
label is updated or copied from previous entrypackage.json
s (if updating internal packages)Breaking
label has been applied or is not necessaryIf this PR adds or changes public API's: