-
Notifications
You must be signed in to change notification settings - Fork 316
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
sccache is not caching anything on mac #971
Comments
bc-lee
added a commit
to bc-lee/sccache
that referenced
this issue
Jun 6, 2022
Some projects, such as chromium, have recently been using `-Xclang -no-opaque-pointers` [1] to deal with the issue of changing opaque pointers in llvm[2], but the current sccache cannot handle that flag. This patch is to teach sccache to parse those flags so that it can solve issues like [3]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/3584317 [2] https://llvm.org/docs/OpaquePointers.html [3] denoland/rusty_v8#971
sylvestre
pushed a commit
to mozilla/sccache
that referenced
this issue
Jun 9, 2022
Some projects, such as chromium, have recently been using `-Xclang -no-opaque-pointers` [1] to deal with the issue of changing opaque pointers in llvm[2], but the current sccache cannot handle that flag. This patch is to teach sccache to parse those flags so that it can solve issues like [3]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/3584317 [2] https://llvm.org/docs/OpaquePointers.html [3] denoland/rusty_v8#971
This has been fixed in sscache@main. See mozilla/sccache#1181. Thanks @bc-lee! |
sad-sage
pushed a commit
to sad-sage/sccache
that referenced
this issue
Aug 4, 2022
Some projects, such as chromium, have recently been using `-Xclang -no-opaque-pointers` [1] to deal with the issue of changing opaque pointers in llvm[2], but the current sccache cannot handle that flag. This patch is to teach sccache to parse those flags so that it can solve issues like [3]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/3584317 [2] https://llvm.org/docs/OpaquePointers.html [3] denoland/rusty_v8#971
emabrey
pushed a commit
to emabrey/sccache
that referenced
this issue
Aug 10, 2022
Some projects, such as chromium, have recently been using `-Xclang -no-opaque-pointers` [1] to deal with the issue of changing opaque pointers in llvm[2], but the current sccache cannot handle that flag. This patch is to teach sccache to parse those flags so that it can solve issues like [3]. [1] https://chromium-review.googlesource.com/c/chromium/src/+/3584317 [2] https://llvm.org/docs/OpaquePointers.html [3] denoland/rusty_v8#971
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is due to the fact chromium's build uses at least one build flag that sccache doesn't understand (so it refuses to cache).
Upgrading our (dated) version of sccache to the latest (0.3.0) does not help.
(It actually makes things worse as 0.3.0 also caches nothing on Windows.)
Unsupported flags:
-Xclang -no-opaque-pointers
The text was updated successfully, but these errors were encountered: