You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@charlie-rivos which arguments are failing to parse? nvcc has many arguments not explicitly enumerated in sccache, but you can usually work around it by using = as the separator, e.g. -diag-suppress=1407 instead of -diag-suppress 1407.
Oh that's embarrassing, thank you that was the issue. I guess the CanBeSeparated logic doesn't quite work as intended?
This behavior still seems somewhat surprising to have sccache crash if it encounters an uncacheable compilation. I believe other parts of sccache log a compilation attempt as uncacheable and fall back to doing an uncached compilation in this case instead of aborting. Is there a reason to have nvcc abort instead of performing a fallback?
Instead of doing an uncached compilation and logging that the compilation was uncacheable, sccache exits when it encounters uncacheable nvcc args.
The code responsible is here:
sccache/src/compiler/nvcc.rs
Line 1282 in 9fb3841
This behavior prevents users from using sccache when there happens to be a program with uncacheable args.
The text was updated successfully, but these errors were encountered: