-
Notifications
You must be signed in to change notification settings - Fork 552
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
[WIP] Always pass -x cu
to nvcc
#1047
Commits on Mar 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4bab0d3 - Browse repository at this point
Copy the full SHA 4bab0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 294551c - Browse repository at this point
Copy the full SHA 294551cView commit details
Commits on Mar 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b43d51f - Browse repository at this point
Copy the full SHA b43d51fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd7ece2 - Browse repository at this point
Copy the full SHA fd7ece2View commit details -
move which::which import closer to its point of use
Otherwise we get warnings about unused imports on Windows.
Configuration menu - View commit details
-
Copy full SHA for 90a3d66 - Browse repository at this point
Copy the full SHA 90a3d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2f3380 - Browse repository at this point
Copy the full SHA d2f3380View commit details -
Configuration menu - View commit details
-
Copy full SHA for b437c92 - Browse repository at this point
Copy the full SHA b437c92View commit details -
increase SccacheServer shutdown wait timeout
This is a bit of a hack. The integration tests under `src/test/`, specifically `test_server_compile` have started timing out at some point after the Windows builds were broken. It's not obvious to me why it should be this particular test, and not other tests. But we're running on Windows, and presumably running on some kind of VM in CI, so it seems worth bumping up the timeout here.
Configuration menu - View commit details
-
Copy full SHA for 161f902 - Browse repository at this point
Copy the full SHA 161f902View commit details -
disable sccache_cargo tests on windows
Tests on appveyor timeout before the server starts.
Configuration menu - View commit details
-
Copy full SHA for ce05072 - Browse repository at this point
Copy the full SHA ce05072View commit details -
Configuration menu - View commit details
-
Copy full SHA for d73d1b9 - Browse repository at this point
Copy the full SHA d73d1b9View commit details -
BLAKE3 is designed to be a very high performance cryptographic hash. The BLAKE3 team has shown 8.5x higher single-thread performance than SHA-512 on modern server hardware (AWS `c5.metal`). This change did not result in a significant improvement to my observed local build times, but newer hardware may see a meaningful improvement. Signed-off-by: George Hahn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7911e11 - Browse repository at this point
Copy the full SHA 7911e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a3869 - Browse repository at this point
Copy the full SHA 33a3869View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8253784 - Browse repository at this point
Copy the full SHA 8253784View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed8b7e1 - Browse repository at this point
Copy the full SHA ed8b7e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ebd50 - Browse repository at this point
Copy the full SHA d5ebd50View commit details -
Configuration menu - View commit details
-
Copy full SHA for b835831 - Browse repository at this point
Copy the full SHA b835831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c9e32 - Browse repository at this point
Copy the full SHA 09c9e32View commit details
Commits on Mar 12, 2020
-
clang: Add support for -debug-info-kind.
This is used by chromium for example.
Configuration menu - View commit details
-
Copy full SHA for 87c278b - Browse repository at this point
Copy the full SHA 87c278bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86be547 - Browse repository at this point
Copy the full SHA 86be547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c71bfe - Browse repository at this point
Copy the full SHA 6c71bfeView commit details
Commits on Mar 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ca73029 - Browse repository at this point
Copy the full SHA ca73029View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65bb3b6 - Browse repository at this point
Copy the full SHA 65bb3b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7236f - Browse repository at this point
Copy the full SHA 5e7236fView commit details -
remove github action format check
Even though Actions aren't supported on the main repo, they can still be supported on personal repos, and people might proactively fix their Windows bustage if GitHub sends them emails about it. So let's keep Actions, but turn off things we haven't enabled on Travis yet.
Configuration menu - View commit details
-
Copy full SHA for 0e60647 - Browse repository at this point
Copy the full SHA 0e60647View commit details
Commits on Mar 16, 2020
-
azure: allow anonymous reads when account key is omitted (mozilla#706)
Co-authored-by: Bert Belder <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18855f4 - Browse repository at this point
Copy the full SHA 18855f4View commit details
Commits on Mar 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8816c2f - Browse repository at this point
Copy the full SHA 8816c2fView commit details
Commits on Mar 18, 2020
-
bump minimum rust version to 1.41.1
Removes a chunk from the readme regarding a false positive rustc-wrapper entry not being used, which is closed since 1.40.0 . Cargo issue: rust-lang/cargo#7745
Configuration menu - View commit details
-
Copy full SHA for 32dc8b0 - Browse repository at this point
Copy the full SHA 32dc8b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0209ab0 - Browse repository at this point
Copy the full SHA 0209ab0View commit details
Commits on Mar 20, 2020
-
involve rustup when determining toolchain paths (mozilla#666)
Co-authored-by: Bernhard Schuster <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1351a07 - Browse repository at this point
Copy the full SHA 1351a07View commit details
Commits on Mar 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for abc2759 - Browse repository at this point
Copy the full SHA abc2759View commit details
Commits on Apr 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 211bb23 - Browse repository at this point
Copy the full SHA 211bb23View commit details
Commits on Apr 20, 2020
-
Similar to /Zi, /ZI defaults to storing all compilations in the same …
…pdb. Signed-off-by: Nicholas Rishel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06584b6 - Browse repository at this point
Copy the full SHA 06584b6View commit details
Commits on Apr 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 06c1b23 - Browse repository at this point
Copy the full SHA 06c1b23View commit details -
Use tokio-compat instead of tokio
This gets us one step into tokio 0.2, with its new scheduler. This makes things significantly faster on my 32-core 64-threads machine, with Firefox builds with 100% cache hits at -j64 going down from 3 minutes to 2:24. Also, with the old scheduler, with 100% cache hits, -j16 was actually faster than -j64, which is not the case anymore.
Configuration menu - View commit details
-
Copy full SHA for 5afa5b1 - Browse repository at this point
Copy the full SHA 5afa5b1View commit details
Commits on Apr 29, 2020
-
Revert "use tokio_reactor::Handle::default" and "fix error message on…
… windows for test_server_port_in_use" This reverts commit b43d51f and commit b437c92. While tokio_reactor::Handle::current has a deprecation note that says "semantics were sometimes surprising, use Handle::default()", it turns out the the semantics of `current` work better for sccache, as sccache --start-server times out with `default` but not with `current` (although the server does start). The error for the test_server_port_in_use switch to being about a timeout was due to the switch to `current`, so we're now back to a more normal looking error message.
Configuration menu - View commit details
-
Copy full SHA for 27bf3e6 - Browse repository at this point
Copy the full SHA 27bf3e6View commit details
Commits on May 6, 2020
-
Extract compilation flag from input arguments
This was done to support different compilers/languages which use different compilation flags. For example nvcc supports `-c`, `-dc`, and `-ptx`. This change allows compilers to determine what type of compilation they are doing and react correctly.
Configuration menu - View commit details
-
Copy full SHA for 5796fc1 - Browse repository at this point
Copy the full SHA 5796fc1View commit details -
Add nvcc as a supported compiler
Started based on the work at https://github.com/yf225/sccache but more changes have been required to properly handle the different nvcc compile flags and modes
Configuration menu - View commit details
-
Copy full SHA for 57328b5 - Browse repository at this point
Copy the full SHA 57328b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cb3246 - Browse repository at this point
Copy the full SHA 1cb3246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b7de3e - Browse repository at this point
Copy the full SHA 9b7de3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a5d4e8 - Browse repository at this point
Copy the full SHA 3a5d4e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb64189 - Browse repository at this point
Copy the full SHA fb64189View commit details -
Extract dependency args from preprocessor args
NVCC doesn't support generating both the dependency information and the preprocessor output at the same time. So we need to have the -MT/-MD flags go with a dependency info compiler invocation and not the pre-process step. In addition this now allows sccache to work properly with `-MQ` for gcc like compilers.
Configuration menu - View commit details
-
Copy full SHA for 48e4f2f - Browse repository at this point
Copy the full SHA 48e4f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30b9eb0 - Browse repository at this point
Copy the full SHA 30b9eb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53e006e - Browse repository at this point
Copy the full SHA 53e006eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f502075 - Browse repository at this point
Copy the full SHA f502075View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c01bce - Browse repository at this point
Copy the full SHA 5c01bceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab3e79e - Browse repository at this point
Copy the full SHA ab3e79eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da0707 - Browse repository at this point
Copy the full SHA 5da0707View commit details
Commits on May 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d4d2ab4 - Browse repository at this point
Copy the full SHA d4d2ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d7fa4 - Browse repository at this point
Copy the full SHA 51d7fa4View commit details
Commits on May 14, 2020
-
Correctly specify certain nvcc flags shouldn't capture any parameters
Flags such as `expt-relaxed-constexpr` are flags and don't have any parameters they should capture. Doing this caused compilation failures when it captured `Xcompiler` and therefore a subsequent flag for the host compiler was incorrectly given to nvcc instead.
Configuration menu - View commit details
-
Copy full SHA for a3dd585 - Browse repository at this point
Copy the full SHA a3dd585View commit details
Commits on May 21, 2020
-
fix some workarounds now that we have non-lexical lifetimes
The TODO in server.rs that we didn't fix was somewhat cryptic and I don't think it would have made the code any clearer even if it could have been fixed.
Configuration menu - View commit details
-
Copy full SHA for 015a918 - Browse repository at this point
Copy the full SHA 015a918View commit details -
Configuration menu - View commit details
-
Copy full SHA for a96b834 - Browse repository at this point
Copy the full SHA a96b834View commit details
Commits on May 22, 2020
-
delete when-we-have-NLL-related comment
Should have caught this previously.
Configuration menu - View commit details
-
Copy full SHA for e54bbaa - Browse repository at this point
Copy the full SHA e54bbaaView commit details -
The linked PR in the comment changed the output format, but never bothered to change sccache to match the new output format. So when we stumbled across a case of the new output format, we panicked.
Configuration menu - View commit details
-
Copy full SHA for 35ea08f - Browse repository at this point
Copy the full SHA 35ea08fView commit details
Commits on Jun 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 98c62b5 - Browse repository at this point
Copy the full SHA 98c62b5View commit details -
allow caching with more msvc slash style arguments
mozilla#674 broke caching for msvc /foo style arguments that weren't handled in our arg list. So let's expand that list. Fixes mozilla#725.
Configuration menu - View commit details
-
Copy full SHA for bf6fb5d - Browse repository at this point
Copy the full SHA bf6fb5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a862e0b - Browse repository at this point
Copy the full SHA a862e0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for def09ca - Browse repository at this point
Copy the full SHA def09caView commit details
Commits on Jun 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 868ee6e - Browse repository at this point
Copy the full SHA 868ee6eView commit details -
msvc: /Fm has no effect if /c is specified
It should not prevent caching by itself.
Configuration menu - View commit details
-
Copy full SHA for 33456f0 - Browse repository at this point
Copy the full SHA 33456f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 194a25f - Browse repository at this point
Copy the full SHA 194a25fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e490e6 - Browse repository at this point
Copy the full SHA 3e490e6View commit details
Commits on Jun 3, 2020
-
make mutable borrowing more explicit during cache writing
It's not clear to me whether something like this is already happening inside type derivation or not, but this at least makes things clearer that `compiler_result` is not being borrowed mutably.
Configuration menu - View commit details
-
Copy full SHA for 26aaa9a - Browse repository at this point
Copy the full SHA 26aaa9aView commit details
Commits on Jun 4, 2020
-
This routine had a couple of problems: 1. The buffer was reinitialized with zeros every time through the loop, rather than once outside of the loop. 2. We created a buffered reader, but we are using it to do large block reads, which makes the internal buffer essentially useless. `BufReader` is at least smart enough to bypass the internal buffer in such cases, but still, we were allocating an additional amount of heap memory that we didn't need. This patch addresses both of those problems. It is arguably better to use `std::io::copy`, which currently takes advantage of `Read::initialize`, a Nightly-only API that attempts to avoid needing to initialize buffers prior to passing them off to `Read::read`, but the default buffer size of `std::io::copy` is much smaller than what we use here. Rust rlibs can get rather large (e.g. about 80% of rlibs during a Firefox compilation are larger than 128kb and will therefore go through even the loop we have here at least twice; ~55% are larger than 700k; about 10% are larger than 12mb (!)) and are the primary consumers of this method (via `util::hash_all`), so at least fixing the obvious major issues above seems worthwhile.
Configuration menu - View commit details
-
Copy full SHA for 36dd9d8 - Browse repository at this point
Copy the full SHA 36dd9d8View commit details
Commits on Jun 5, 2020
-
rustfmt the code and add a check to CI.
The code was already mostly rustfmt'd, so we might as well go the whole way.
Configuration menu - View commit details
-
Copy full SHA for 669f99f - Browse repository at this point
Copy the full SHA 669f99fView commit details -
This patch looks like a routine crate version update, but it fixes something very fundamentally wrong with the tests: `escargot`, to find the `sccache` binary during tests, would actually run `cargo build` and parse the output. There were all manner of hacks to try and build the binary with the correct set of features, none of which were reliable, and the hacks were not reliably present in all places, either. When the hacks were not present, `escargot` would rebuild the entire sccache crate, which was responsible for the `sccache_cargo` test taking entirely too long. When the hacks failed utterly, perfectly fine patches would mysteriously fail, as seen in mozilla#774. We can get rid of `escargot` because `assert-cmd` has been updated to a) not use `escargot` under the hood; and b) do something smarter to locate the target binary. The upshot is fewer mysterious test failures and significantly faster running tests.
Configuration menu - View commit details
-
Copy full SHA for e7af8d2 - Browse repository at this point
Copy the full SHA e7af8d2View commit details -
Identify more messages as coming from sccache.
This finishes what mozilla#762 started. All `println!`/`eprintln!` calls now start with `sccache: `, except those involved in printing of requested data, such as stats.
Configuration menu - View commit details
-
Copy full SHA for e577880 - Browse repository at this point
Copy the full SHA e577880View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e5e98 - Browse repository at this point
Copy the full SHA 99e5e98View commit details -
Stable Rust and the OS X versions on TravisCI do not seem to get along right now. I filed a Rust bug (rust-lang/rust#73030) about this, but if the bug is very OS X-configuration specific, I'm not sure there's much that can be done about it on the Rust side. We can at least change the CI configuration so we don't get a bunch of spurious failures.
Configuration menu - View commit details
-
Copy full SHA for 36ccc87 - Browse repository at this point
Copy the full SHA 36ccc87View commit details -
make stdout/stderr getting explicit from CacheRead
The abstraction barrier here is not perfect, because people can make `get_object` calls on their own. But at least `CacheRead` is slightly more structured this way.
Configuration menu - View commit details
-
Copy full SHA for 4aaffa8 - Browse repository at this point
Copy the full SHA 4aaffa8View commit details -
make stdout/stderr putting explicit in CacheWrite
The abstraction barrier here is not perfect, because people can make `put_object` calls on their own. But at least `CacheWrite` is slightly more structured this way and the optimization for empty streams is hidden away from the client.
Configuration menu - View commit details
-
Copy full SHA for ae21e95 - Browse repository at this point
Copy the full SHA ae21e95View commit details -
move object extraction into CacheRead
This seems cleaner than having somebody else manage object extraction.
Configuration menu - View commit details
-
Copy full SHA for 8a85b5f - Browse repository at this point
Copy the full SHA 8a85b5fView commit details -
add CacheWrite creation from objects
This patch is the mirror of the previous `CacheRead` change. Again, not a huge change, but it's slightly nicer for `CacheWrite` to manage this.
Configuration menu - View commit details
-
Copy full SHA for 17d6d08 - Browse repository at this point
Copy the full SHA 17d6d08View commit details -
I was looking through old issues, and mozilla#160 mentioned that crc32 checksumming for zip files was showing up in profiles. zip-rs 0.4 uses a byte-at-a-time version of crc32; zip-rs 0.5 relies on the `crc32fast` crate, which features faster implementations.
Configuration menu - View commit details
-
Copy full SHA for c0209bb - Browse repository at this point
Copy the full SHA c0209bbView commit details
Commits on Jun 8, 2020
-
With tokio-compat being used it is now possible to use dependencies that use tokio-0.2
Configuration menu - View commit details
-
Copy full SHA for 34f391f - Browse repository at this point
Copy the full SHA 34f391fView commit details
Commits on Jun 10, 2020
-
Change error handling from
error-chain
toanyhow
.Because `anyhow` is what seems to be the most common error library for applications these days. - The global `Result` type is now `anyhow::Result`. - In errors.rs, there's no need for any boilerplate to wrap all the foreign errors seen: `hyper::Error`, `io:Error`, etc. - The internal errors that we care about are now separate types, rather than within an enum, because that works better when we need to check for them by downcasting an `anyhow::Error`. And it's nice to write `Err(ProcessError(output))` rather than `Err(ErrorKind::ProcessError(output))`. - The `Which` error was unused and is removed. - The most common change is that `.chain_err()` is changed to `.context`/`.with_context()`. - `anyhow!` is used where necessary, mostly to promote a string to an `anyhow::Error`. - Errors within futures: `FutureChainErr`/`.chain_err()` is changed to `FutureContext`/`fcontext`/`fwith_context`. The `f` prefix is because I found it helpful to distinguish these cases from the simple error cases. - `BuilderIncoming`, `SchedulerIncoming`, `ServerIncoming` no longer have an `Error` associated type, we just use `anyhow::Error` uniformly. - `e.display_chain()` changes to `format!("{:?}")`, because they both print the full cause chain, and the backtrace (if present). - A few places where the old code was doing something weird or more complicated than seemed necessary, I generally tried to replace it with something simpler and more typical. Two places used `with_boxed_chain()`, which doesn't have an equivalent in `anyhow`, so I did my best to do something reasonable. - In `src/server.rs` we now import `std::task::Context` as `TaskContext` to avoid overshadowing the `anyhow::Context` trait :(
Configuration menu - View commit details
-
Copy full SHA for 97a8f9c - Browse repository at this point
Copy the full SHA 97a8f9cView commit details -
Merge pull request mozilla#777 from nnethercote/use-anyhow
Change error handling from `error-chain` to `anyhow`.
Configuration menu - View commit details
-
Copy full SHA for 79f2968 - Browse repository at this point
Copy the full SHA 79f2968View commit details
Commits on Jun 11, 2020
-
Import std::task::Context as Context again
We shouldn't contort and rename structs for the purpose of some trait whose name doesn't matter in practice.
Configuration menu - View commit details
-
Copy full SHA for 68c94c9 - Browse repository at this point
Copy the full SHA 68c94c9View commit details -
upgrade ar crate so we can do less copying when trimming rlibs
The current trimming of rlibs in the dist-sccache case looks like: 1. Find the `rust.metadata.bin` file in the rlib (archive). 2. Read its data. 3. Create a new archive that will only contain said file. 4. Copy the data into the new archive. We can do better than this, by doing the following: 1. Find the `rust.metadata.bin` file in the rlib (archive). 2. Create a new archive that will only contain said file. 3. Copy the data from the original rlib directly into the new archive. We thus save a copy. All that being said, it looks like recent versions of Rust don't actually output `rust.metadata.bin` files into rlibs...unless we ought to be only taking the `lib.rmeta` file that lives inside the archive. But that would be a separate fix. (It's also great that we're seemingly copying the rmeta file twice, once because it lives in the rlib and once because it lives on disk as a separate file...)
Configuration menu - View commit details
-
Copy full SHA for e3ec58d - Browse repository at this point
Copy the full SHA e3ec58dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c6064 - Browse repository at this point
Copy the full SHA 93c6064View commit details -
Upgrade dependencies that don't require changes
Except redis, which pulls in async-std, which needs some further consideration.
Configuration menu - View commit details
-
Copy full SHA for b6cede2 - Browse repository at this point
Copy the full SHA b6cede2View commit details
Commits on Jun 12, 2020
-
use zstd to compress cache entries
zstd is faster and gives slightly smaller (~5%) compressed blobs than deflate does, as measured on a Firefox build. Rather than inventing our own compressed archive format, we piggyback on top of zip's "stored" files to stuff zstd-compressed blobs in the zip archive.
Configuration menu - View commit details
-
Copy full SHA for be9da57 - Browse repository at this point
Copy the full SHA be9da57View commit details -
This update should fix the BLAKE3 avx512 compilation issues.
Configuration menu - View commit details
-
Copy full SHA for 32d5b47 - Browse repository at this point
Copy the full SHA 32d5b47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ee925a - Browse repository at this point
Copy the full SHA 3ee925aView commit details
Commits on Jun 13, 2020
-
use a proper release for selenium-rs
0.1.2 was released earlier this year and includes the fix we need.
Configuration menu - View commit details
-
Copy full SHA for 0639dc2 - Browse repository at this point
Copy the full SHA 0639dc2View commit details
Commits on Jun 17, 2020
-
Remove the unused
quote
crate.I found this using `cargo-udeps`.
Configuration menu - View commit details
-
Copy full SHA for e71f302 - Browse repository at this point
Copy the full SHA e71f302View commit details
Commits on Jun 23, 2020
-
fix parsing for -dependency-file
This option was getting passed as a preprocessor argument and the additional arguments that it requires (e.g. `-MT`) were getting passed as dependency arguments. So when we went to call the preprocessor, the compiler complained about the missing arguments. Instead, we should be classifying it as specifying a dependency target, which will direct it to the correct set of arguments. We also take this opportunity to move it to be a clang-exclusive option; the same option exists in GCC, but it's Darwin-specific and unlikely to be actually used there.
Configuration menu - View commit details
-
Copy full SHA for 9a7ec04 - Browse repository at this point
Copy the full SHA 9a7ec04View commit details
Commits on Jul 1, 2020
-
fix msvc passthrough arguments
mozilla#764 and its followon patch, mozilla#768, failed to take into account that passthrough arguments actually need to be passed through to the compiler invocation: they don't prevent caching, but they do need to be considered when computing the cache key...and when actually performing the compilation.
Configuration menu - View commit details
-
Copy full SHA for e654df8 - Browse repository at this point
Copy the full SHA e654df8View commit details
Commits on Jul 6, 2020
-
Add a note for how to use sccache with cmake.
It feels like the obvious way would be to ask cmake to use "sccache gcc" as CMAKE_C_COMPILER, but that option can't take arguments. Leave a note for the next person trying to figure it out.
Configuration menu - View commit details
-
Copy full SHA for f609dcb - Browse repository at this point
Copy the full SHA f609dcbView commit details
Commits on Jul 10, 2020
-
Add basic support for -clang:* arguments for clang-cl
And add enough to support -fprofile-generate.
Configuration menu - View commit details
-
Copy full SHA for d172e77 - Browse repository at this point
Copy the full SHA d172e77View commit details
Commits on Jul 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c84cca3 - Browse repository at this point
Copy the full SHA c84cca3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5c1ffa - Browse repository at this point
Copy the full SHA e5c1ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 033ebaa - Browse repository at this point
Copy the full SHA 033ebaaView commit details -
Validate server started on the correct port
The patch implements the TODO mentioned. The server writes the port of on which it is listening to the socket placed at SCCACHE_STARTUP_NOTIFY. This port should match the port expected by the client that requested the startup.
Configuration menu - View commit details
-
Copy full SHA for 667feb6 - Browse repository at this point
Copy the full SHA 667feb6View commit details
Commits on Jul 21, 2020
-
Add support for key prefixes when using S3 as the storage (mozilla#811)
The corresponding environment variable is `SCCACHE_S3_KEY_PREFIX`.
Configuration menu - View commit details
-
Copy full SHA for 86c76c7 - Browse repository at this point
Copy the full SHA 86c76c7View commit details
Commits on Jul 28, 2020
-
Add known caveats section to readme (mozilla#815)
* Add known caveats section to readme These are pretty serious limitations that I would have liked to read about rather than discover later! I also added an example for `RUST_LOG` so you don't have to go digging in the docs to learn how to use it.
Configuration menu - View commit details
-
Copy full SHA for 711cd06 - Browse repository at this point
Copy the full SHA 711cd06View commit details
Commits on Jul 31, 2020
-
clang: Allow chrome plugin arguments (mozilla#817)
* clang: Allow args for arbitrary plugins The plugin name may be accepted via Concatenated('-'). However, the following -Xclang argument should be passed through as the value of the plugin argument. As a proof-of-concept, identify the following Raw argument and pass it through. Fixes mozilla#350.
Configuration menu - View commit details
-
Copy full SHA for f210a59 - Browse repository at this point
Copy the full SHA f210a59View commit details
Commits on Aug 4, 2020
-
Implement
g++
andclang++
behavior when used on a.c
input file. ……Fixes mozilla#803 (mozilla#818) `g++` and `clang++` both compile `.c` files in C++ mode in the absence of any other directions (like the `-x` flag); add code to distinguish between the two compilers and their `++` variations, then fix up language selection and caching accordingly.
Configuration menu - View commit details
-
Copy full SHA for e66c9c1 - Browse repository at this point
Copy the full SHA e66c9c1View commit details
Commits on Aug 5, 2020
-
Modify logging to use SCCACHE_LOG. (mozilla#822)
As per mozilla#810, modify env_logger to use the SCCACHE_LOG environment variable instead of the RUST_LOG one. This is to enable control of sccache logs whilst debugging other rust binaries. Update docs for SCCACHE_LOG. Fixes mozilla#810
Configuration menu - View commit details
-
Copy full SHA for 182c59e - Browse repository at this point
Copy the full SHA 182c59eView commit details
Commits on Aug 17, 2020
-
Bump to tiny-http 0.7.0 (mozilla#830)
Which contains the fix for issue tiny-http#151.
Configuration menu - View commit details
-
Copy full SHA for bdaa65a - Browse repository at this point
Copy the full SHA bdaa65aView commit details
Commits on Aug 25, 2020
-
In case we fail to read the compressed content from the cache, treat …
…the failure as a forced recache. This prevents us from failing build jobs unconditionally if cache entries are corrupt (or in case of other sporadic failures), in which case we should continue on with force-recompiling and recaching. (mozilla#836)
rickystewart authoredAug 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 030c80a - Browse repository at this point
Copy the full SHA 030c80aView commit details
Commits on Sep 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 60573ac - Browse repository at this point
Copy the full SHA 60573acView commit details
Commits on Sep 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5197fbb - Browse repository at this point
Copy the full SHA 5197fbbView commit details
Commits on Sep 17, 2020
-
Revert "Bump to tiny-http 0.7.0 (mozilla#830)" because it caused a re…
…gression, mozilla#846. This reverts commit bdaa65a.
Configuration menu - View commit details
-
Copy full SHA for ea4d146 - Browse repository at this point
Copy the full SHA ea4d146View commit details
Commits on Sep 28, 2020
-
New entry in ServerStartup enum to indicate AddrInUse Error (mozilla#840
) when cargo fires of parallel build jobs, we encounter a race to start the server if the server is not already running to start the server This is an AddrInUse error causing atleast one of the parallel build jobs fail. This patch adds a new entry to ServerStartup enum to clearly communicate the AddrInUse error from the server to the client that requested the server start. Using this information the client can retry connecting instead of failing.
Configuration menu - View commit details
-
Copy full SHA for 6628e1f - Browse repository at this point
Copy the full SHA 6628e1fView commit details
Commits on Dec 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e30185a - Browse repository at this point
Copy the full SHA e30185aView commit details -
Don't enable deflate on the zip crate
It's not needed since be9da57. This allows to update the flate2 crate for reqwest.
Configuration menu - View commit details
-
Copy full SHA for 87266bb - Browse repository at this point
Copy the full SHA 87266bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48ff759 - Browse repository at this point
Copy the full SHA 48ff759View commit details -
Apply many fixes from
cargo clippy
One of them requires rust 1.42.0, so bump to minimally support that. Many of these fixes were lifted from PR mozilla#718.
Configuration menu - View commit details
-
Copy full SHA for 3b340b3 - Browse repository at this point
Copy the full SHA 3b340b3View commit details
Commits on Dec 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2b083d1 - Browse repository at this point
Copy the full SHA 2b083d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 185c6ba - Browse repository at this point
Copy the full SHA 185c6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dadd8e - Browse repository at this point
Copy the full SHA 4dadd8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c45df0 - Browse repository at this point
Copy the full SHA 3c45df0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d51c1 - Browse repository at this point
Copy the full SHA 46d51c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9189ac6 - Browse repository at this point
Copy the full SHA 9189ac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1986619 - Browse repository at this point
Copy the full SHA 1986619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca406f - Browse repository at this point
Copy the full SHA 6ca406fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41b6bab - Browse repository at this point
Copy the full SHA 41b6babView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7973aed - Browse repository at this point
Copy the full SHA 7973aedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04437f1 - Browse repository at this point
Copy the full SHA 04437f1View commit details
Commits on Dec 10, 2020
-
Switch to use chrono instead of time
time 0.2 doesn't offer the features we used time 0.1 for, and we are already using chrono.
Configuration menu - View commit details
-
Copy full SHA for fb98e0a - Browse repository at this point
Copy the full SHA fb98e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f65807 - Browse repository at this point
Copy the full SHA 1f65807View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb232a - Browse repository at this point
Copy the full SHA cbb232aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ce997 - Browse repository at this point
Copy the full SHA a3ce997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78000ef - Browse repository at this point
Copy the full SHA 78000efView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd8312 - Browse repository at this point
Copy the full SHA bcd8312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e44709 - Browse repository at this point
Copy the full SHA 5e44709View commit details -
Configuration menu - View commit details
-
Copy full SHA for b791427 - Browse repository at this point
Copy the full SHA b791427View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fc63d6 - Browse repository at this point
Copy the full SHA 0fc63d6View commit details -
Add the x86_64-unknown-linux-musl rust target in the CI job that need…
…s it That used to be in travis-musl-openssl.sh, which we removed.
Configuration menu - View commit details
-
Copy full SHA for 42288a1 - Browse repository at this point
Copy the full SHA 42288a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 967cb60 - Browse repository at this point
Copy the full SHA 967cb60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0515530 - Browse repository at this point
Copy the full SHA 0515530View commit details -
Typo: putting $HOME in code markers
Signed-off-by: ed neville <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ee4354 - Browse repository at this point
Copy the full SHA 5ee4354View commit details -
Configuration menu - View commit details
-
Copy full SHA for e489e3c - Browse repository at this point
Copy the full SHA e489e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3162e5b - Browse repository at this point
Copy the full SHA 3162e5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c60588 - Browse repository at this point
Copy the full SHA 5c60588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39343c9 - Browse repository at this point
Copy the full SHA 39343c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for daf2267 - Browse repository at this point
Copy the full SHA daf2267View commit details
Commits on Dec 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for add5f0a - Browse repository at this point
Copy the full SHA add5f0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c3814e - Browse repository at this point
Copy the full SHA 5c3814eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7eceb0 - Browse repository at this point
Copy the full SHA d7eceb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2832187 - Browse repository at this point
Copy the full SHA 2832187View commit details -
fix(windows): remove
DETACHED_PROCESS
flag when starting the server…… process See discussion in mozilla#514.
Configuration menu - View commit details
-
Copy full SHA for 36f466f - Browse repository at this point
Copy the full SHA 36f466fView commit details -
Configuration menu - View commit details
-
Copy full SHA for da18ac2 - Browse repository at this point
Copy the full SHA da18ac2View commit details -
Only use vendored OpenSSL on deployment builds
0fc63d6 went a little overboard enabling it on all builds. We still need it on the dist-server builds, which need to run sccache-dist in a docker environment that doesn't have OpenSSL installed.
Configuration menu - View commit details
-
Copy full SHA for 978bab8 - Browse repository at this point
Copy the full SHA 978bab8View commit details -
Set EXTRA_FEATURES at the env level in travis config
We can also remove the dist-client feature, since it's enabled by default.
Configuration menu - View commit details
-
Copy full SHA for d8a299d - Browse repository at this point
Copy the full SHA d8a299dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4a3069 - Browse repository at this point
Copy the full SHA c4a3069View commit details -
Configuration menu - View commit details
-
Copy full SHA for d196eda - Browse repository at this point
Copy the full SHA d196edaView commit details -
msvc: handle /MP as a passthrough argument
Compiler invocations with the `/MP[processMax]` option for MSVC are currently rejected by the cache ("multiple input files"). The `/MP` option enables multiprocessing in the compiler [1], so there is no impact on the cache-ability of the call if a single source file is given. This commit changes the behavior to passthrough. I ran into this because Conan [2] adds the `/MP` option by default. [1]: https://docs.microsoft.com/en-us/cpp/build/reference/mp-build-with-multiple-processes [2]: https://conan.io/
Configuration menu - View commit details
-
Copy full SHA for 6d8488e - Browse repository at this point
Copy the full SHA 6d8488eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47fd81b - Browse repository at this point
Copy the full SHA 47fd81bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ae5d3c - Browse repository at this point
Copy the full SHA 1ae5d3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 422ef65 - Browse repository at this point
Copy the full SHA 422ef65View commit details -
sccache currently barfs on multiple -arch. See mozilla#847. This commit adds a test case showing that multiple -arch are currently accepted.
Configuration menu - View commit details
-
Copy full SHA for c94175d - Browse repository at this point
Copy the full SHA c94175dView commit details -
Don't cache if -arch specified multiple times (mozilla#847)
Attempting to use sccache with gcc/clang with -arch specified multiple times (such as when compiling llvm's compiler-rt) results in a rather cryptic error from the invoked clang command: `clang: error: cannot use 'c++-cpp-output' output with multiple -arch options`. While there are potentially other workarounds to this special case, this commit takes the simplest approach and marks the invocation as not cacheable if multiple -arch flags are present. The test introduced by the previous commit demonstrates the desired change in behavior. Closes mozilla#847.
Configuration menu - View commit details
-
Copy full SHA for e6326bc - Browse repository at this point
Copy the full SHA e6326bcView commit details
Commits on Dec 15, 2020
-
msvc: handle -showIncludes as a dependency argument
Due to the way that MSVC works, these flags also need passed to the main compilation as well. Fixes: mozilla#411
Configuration menu - View commit details
-
Copy full SHA for e6a0392 - Browse repository at this point
Copy the full SHA e6a0392View commit details -
MSVC 2017 15.6 came with a new feature to support system include paths: https://devblogs.microsoft.com/cppblog/broken-warnings-theory/ Unfortunately, said new feature is unusable with sccache because sccache thinks that for `/external:I $PATH`, `$PATH` is an input argument, and bails out. Let's teach sccache about this syntax.
Configuration menu - View commit details
-
Copy full SHA for a3d01b1 - Browse repository at this point
Copy the full SHA a3d01b1View commit details
Commits on Dec 16, 2020
-
Set the current directory of the server to the directory containing t…
…he executable Fixes mozilla#722
Configuration menu - View commit details
-
Copy full SHA for 200c0c7 - Browse repository at this point
Copy the full SHA 200c0c7View commit details -
Use a full path relative to
cwd
for extra hash filesWhen the current directory of the sccache process is not the same as the current directory for the compiler process, extra hash files are currently not found, leading to errors. Fixes mozilla#843
Configuration menu - View commit details
-
Copy full SHA for a458fa7 - Browse repository at this point
Copy the full SHA a458fa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for da1dd3b - Browse repository at this point
Copy the full SHA da1dd3bView commit details
Commits on Dec 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 64f86e9 - Browse repository at this point
Copy the full SHA 64f86e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d3c59 - Browse repository at this point
Copy the full SHA 51d3c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdbf843 - Browse repository at this point
Copy the full SHA fdbf843View commit details -
Configuration menu - View commit details
-
Copy full SHA for c447c90 - Browse repository at this point
Copy the full SHA c447c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48ded85 - Browse repository at this point
Copy the full SHA 48ded85View commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5f57603 - Browse repository at this point
Copy the full SHA 5f57603View commit details
Commits on Jan 5, 2021
-
Add missing suffix for travis deployment
This will make the sccache-dist artifacts uploaded when staging next release, hopefully.
Configuration menu - View commit details
-
Copy full SHA for ad8427e - Browse repository at this point
Copy the full SHA ad8427eView commit details -
Switch Github workflow to use an in-tree action to install rust
Only actions from github (under github/ and actions/) are allowed, and while actions from the mozilla organisation are technically allowed, they're currently not meant to be, so use an in-tree action instead.
Configuration menu - View commit details
-
Copy full SHA for 3de60cf - Browse repository at this point
Copy the full SHA 3de60cfView commit details -
We don't have submodules, and the repository is not large enough that a small fetch depth makes a significant different.
Configuration menu - View commit details
-
Copy full SHA for aca0c9c - Browse repository at this point
Copy the full SHA aca0c9cView commit details -
Move rustfmt and clippy to a separate set of jobs
And enable clippy, albeit allowing failures as the code is not clippy-clean yet. We run clippy on all 3 main platforms because each has platform-specific code that yields different warnings. We explicitly disable two warnings: - type_complexity, because it feels like unnecessary noise to try to fix those before switching to async code. - new-without-default, because I'm not particularly convinced. Also stop running rustfmt on Travis.
Configuration menu - View commit details
-
Copy full SHA for d34ef50 - Browse repository at this point
Copy the full SHA d34ef50View commit details -
Move tests from Travis/Appveyor to Github Actions
On Travis, we used to build and run tests with both --no-default-features and without, but without additional features, which was the majority of cases, testing with --no-default-features was not really useful, so we don't do that anymore, except for the dist-server. Also, since dist-tests enables dist-server, the dist-server cases ended up running the same tests multiple times, which we now avoid. We also now split building the tests from running them, such that logs can be a little easier to work with. Github actions don't have arm64 runners yet, so we now don't run tests on arm64 linux, but that's not expected to catch problems that wouldn't be caught by the other tests. The Appveyor setup was running tests with multiple versions of rust, which is not done here, but that's not expected to catch problems that wouldn't be caught by the other tests either.
Configuration menu - View commit details
-
Copy full SHA for 5868ff8 - Browse repository at this point
Copy the full SHA 5868ff8View commit details -
Move remainder of the CI to Github Actions
This includes: - Building in release mode for all release platforms on all PRs and merges/pushes. - Publishing release assets on tags. The extra benefit here is that the release assets are not pushed unless all builds are successful, which was not the case before, leading to 0.2.13 without Windows binaries. We also make it necessary for all tests and lints to pass. Another benefit is that builds now have artifacts published, allowing to download them for some period of time after they were produced on a PR or on master. The setup for musl-based builds suffers on arm64 from not being able to build natively (per lack of arm64 runners), and from Ubuntu not having musl-cross packages, so it requires a little manual (hackish) cross-compilation work. The Linux builds can safely be done on a newer version of the base system as we are using the musl runtime, and compile openssl statically, preventing any dependency on symbols from too new systems, ensuring binary compatibility with older systems. The macOS builds were done against Xcode 9.4 (the default on Travis), which targets macOS 10.13. The 10.13 SDK is not available on Github Actions, but we can set the deployment target to that value while using the 10.14 SDK from Xcode 10.3 for binary compatibility. In theory, we should be able to use an even newer Xcode/SDK, but I'd rather not risk it at this point. The Windows builds should have no binary compatibility issues.
Configuration menu - View commit details
-
Copy full SHA for 64ed0c1 - Browse repository at this point
Copy the full SHA 64ed0c1View commit details
Commits on Jan 6, 2021
-
Update documentation for the new config file path on macOS.
Fixes mozilla#919. This path changed due to the update of the directories dependency in commit 185c6ba.
Configuration menu - View commit details
-
Copy full SHA for 490240b - Browse repository at this point
Copy the full SHA 490240bView commit details -
Allow too_many_arguments warning on the preprocess function
I expect it to be addressed in mozilla#903.
Configuration menu - View commit details
-
Copy full SHA for 77e8ca2 - Browse repository at this point
Copy the full SHA 77e8ca2View commit details -
https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
Configuration menu - View commit details
-
Copy full SHA for 5ab0949 - Browse repository at this point
Copy the full SHA 5ab0949View commit details -
Configuration menu - View commit details
-
Copy full SHA for b308456 - Browse repository at this point
Copy the full SHA b308456View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e2a977 - Browse repository at this point
Copy the full SHA 7e2a977View commit details -
Revert "Upgrade redis to 0.18"
This reverts commit 9189ac6. The upgrade to 0.18 requires a tokio 0.3 runtime, which we don't have, so despite building, it doesn't actually work.
Configuration menu - View commit details
-
Copy full SHA for 10b072d - Browse repository at this point
Copy the full SHA 10b072dView commit details
Commits on Jan 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for eb33f09 - Browse repository at this point
Copy the full SHA eb33f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for c08bf2f - Browse repository at this point
Copy the full SHA c08bf2fView commit details -
Move lru-disk-cache to an internal module
See discussion in mozilla#916
Configuration menu - View commit details
-
Copy full SHA for 385f738 - Browse repository at this point
Copy the full SHA 385f738View commit details
Commits on Jan 8, 2021
-
Add C compiler versions to the hash calculation when available
The clang compiler is a relatively thin wrapper around libclang-cpp and libllvm, and in some cases, it's possible that two identical clang executables are actually for different builds of clang. While ideally we could find all the libraries it could be using, a work-around, good enough for now, is to check the compiler version, which we get from the __VERSION__ macro in the preprocessor we're already making.
Configuration menu - View commit details
-
Copy full SHA for 53200f8 - Browse repository at this point
Copy the full SHA 53200f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ff8a5 - Browse repository at this point
Copy the full SHA a3ff8a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd1eec - Browse repository at this point
Copy the full SHA 0fd1eecView commit details
Commits on Jan 11, 2021
-
Workaround tiny_http issue mozilla#151 by disabling HTTP pipelining
Instead of relying on a crate patch.
Configuration menu - View commit details
-
Copy full SHA for 2ec3867 - Browse repository at this point
Copy the full SHA 2ec3867View commit details
Commits on Jan 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6634e79 - Browse repository at this point
Copy the full SHA 6634e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6d2f7 - Browse repository at this point
Copy the full SHA 6b6d2f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22a176c - Browse repository at this point
Copy the full SHA 22a176cView commit details
Commits on Jan 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e8c4337 - Browse repository at this point
Copy the full SHA e8c4337View commit details
Commits on Jan 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f9f6e40 - Browse repository at this point
Copy the full SHA f9f6e40View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3f4727 - Browse repository at this point
Copy the full SHA b3f4727View commit details
Commits on Mar 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9ced903 - Browse repository at this point
Copy the full SHA 9ced903View commit details -
Use timezone name in azure headers
* Azure claims they follow rfc1123 here, which says implementations must accept both numeric and name for timezone: https://docs.microsoft.com/en-us/rest/api/storageservices/representation-of-date-time-values-in-headers * Using a numeric timezone always returns a http status with 403 though, but calls work with a timezone name work. * The examples in the above link use timezone names, so it should be safe to switch.
Configuration menu - View commit details
-
Copy full SHA for c161213 - Browse repository at this point
Copy the full SHA c161213View commit details -
Include CARGO environment variable in Rust hash generation.
Similarly to 1cbd656, CARGO is used in places in env! invocations.
Configuration menu - View commit details
-
Copy full SHA for 33623e1 - Browse repository at this point
Copy the full SHA 33623e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdf1598 - Browse repository at this point
Copy the full SHA fdf1598View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8d643 - Browse repository at this point
Copy the full SHA 7f8d643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 915e977 - Browse repository at this point
Copy the full SHA 915e977View commit details -
Fix clippy warnings with new version of clippy
https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps Partially based upon patch from Michael Woerister <michaelwoerister@posteo>.
Configuration menu - View commit details
-
Copy full SHA for 87e92b0 - Browse repository at this point
Copy the full SHA 87e92b0View commit details -
Run lints against a precise version of the rust toolchain
This will allow PRs with failed CI just because they happened with a newer version of rustfmt/clippy than last time the master branch was checked.
Configuration menu - View commit details
-
Copy full SHA for 3f318a8 - Browse repository at this point
Copy the full SHA 3f318a8View commit details
Commits on Sep 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3f5ca74 - Browse repository at this point
Copy the full SHA 3f5ca74View commit details
Commits on Oct 26, 2021
-
Update README.md (mozilla#997)
It seems that the `gcs` feature doesn't depend on OpenSSL whereas `dist-server` still does, so update the README accordingly.
Configuration menu - View commit details
-
Copy full SHA for 15b4c76 - Browse repository at this point
Copy the full SHA 15b4c76View commit details -
Make note of symlinks. (mozilla#1031)
* Make note of symlinks. It took me awhile before figuring out I should use hardlinks instead of symlinks. This proposal suggests adding a note in the hope it'll save someone else a bit of time. See also this issue: mozilla#993 where someone else also spent way too much time on this issue.
Configuration menu - View commit details
-
Copy full SHA for 06303be - Browse repository at this point
Copy the full SHA 06303beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6256f4b - Browse repository at this point
Copy the full SHA 6256f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc4daa9 - Browse repository at this point
Copy the full SHA cc4daa9View commit details
Commits on Oct 31, 2021
-
The `unknown_clippy_lints` is deprecated and has been integrated into the rustc `unknown_lints` lint, see https://rust-lang.github.io/rust-clippy/master/#unknown_clippy_lints. For the other two lints that are currently allowed, this moves it to the source code so it's easier to see what's expected to work and be warned against and what's not, without having to look at how exactly the current CI is set up. It's common to simply run `cargo clippy` when working on the project (similarly to `cargo fmt`) so this optimizes for that scenario. Some other repos that use this: - https://github.com/rust-lang/cargo/blob/master/src/cargo/lib.rs - https://github.com/rust-lang/rls/blob/master/rls/src/lib.rs - https://github.com/serde-rs/json/blob/master/src/lib.rs
Configuration menu - View commit details
-
Copy full SHA for 7ad6199 - Browse repository at this point
Copy the full SHA 7ad6199View commit details -
Don't allow unknown lints by default
So `unknown_clippy_lints` has been removed and has been theoretically lifted to rustc's `unknown_lints`, however it might not be a good idea to always allow for unknown lints in general. There should be a replacement for 'just ignore a Clippy lint that's unrecognized' but rustc offloads that responsibility to the tool and Clippy straight out unconditionally errors on an unrecognized attribute, ignoring the `unknown_lints` rustc lint setting. Since `unknown_clippy_lints` has been removed (and does nothing), there's no way to handle this anymore. With that said, we simply don't do anything regarding unknown Clippy lints and hope that Clippy will figure something out eventually.
Configuration menu - View commit details
-
Copy full SHA for 41d4b0f - Browse repository at this point
Copy the full SHA 41d4b0fView commit details
Commits on Nov 2, 2021
-
Use format-support version of `panic!` macro Remove redundant semicolon Signed-off-by: Emily Mabrey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0df34bb - Browse repository at this point
Copy the full SHA 0df34bbView commit details -
Resolve all clippy build errors
Resolve errors that were caused by immediate deref of a reference. Resolve errors that were caused by use of all caps acronyms. Resolve redundant reference to a reference error. Signed-off-by: Emily Mabrey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28f0b26 - Browse repository at this point
Copy the full SHA 28f0b26View commit details -
Replace deprecated clippy option
Replace "clippy::unknown-clippy-lints" with "unknown-lints". Signed-off-by: Emily Mabrey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04e619f - Browse repository at this point
Copy the full SHA 04e619fView commit details -
Signed-off-by: Emily Mabrey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 53e1615 - Browse repository at this point
Copy the full SHA 53e1615View commit details -
Remove needless borrowing in `src/compiler/rust.rs` Signed-off-by: Emily Mabrey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6020ebf - Browse repository at this point
Copy the full SHA 6020ebfView commit details -
Replace Github CI use of deprecated Ubuntu 16.04 with Ubuntu 18.04. Signed-off-by: Emily Mabrey <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0454224 - Browse repository at this point
Copy the full SHA 0454224View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4de4c31 - Browse repository at this point
Copy the full SHA 4de4c31View commit details -
One of the current failure is about ubuntu configuration
Configuration menu - View commit details
-
Copy full SHA for 6902165 - Browse repository at this point
Copy the full SHA 6902165View commit details
Commits on Nov 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a9bb85f - Browse repository at this point
Copy the full SHA a9bb85fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b25245 - Browse repository at this point
Copy the full SHA 7b25245View commit details
Commits on Nov 4, 2021
-
Update the minimum set of deps for cargo audit
cargo audit now reports 0 vulnerabilities down from 3
Configuration menu - View commit details
-
Copy full SHA for af94299 - Browse repository at this point
Copy the full SHA af94299View commit details
Commits on Nov 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 549cfd4 - Browse repository at this point
Copy the full SHA 549cfd4View commit details
Commits on Nov 9, 2021
-
Fix compilation error when not using Azure support
This also fixes CI errors.
Configuration menu - View commit details
-
Copy full SHA for 72755c6 - Browse repository at this point
Copy the full SHA 72755c6View commit details
Commits on Nov 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 905299f - Browse repository at this point
Copy the full SHA 905299fView commit details -
Migrate to stable Future trait and Tokio 0.2
Co-authored-by: Igor Matuszewski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7099d6 - Browse repository at this point
Copy the full SHA e7099d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b0dfd - Browse repository at this point
Copy the full SHA 68b0dfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7279bd2 - Browse repository at this point
Copy the full SHA 7279bd2View commit details -
Don't early return when we can't find rustup proxy exe
This fixes a bug introduced during the futures rewrite - we eagerly returned from the function rather than, as we did originally, falling back to compiling without proxy.
Configuration menu - View commit details
-
Copy full SHA for 9b8c037 - Browse repository at this point
Copy the full SHA 9b8c037View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4fcae4 - Browse repository at this point
Copy the full SHA d4fcae4View commit details -
fixup/dist: Construct auth hyper server in Tokio 0.2 context
This fixes a run-time error otherwise encountered in tests/oauth.rs
Configuration menu - View commit details
-
Copy full SHA for 607e9a8 - Browse repository at this point
Copy the full SHA 607e9a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2006639 - Browse repository at this point
Copy the full SHA 2006639View commit details
Commits on Nov 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 17ac3e1 - Browse repository at this point
Copy the full SHA 17ac3e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f26e3 - Browse repository at this point
Copy the full SHA 73f26e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0192fdd - Browse repository at this point
Copy the full SHA 0192fddView commit details
Commits on Nov 13, 2021
-
Followup on mozilla#985 to pull sccache the last little bit into tokio 1.0
Configuration menu - View commit details
-
Copy full SHA for 144eb0f - Browse repository at this point
Copy the full SHA 144eb0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4987c - Browse repository at this point
Copy the full SHA 3a4987cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8349926 - Browse repository at this point
Copy the full SHA 8349926View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4524382 - Browse repository at this point
Copy the full SHA 4524382View commit details
Commits on Nov 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7778c8d - Browse repository at this point
Copy the full SHA 7778c8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fff1a9e - Browse repository at this point
Copy the full SHA fff1a9eView commit details -
Don't inherit sccache-related env in integration tests
Because the configuration is merged from both the environment and the configuration file, it's possible to forget about overriding variables related to one of the backends (e.g. by setting `SCCACHE_REDIS`). To account for that and not have to explicitly list/remember all of the supported env vars, we just don't inherit the sccache-related environment at all when running this test.
Configuration menu - View commit details
-
Copy full SHA for b20734e - Browse repository at this point
Copy the full SHA b20734eView commit details
Commits on Nov 15, 2021
-
Add SCCACHE_C_CUSTOM_CACHE_BUSTER to CACHED_ENV_VARS
I needed a way to make hashes CWD-dependent, and it feels ugly to use other variables names for that purpose.
Configuration menu - View commit details
-
Copy full SHA for 50d0b1f - Browse repository at this point
Copy the full SHA 50d0b1fView commit details
Commits on Nov 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 44c6bc5 - Browse repository at this point
Copy the full SHA 44c6bc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65fcf56 - Browse repository at this point
Copy the full SHA 65fcf56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e106a4 - Browse repository at this point
Copy the full SHA 4e106a4View commit details
Commits on Nov 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7dea20a - Browse repository at this point
Copy the full SHA 7dea20aView commit details
Commits on Dec 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for be07f30 - Browse repository at this point
Copy the full SHA be07f30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 188e8a0 - Browse repository at this point
Copy the full SHA 188e8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e77e64c - Browse repository at this point
Copy the full SHA e77e64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for eec500e - Browse repository at this point
Copy the full SHA eec500eView commit details -
expand nvcc toolchain file list to enable dist nvcc, add script to cr…
…eate custom gcc+nvcc toolchain tgz
Configuration menu - View commit details
-
Copy full SHA for 52765ff - Browse repository at this point
Copy the full SHA 52765ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0e16b7 - Browse repository at this point
Copy the full SHA c0e16b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca9b7ce - Browse repository at this point
Copy the full SHA ca9b7ceView commit details
Commits on Dec 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8024345 - Browse repository at this point
Copy the full SHA 8024345View commit details