Skip to content

Fix #6805: add --enable-ccache configure option - #6813

Closed
pnkfelix wants to merge 1 commit into
rust-lang:incomingfrom
pnkfelix:fsk-issue-6805-ccache-support
Closed

Fix #6805: add --enable-ccache configure option#6813
pnkfelix wants to merge 1 commit into
rust-lang:incomingfrom
pnkfelix:fsk-issue-6805-ccache-support

Conversation

@pnkfelix

Copy link
Copy Markdown
Contributor

Fix#6805: add --enable-ccache configure option to prefix compiler invocations with ccache to attempt to reuse common results, e.g. for LLVM (re)builds.

The information at developer Note-ccache and at ccache and clang concerns were what drove my introduction of the -Qunused-arguments and CCACHE_CPP2 options. (Though I did confirm first-hand that at least the first really is necessary.)

Yes, one certainly can re-route how gcc and clang are resolved in one's PATH and use that as a way to invoke ccache. But I personally do not want to introduce that change to my own PATH, and this seems like a small enough change that it does not hurt to add it, at least for now. (I don't know what form it would take when we move over to rustpkg.)

…mpiler invocations with ccache to attempt to reuse common results, e.g. for LLVM (re)builds.
bors added a commit that referenced this pull request May 29, 2013
…catamorphism
Fix#6805: add --enable-ccache configure option to prefix compiler invocations with `ccache` to attempt to reuse common results, e.g. for LLVM (re)builds.
The information at developer [Note-ccache](../../wiki/Note-ccache) and at [ccache and clang concerns](http://petereisentraut.blogspot.fr/2011/09/ccache-and-clang-part-2.html) were what drove my introduction of the `-Qunused-arguments` and `CCACHE_CPP2` options. (Though I did confirm first-hand that at least the first really is necessary.)
Yes, one certainly can re-route how `gcc` and `clang` are resolved in one's PATH and use that as a way to invoke `ccache`. But I personally do not want to introduce that change to my own PATH, and this seems like a small enough change that it does not hurt to add it, at least for now. (I don't know what form it would take when we move over to `rustpkg`.)
@borsbors closed this May 29, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 11, 2021
…p1995
lintcheck, do some refactoring and add more sources
refactor: add a Config object
don't run in parallel mode by default (it didn't make sense because cargo would lock the shared target dir anyway)
show full paths (from repo root) to the source files in clippy warnings so we can just copy the path from the logfile
fix more bugs
add more crates by dtolnay and embark to the sources toml
changelog: lintcheck: refactor some code and add more sources
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6813: negative sign matching in mbe matching for literal r=edwin0cheng a=edwin0cheng
Fixrust-lang#6292
r @jonas-schievink Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@pnkfelix@catamorphism@bors