Граф коммитов

595 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 4f59801408 Bug 1154377 - Set the socket timeout to 5 seconds for HTTP GET requests. r=mshal 2015-04-16 23:27:25 +09:00
Mike Hommey 1fd35f1884 Bug 1142458 - Also make IPHONEOS_DEPLOYMENT_TARGET part of the cache key. r=mshal 2015-04-16 23:27:23 +09:00
Mike Hommey f2429b787a Bug 1142458 - Make MACOSX_DEPLOYMENT_TARGET part of the cache key. r=mshal
The MACOSX_DEPLOYMENT_TARGET environment variable can influence the result of
compilation. As such, its value should be part of the cache key.
2015-04-14 10:34:28 +09:00
Mike Hommey e68dfc22e9 Bug 1094565 - Put data in reduced redundancy storage. r=mshal 2014-11-11 17:04:50 +09:00
Ehsan Akhgari 8ff474eb9a Make sccache recognize clang-cl correctly
clang-cl defines both _MSC_VER and __clang__, so if __clang__
is checked first, sccache would think that it's clang, not
MSVC.
2014-10-16 21:23:18 -04:00
Mike Hommey 7c87f05506 Bug 1058565 - Correctly handle bad cache data. r=mshal 2014-08-27 11:15:26 +09:00
Mike Hommey 6938a9b865 Bug 1057119 - Avoid the Host header containing the resolved IP address on reused HTTP connections. r=mshal 2014-08-22 09:24:53 +09:00
Mike Hommey 4d312f8b9a Bug 1055872 - Retry S3 PUT up to twice in case it returns a 403 error. r=mshal 2014-08-21 06:21:05 +09:00
Mike Hommey 2fd3b775f9 Bug 1055872 - Show storage failures in sccache stats. r=mshal 2014-08-21 06:21:03 +09:00
Mike Hommey 9cf47c5849 Bug 1016473 - Gracefully handle bad zip data gotten from storage. r=mshal 2014-07-30 07:28:56 +09:00
Mike Hommey 705e916928 Bug 1027450 - Remove sccache startup message. r=mshal 2014-07-29 10:58:52 +09:00
Mike Hommey cfd7d80c30 Bug 1020827 - Allow to fallback to S3 when S3-like storage fails. r=mshal
The intent is to be able to use a proxy server in front of S3, and fallback
to S3 if the proxy server fails for some reason.
2014-06-06 09:35:46 +09:00
Mike Hommey 2eab09769f Merge pull request #1 from mshal/bug-1006582
Bug 1006582 - Set output encoding in case of file redirects; r=glandium
2014-05-30 07:18:20 +09:00
Mike Hommey b1b4c91659 Merge pull request #2 from mshal/bug-1006578
Bug 1006578 - Report error text when the server fails to start; r=glandi...
2014-05-28 10:52:16 +09:00
Mike Shal c8decd76ff Bug 1006582 - Set output encoding in case of file redirects; r=glandium 2014-05-23 15:25:19 -04:00
Mike Shal 1ad54180b6 Bug 1006578 - more helpful error when server.py fails; r=glandium 2014-05-23 14:21:05 -04:00
Mike Hommey e27061ac46 Bug 1011445 - Add cache control metadata. r=mshal 2014-05-20 14:15:02 +09:00
Mike Hommey bc1ae2a501 Bug 1007942 - Remove SCCACHE_NO_HTTPS, and rely on "normal" boto config instead. r=mshal 2014-05-13 14:06:50 +09:00
Mike Hommey 1e898e86c6 Add a note about the lack of local storage cleanup 2014-05-08 15:21:37 +09:00
Mike Hommey 216b626380 Add a basic README.md 2014-05-08 15:05:28 +09:00
Mike Hommey 9bfb8c0424 Add a shebang on sccache.py 2014-05-08 14:37:16 +09:00
Mike Hommey 000a853aa4 Import which.py to make things more helpful off a local clone 2014-05-08 14:32:26 +09:00
Mike Hommey 2f4c9a9850 Bug 1002596 - Fix various sccache problems with clang. r=mshal
- The compiler detection uses a c input, which clang++ complain about on
  stderr, and that fails because stderr is not opened for write when executing
  it.
- The -M* flags are given to both the preprocessor and the compiler, which
  breaks what ends up in depfiles because of the temporary source files for
  compilation. We only mean to use those flags on preprocessor.
- sccache doesn't know all flags clang supports that take a value, most notably
  -arch, we use during the build.
- clang tries to be smart with warnings, and may emit more of them when
  compiling preprocessed output, which, when combined with -Werror leads to
  build failures.
- ECONNREFUSED value is not the same as on Linux
2014-04-29 03:27:00 +09:00
Mike Hommey b259421c52 Bug 1000731 - Avoid process pool creating windows for each new process on Windows. r=mshal 2014-04-29 01:19:29 +09:00
Mike Hommey 6bc792b21b Bug 1000726 - Add support for -Zi -Fd with MSVC. r=mshal 2014-04-29 01:19:26 +09:00
Mike Hommey 75ed3a4fe7 Bug 1000728 - Add support for -gsplit-dwarf on GCC. r=mshal 2014-04-29 01:19:23 +09:00
Mike Hommey 757c1345e1 Bug 1000730 - Add stats for failures to cache. r=mshal 2014-04-29 01:19:18 +09:00
Mike Hommey 2fe8041831 Bug 1000723 - Add generic support for multiple output from compilation. r=mshal 2014-04-29 01:19:15 +09:00
Mike Hommey aba929bf9f Bug 1000723 - Also store stdout in cache (MSVC likes writing there). r=mshal 2014-04-29 01:19:12 +09:00
Mike Hommey 731021708b Bug 1000723 - Allow to store more than one object file in CacheData, and add stderr. r=mshal 2014-04-29 01:19:08 +09:00
Mike Hommey 27424e20e0 Bug 1000718 - Create hierarchy at the storage level instead of when creating the key. r=mshal
Also, use a two-level hierarchy for local storage
2014-04-29 01:19:05 +09:00
Mike Hommey e401cb6a95 Bug 1000718 - Avoid requiring boto when not using S3 storage. r=mshal 2014-04-29 01:19:01 +09:00
Mike Hommey 986c863e9c Bug 1000718 - Add basic local storage. r=mshal 2014-04-29 01:18:57 +09:00
Mike Hommey f5fdc2fbe4 Massive refactoring, with initial MSVC support 2014-04-23 16:24:00 +09:00
Mike Hommey 8318f9ea41 Fix typo 2014-03-06 19:56:30 +09:00
Mike Hommey 294f8e47ed Remove sccache logging 2014-03-06 08:18:25 +09:00
Mike Hommey 0395ae0802 Remove Timer and status 2014-02-27 11:06:33 +09:00
Mike Hommey 572dfda5c8 Add cwd parameter to get_result() 2014-02-27 11:06:29 +09:00
Mike Hommey c5d1093c55 Fix typo for WhichError 2014-02-21 11:14:12 +09:00
Mike Hommey 19c52ec2ad Add DNS cache 2014-02-21 09:53:26 +09:00
Mike Hommey e86b7ebf1a Only pass bucket status code to the status() function 2014-02-20 15:04:39 +09:00
Mike Hommey f7f5479009 Make cache_store independent of the multiprocessing workflow 2014-02-20 13:47:39 +09:00
Mike Hommey 751a8c23ee Wrap all subprocesses output 2014-02-20 11:09:27 +09:00
Mike Hommey 208fdeb9cd Add support for different S3 calling formats and HTTP connections 2014-02-18 14:01:36 +09:00
Mike Hommey 115016e0a8 Initial shared cache implementation 2014-02-18 13:59:09 +09:00