32 Commits

Author SHA1 Message Date
Shantanu Methikar 048a9f9be7 Update usage.md to include debug format for MSVC
We need to set Debug Information Format in VS to C7 compatible/ Old style to get all debugging information in obj file which is currently expected by buildcache
2021-09-02 11:49:25 +02:00
m 34e5e32356 doc: Update the CMake command line used for benchmarks 2021-06-29 08:16:28 +02:00
Florin Trofin 7461916e3b Add --config param for building Release
By default cmake will build Debug on Windows even if we specified `-DCMAKE_BUILD_TYPE=Release` in the previous step.
2021-05-11 18:17:56 +02:00
m f041fe67ab usage.md: Mention CMAKE_<LANG>_COMPILER_LAUNCHER 2021-04-19 13:47:45 +02:00
m eabc44bac9 lua_wrapper: Sort bcache library functions alphabetically 2021-02-23 07:28:00 +01:00
m a6c881e1f1 doc: Document all function in the Lua bcache library 2021-02-17 12:02:34 +01:00
m 078621634a doc: Update cache size figures in the benchmark
The old figures we produced without compression of the manifest files.
2021-01-19 14:50:28 +01:00
m e5139b570c doc: Compression is now on by default 2021-01-19 14:23:07 +01:00
m 13242a7989 doc: Add a graph of the LLVM build benchmark 2021-01-19 14:02:36 +01:00
m 63258b14c5 doc: Update benchmarks with direct mode results 2021-01-18 15:40:00 +01:00
m 3a1613eb04 lua: Implement support for direct mode 2021-01-18 07:16:05 +01:00
m 222919e8e8 doc: Document the BUILDCACHE_DIRECT_MODE option 2021-01-15 16:21:29 +01:00
m 40c685e2c9 program_wrapper: Change order of hashing and wrapper calls
This breaks backwards compatibility of cache hashes, which means that
old cache entries will not give cache hits.

The reason for the change is to make it easier to re-use the same
hashing order for Direct Mode and Preprocessor Mode caching.
2021-01-15 10:35:00 +01:00
Gregor Jasny e1cc6d49ea feat: Add HTTP cache provider
We'd like to use plain HTTP for remote object storage without
S3 specific calculations.
2020-11-27 08:11:13 +01:00
Gregor Jasny cded333258 feat: add option to hash additional files
Add an option to read and hash the content of extra files
like ccache also provides in the `CCACHE_EXTRAFILES`.

This functionality could come in handy until buildcache gets
an understanding for the -fsanitize-blacklist Clang compiler
option.
2020-11-13 12:44:37 +01:00
Ivan Savin f663d80a14 Add a 'terminate on a miss' mode 2020-09-23 10:58:14 +02:00
m ce0fd23adb Add a BUILDCACHE_READ_ONLY_REMOTE setting
The remote cache is read but not updated if this setting is true.
2020-09-22 12:16:52 +02:00
m 11b023f197 main: Add a new option: --show-config
Do not show the configuration as part of the stats, but via a separate
option instead.
2020-09-21 10:41:59 +02:00
m 21f975c788 doc: Sort configuration parameters 2020-09-21 10:22:07 +02:00
m bc41c1b0c7 lock_file: Refactor the code
* Don't depend on config_t in lock_file_t
* Fixes for long path names
* Add unit and stress tests for local locks
* Rename config to BUILDCACHE_REMOTE_LOCKS (default = false)
2020-09-17 08:38:32 +02:00
Shawn Hoffman 63e40bb896 Windows: Add mutex-based implementation of lock_file_t 2020-09-17 08:37:58 +02:00
m 3933838084 usage.md: Fix typos etc in BUILDACHE_IMPERSONATE docs 2020-09-13 18:12:00 +02:00
Shawn Hoffman 6b5e781abd Add impersonate setting to override wrapped exe 2020-09-13 16:52:35 +02:00
Ivan Savin 67f7fc8016 An environment variable's name change from READONLY to READ_ONLY 2020-08-13 19:13:53 +04:00
Ivan Savin 31a6509504 Add a read-only mode to the documentation 2020-08-13 19:13:53 +04:00