Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/electron/sccache
sccache is ccache with cloud storage
https://github.com/electron/sccache
Add a Redis cache variant
7ae4c259873d6bcbb60ad58bd9735581f7ddbe7a authored almost 8 years ago
The S3 and Redis caches are optional during build time.
Enable feature "s3" and/or "redis" to bu...
This cache module uses a Redis instance. To make sccache use this,
set SCCACHE_REDIS to redis://...
Move from protobuf to bincode for a wire format
a0b7cc114b383b3b626cc10fc4268c73b493034f authored almost 8 years ago
This commit migrates away from the `protobuf` crate to instead just working with
bincode on the ...
This is an abstraction of the Tokio stack now and doesn't have much impact on
sccache itself but...
Add timeouts to cache lookups and handle server eofs
9a3447f4cc5b73069a4c046616f786992052c579 authored almost 8 years ago
This should help ensure that we don't wait *too* long for the cache to respond
(for example on a...
87c5b7b0ff6c209a4ffc178b9ef4a6cb09872370 authored almost 8 years ago
I believe this is possible to hit if the compilation takes quite a long time and
times out the s...
HTTP requires that all timestamps be in GMT. Posts to S3 were using
localtime with an offset ins...
The goal here was to make more of the state that's currently persisted
from `parse_arguments` ->...
b1c0ce0b9c123425c0a65f06958b8d508f270c3c authored almost 8 years ago
91bde76f0376c54e9c90a10b4ffb3e91d7f4651d authored almost 8 years ago
8605d60c21a5dd784a0dae2aa48a1289d3d61cad authored almost 8 years ago
28bf88226bab39dc22222f8c8489abb1a1e1fce9 authored almost 8 years ago
The goal here was to make the state that persists between running the
preprocessor and running t...
907ed3b3520f58080f4413492fe66e939f1a70c6 authored almost 8 years ago
4c43c8ef9ada822abc0ae96ce8d6f8b75e2beea6 authored almost 8 years ago
5a64e0fe1d96255493d01b20b7caa2f6808e490f authored almost 8 years ago
This changeset removes `CompilerInfo` entirely, moving `get_cached_or_compile`
into the `Compile...
Pull the "run the preprocessor and generate the hash key" chunk of
`get_cached_or_compile` out i...
74a83818843655dc192dd68d2756fbbee9097e53 authored almost 8 years ago
cf7b400c9023354b50c0fd34d539121659189df3 authored almost 8 years ago
Try to get more info out of server crashes
5c77c337356951cb7bde5c40d6845f459dfc8312 authored almost 8 years agoApply two separate techniques:
* Ensure that core dumps come out of the server by calling `setr...
b9fd4244e6ae276528bf5a4465460fbd516fb463 authored almost 8 years ago
Unfortunately a crucial detail I missed is that the previous incarnation of this
function set `b...
Shoulda run the last commit through CI!
5a20118ca56ff3c3fa9e2349fa348e61a70e3aec authored almost 8 years ago
Previous versions of futures-cpupool depended on crossbeam which unfortunately
has known segfaul...
I was sporadically receiving a segfault locally when trying to debug issues on
Windows and in tr...
81edc56a7a91512fc8b52934d278fd58757e562a authored almost 8 years ago
Don't silently ignore errors
5a045278571f8687c53634c9d57adb4726c3b046 authored almost 8 years ago596a0c0924f328b46927aa5e75740b104d904ef4 authored almost 8 years ago
Update mio-named-pipes
1e6c6fc1e7cfdde6571215b1e03aa88a4ef93686 authored almost 8 years agoUpdate gcc crate in Cargo.lock
daa9a6564d291866ae54028e541711f7d77a33b9 authored almost 8 years agoPrevent double borrow_mut() error
985439a8ae0104fc02f1ecb97b7930a0b6e6f4cb authored almost 8 years agoThis fixes a bug in EOF handling which can cause spurious failures on Windows
01a057215df95767abfe9f35d87afe22a7a947ea authored almost 8 years agoPicks up support for `-C target-feature=+crt-static` on MSVC and such
4eb8218848f99089cc462ac2d81ebc099e238614 authored almost 8 years agoMistake left in from a refactoring I made unfortunately
374634ccb9cab32ae6a9aead6a50629ac857f7d1 authored almost 8 years ago96de60c0182b1d589924d8305d903b46848e629f authored almost 8 years ago
9895290a2144e78a202eb6518840dfb62f98fd48 authored almost 8 years ago
For the hash calculation the full argument list should be used
and not only the common args from...
The hash_key function cannot be tested for a equal key with
different output files, because the ...
The name and path of the output file of a compilation shall
not be used for the hash calculation...
This commit just takes the synchronous version and reimplements it with
futures, using necessary...
Print out the signal if the child terminated with one.
286df9b93571687d72ef41f8a282312283986053 authored almost 8 years ago
This commit replaces all process spawning with the futures-powered
versions in the `tokio-proces...
This commit pulls in Hyper from its master branch which contains the
asynchronous/Tokio integrat...
This commit lifts out some logic of creation of `Command` structures to simplify
a few code path...
Now that we've got tokio at our fingertips it's much easier to time out simple
operations!
Previously a cache read error would translate to a cache miss and trigger a full
compilation, bu...
Add a helper which does all the grungy logic for us.
afebf21a0d3871b53aecb19d10b90461438978fb authored almost 8 years ago0baea5a8b000c2430b0fbc2b38a25d1b932ba637 authored almost 8 years ago
At the same time also take more advantage of error-chain throughout the codebase
e500e46b351905ce6393414090eabeecba9dd8c7 authored almost 8 years ago
This commit rewrites the `server` module of sccache to be backed with Tokio. The
previous versio...
It looks like the logic in #27 changed the default host name from
$bucket.s3.amazonaws.com to s3...
898f90824d68d4873da8f9ca5073e3b83d1465c0 authored about 8 years ago
52630820efcf337680be709618647986f92b1522 authored about 8 years ago
warning: unused import: `std::time::Duration`, #[warn(unused_imports)] on by default
--> src/...
This commit adds support for the `@file` option that gcc/clang supports. This
option means that ...
319aacd7bdf2a32d6d05e1cec82584f4ee26a76c authored about 8 years ago
Resolves #44.
50ee9dd08b77c64adc9a8f3754f3d4d8630e303c authored about 8 years agob4a44a911b8a3754c3eeec7ddd209428ea156420 authored about 8 years ago
d83dd03de75efa9ab666ac35d2c54148c6d4a89d authored about 8 years ago
277551dccc38d881b22ad773bb56d99470167289 authored about 8 years ago
bfa0d2a85b5d05f58f3ab5c67c4a189d7a152cf6 authored about 8 years ago
bb3ba4a5b18544072e1b4c03fbd26d838529b040 authored about 8 years ago
8c083dfccc9a6574b60aef964b8212f76ee39bfb authored about 8 years ago
we can get backtraces for unhandled panics.
1db21485e0acf4f238dab83208ea16222c4f9456 authored about 8 years ago
If none of the logging environment variables are supplied
sccache creates a sccache2.log file on...
Straight forward implementation of clearing statistics
when -z or --zero-stats is passed on comm...
* Fix avg write duration and extend server stats
The average duration that is taken by a miss...
f2f69e891c04fb5d9cb1fe46994a22152235d35d authored about 8 years agod8a28bffade1a83a08b87e7da101e7a359757eff authored about 8 years ago
9c8cadc2d11a5f184c640197faa8176e0afce05b authored about 8 years ago
If running the preprocessor fails (because a #included file was not found, say)
sccache was retu...
bcf3a7436f83dbf3e10372a7f4031e889c6bb713 authored about 8 years ago
This fixes the extra console windows that show up when the sccache server
creates compiler proce...
As part of https://github.com/mozilla/sccache/commit/030ed02ab4de07e4e8666258fa3ddbaa2b7986bd I ...
6d7efe9bdc6937e138ba38eda50b2d6b46045257 authored about 8 years ago
Specify a new endpoint with `SCCACHE_ENDPOINT`
such as Minio https://github.com/minio/minio.
If...
aa5e965ac80840a20806dd7cdd2167fd7ebeb305 authored about 8 years agodecd0b1a99ab33af0ef83ef7e57cea6a7ede0f73 authored about 8 years ago
982ff329b26fd21c6b1db81bee21683f10d4155b authored about 8 years ago
be921be644c8fb81fabeb568d9ecf275131dd4ad authored about 8 years ago
52d9e699c4bba248e746bd9b06ca3443ccab94a9 authored about 8 years ago
4308fa29322091089e88346b50c5a41c4edf40a4 authored about 8 years ago
030ed02ab4de07e4e8666258fa3ddbaa2b7986bd authored about 8 years ago
c77a8e81dac67b3152361c9003459df61126dca0 authored about 8 years ago
a5d18f55ab2d5d72db5b5b2c96b0df27f1c3186b authored about 8 years ago
10fb1ad1c8b0e6b7cae445951ea03f579ee1b958 authored about 8 years ago
This also avoids an underflow if args is empty.
5591191bc17da9b96513f2a3832cecf7bcb8d3e8 authored about 8 years agoSee https://twitter.com/TedMielczarek/status/800813453430624256.
`ccache` doesn't currently sup...
6eadccc9d6752747766d550388590199d87f23a5 authored about 8 years ago3da89195ce91a576cc58617d76bbdf7be20bced2 authored about 8 years ago
5e0451f56cdbb65b6368b16f25abcc5e002b3fc0 authored about 8 years ago
b21198a7183a2fe226ff49348b1c0b51bae9f4f8 authored about 8 years ago
e8b64ca447ecc778eae39eda16a8d52120cffcd6 authored about 8 years ago
89f4b44d01084846893a64137d965ee844fe2d72 authored about 8 years ago
b20d68cd2f913a83992043aeda3275bc2730a2bd authored about 8 years ago
534721c84438d95d98036aa2a0ad21a1efcd7acf authored about 8 years ago
a7b5349da1d54ddba72f0640b0d388f0b9d61c00 authored over 8 years ago
bfcc6b3ad684e849291c1ba902d66e8c022ee5ed authored over 8 years ago
This change makes `get_cached_or_compile` return a `Future` for the
cache write instead of block...