mozilla / sccache

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
Apache License 2.0
5.85k stars 552 forks source link

Cross **HOST** arch compile distribution #1705

Open shirok1 opened 1 year ago

shirok1 commented 1 year ago

Hello, I hope using sccache to distribute to offload compiler task from my aarch64 SBC. However, I only have an x86_64 build server.

It seems that sccache can neither detect and package my tool chain properly, nor can it run my manually packed ones (either case I only receive a none helping bwrap: execvp archive_compiler_executable: No such file or directory), which I think even old-school distcc had already solved by letting builder prepare the tool chain and distinguish them with prefix.

But besides, I still really love the S3 caching backend provided by sccache, and would be really interested in a unified solution. So, is there a good approach for the above case?

nikkymen commented 2 months ago

Greetings, couldn't find a solution?