]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
6 days agofix: Expand system-dependent -m{arch,cpu,tune}=native options master
Joel Rosdahl [Thu, 24 Jul 2025 13:35:47 +0000 (15:35 +0200)] 
fix: Expand system-dependent -m{arch,cpu,tune}=native options

The -march=native, -mcpu=native and -mtune=native options have different
effects depending on which system the compiler is run.

Fix this by asking the compiler which cc1 options the -m*=native options
expand to and including them in the input hash.

Fixes #824.

6 days agorefactor: Extract command execution code from hashutil to util function
Joel Rosdahl [Thu, 24 Jul 2025 11:18:40 +0000 (13:18 +0200)] 
refactor: Extract command execution code from hashutil to util function

6 days agofeat: Improve logging in execute* functions
Joel Rosdahl [Thu, 24 Jul 2025 10:55:32 +0000 (12:55 +0200)] 
feat: Improve logging in execute* functions

6 days agochore: Simplify Windows-specific hacks for shell scripts in test suite
Joel Rosdahl [Wed, 23 Jul 2025 12:46:39 +0000 (14:46 +0200)] 
chore: Simplify Windows-specific hacks for shell scripts in test suite

6 days agorefactor: Improve variable name in win32execute
Joel Rosdahl [Thu, 24 Jul 2025 08:58:03 +0000 (10:58 +0200)] 
refactor: Improve variable name in win32execute

7 days agochore: Remove dead code in hash_command_output
Joel Rosdahl [Wed, 23 Jul 2025 11:17:02 +0000 (13:17 +0200)] 
chore: Remove dead code in hash_command_output

7 days agorefactor: Move Args to util namespace
Joel Rosdahl [Wed, 23 Jul 2025 08:44:00 +0000 (10:44 +0200)] 
refactor: Move Args to util namespace

8 days agoenhance: Add Args initializer list constructor
Joel Rosdahl [Mon, 21 Jul 2025 19:00:27 +0000 (21:00 +0200)] 
enhance: Add Args initializer list constructor

8 days agochore: Add build-ccache-with-itself script
Joel Rosdahl [Tue, 22 Jul 2025 12:43:25 +0000 (14:43 +0200)] 
chore: Add build-ccache-with-itself script

This script can be used to verify that ccache is able to cache a build
of itself.

Example usage:

    COMMAND=/source/misc/build-ccache-with-itself misc/build-in-docker debian-12

9 days agochore: Finalize renaming of namespaces to lowercase
Joel Rosdahl [Mon, 21 Jul 2025 11:17:26 +0000 (13:17 +0200)] 
chore: Finalize renaming of namespaces to lowercase

9 days agofix: Keep original order of compiler arguments
Joel Rosdahl [Sun, 20 Jul 2025 13:41:44 +0000 (15:41 +0200)] 
fix: Keep original order of compiler arguments

Now when CCACHE_NOCPP2 (run_second_cpp = false) has been removed (see
fd9de83446aeaf1eb1b33a2d900ea1ff757c4509) we can simplify compiler
argument juggling: instead of partitioning arguments into different
lists and reassemble them later, we can build up the preprocessor and
compiler command lines while we go, thus keeping the original order of
arguments.

Fixes #738.

9 days agochore: Remove ability to avoid 2nd call to preprocessor (run_second_cpp)
Joel Rosdahl [Sat, 19 Jul 2025 18:43:32 +0000 (20:43 +0200)] 
chore: Remove ability to avoid 2nd call to preprocessor (run_second_cpp)

ccache before version 1.6 (2002) always sent precompiled source to the
compiler as an optimization to avoid running the preprocessor a second
time. ccache 1.6 (2002) introduced CCACHE_CPP2 to optionally disable
this optimization. This seemed to work well until mid 2010s when
compilers started to behave differently when compiling preprocessed and
non-preprocessed source code. Thus, ccache 3.3 (2016) flipped the
default to make the optimization opt-in via CCACHE_NOCPP2 (or
"run_second_cpp = false").

Fast forward to 2025:

- As far as I can tell, CCACHE_NOCPP2 is used by essentially nobody
  which isn't surprising since it generally doesn't work well.
- The feature comes with increased code complexity. The most painful
  part is that compiler arguments need to be carefully filtered and sent
  to only the preprocessor, only the compiler or both, depending on
  whether run_second_cpp is true or false. And it can be forced to true
  in the middle of argument parsing when an argument that is
  incompatible with "run_second_cpp = false" is found.
- There have been a non-trivial amount of bugs related to CCACHE_NOCPP2
  during the years due to the added complexity and due to new compiler
  behavior that is incompatible with the mode.a
- The depend mode is a more performant alternative to "run_second_cpp =
  false" since ccache 3.6 (2019), though with different tradeoffs.

Thus it's time to make the code less complex and more maintainable:
remove the optimization to send the precompiled source code to the
compiler.

This opens up making argument juggling simpler and fixing bug #738.

9 days agochore: Improve code style
Joel Rosdahl [Sat, 19 Jul 2025 11:08:52 +0000 (13:08 +0200)] 
chore: Improve code style

9 days agochore: Bump to Clang-Format 18
Joel Rosdahl [Sat, 19 Jul 2025 09:06:56 +0000 (11:06 +0200)] 
chore: Bump to Clang-Format 18

9 days agodocs: Mention mitigation for direct mode caveat
Joel Rosdahl [Sat, 19 Jul 2025 10:49:31 +0000 (12:49 +0200)] 
docs: Mention mitigation for direct mode caveat

13 days agofix: Fix bug in support for Clang to compile CUDA code on Windows
senhtry [Thu, 17 Jul 2025 14:01:51 +0000 (22:01 +0800)] 
fix: Fix bug in support for Clang to compile CUDA code on Windows

13 days agochore: Remove ubuntu-20.04 Dockerfile as its CMake is too old
Joel Rosdahl [Thu, 17 Jul 2025 13:47:50 +0000 (15:47 +0200)] 
chore: Remove ubuntu-20.04 Dockerfile as its CMake is too old

13 days agobuild: Drop minimum CMake version to 3.18
Joel Rosdahl [Thu, 17 Jul 2025 13:25:05 +0000 (15:25 +0200)] 
build: Drop minimum CMake version to 3.18

This is to keep supporting Debian 11 for a while longer.

Note that 8648532e3cdcd6a0c4fb12b65e1ca9a8972a1e06 requires CMake > 3.16
(not sure whether 3.17 works), so dropping back to 3.15 is not possible.

Closes #1611.

2 weeks agofix: Include MSVC variables INCLUDE and EXTERNAL_INCLUDE in input hash
Joel Rosdahl [Tue, 15 Jul 2025 14:48:00 +0000 (16:48 +0200)] 
fix: Include MSVC variables INCLUDE and EXTERNAL_INCLUDE in input hash

See discussion #1606.

2 weeks agoci: Small GH actions cleanup (#1602)
Maksym Sobolyev [Mon, 14 Jul 2025 18:17:01 +0000 (11:17 -0700)] 
ci: Small GH actions cleanup (#1602)

Remove superfluous ${{ }}.

2 weeks agoLink libatomic statically when STATIC_LINK is set (#1601)
Maksym Sobolyev [Mon, 14 Jul 2025 18:16:23 +0000 (11:16 -0700)] 
Link libatomic statically when STATIC_LINK is set (#1601)

Link libatomic statically when STATIC_LINK is set.

2 weeks agobuild: Avoid warning from downloaded zstd's CMake scripts
Joel Rosdahl [Mon, 14 Jul 2025 13:56:24 +0000 (15:56 +0200)] 
build: Avoid warning from downloaded zstd's CMake scripts

2 weeks agobuild: Use FetchContent_MakeAvailable instead of FetchContent_Populate
Joel Rosdahl [Mon, 14 Jul 2025 13:44:22 +0000 (15:44 +0200)] 
build: Use FetchContent_MakeAvailable instead of FetchContent_Populate

Closes #1501.

2 weeks agobuild: Require CMake 3.22 or newer
Joel Rosdahl [Mon, 14 Jul 2025 09:12:38 +0000 (11:12 +0200)] 
build: Require CMake 3.22 or newer

For reference, CMake 3.22 is available in Debian 11 as well as Ubuntu
22.04. Distributions based on RHEL 8 have 3.25 or later.

3 weeks agofeat: Embed manifest to enable long paths on Windows (#1596)
Morten Engelhardt Olsen [Wed, 9 Jul 2025 10:39:58 +0000 (03:39 -0700)] 
feat: Embed manifest to enable long paths on Windows (#1596)

On a windows build, add a ccache.exe manifest which enables long path awareness in Windows 10+.

Fixes #1595.

4 weeks agotest: Add test for tricky preprocessed cache hit case
Joel Rosdahl [Thu, 26 Jun 2025 19:16:57 +0000 (21:16 +0200)] 
test: Add test for tricky preprocessed cache hit case

See PR #1594.

4 weeks agofeat: Improve logging for manifest lookup
Joel Rosdahl [Mon, 9 Jun 2025 17:55:23 +0000 (19:55 +0200)] 
feat: Improve logging for manifest lookup

7 weeks agobuild: Use bundled fmt if DEPS=DOWNLOAD as documented
Joel Rosdahl [Mon, 9 Jun 2025 15:08:25 +0000 (17:08 +0200)] 
build: Use bundled fmt if DEPS=DOWNLOAD as documented

7 weeks agofeat: Log URLs requested by http backend
Joel Rosdahl [Mon, 9 Jun 2025 15:06:44 +0000 (17:06 +0200)] 
feat: Log URLs requested by http backend

7 weeks agofix: Detect cc/c++ hard link to clang/clang++ before gcc/g++
Joel Rosdahl [Sat, 7 Jun 2025 19:16:30 +0000 (21:16 +0200)] 
fix: Detect cc/c++ hard link to clang/clang++ before gcc/g++

Apparently clang/clang++ can be gcc/g++ in addition to cc/c++, at least
on some macOS versions, so detect clang hard link before gcc since the
other way around (gcc installed as an alias of clang) seems less likely.

Fixes #1597.

2 months agoci: Remove jobs for soon to be removed windows-2019 runner
Joel Rosdahl [Fri, 30 May 2025 16:33:28 +0000 (18:33 +0200)] 
ci: Remove jobs for soon to be removed windows-2019 runner

2 months agochore: Tweak Clang CUDA code slightly
Joel Rosdahl [Sun, 25 May 2025 17:53:25 +0000 (19:53 +0200)] 
chore: Tweak Clang CUDA code slightly

2 months agochore: Fix source file headers
Joel Rosdahl [Sun, 25 May 2025 17:52:44 +0000 (19:52 +0200)] 
chore: Fix source file headers

2 months agochore: Clean up and modernize dockerfiles
Joel Rosdahl [Sat, 3 May 2025 08:20:30 +0000 (10:20 +0200)] 
chore: Clean up and modernize dockerfiles

2 months agofeat: Support -x cu and -x cuda in Clang CUDA mode (#1593)
R43Qi8krC [Thu, 29 May 2025 09:41:24 +0000 (17:41 +0800)] 
feat: Support -x cu and -x cuda in Clang CUDA mode (#1593)

2 months agoci: Use CodeQL v3 (#1592)
Gregor Jasny [Sun, 25 May 2025 13:35:53 +0000 (15:35 +0200)] 
ci: Use CodeQL v3 (#1592)

This workflow throws an deprecation warning right now:

CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/

2 months agofeat: Add support for Clang compiling CUDA code (#1577)
R43Qi8krC [Sun, 25 May 2025 13:33:08 +0000 (21:33 +0800)] 
feat: Add support for Clang compiling CUDA code (#1577)

2 months agochore: Update NEWS
Joel Rosdahl [Sat, 3 May 2025 08:40:16 +0000 (10:40 +0200)] 
chore: Update NEWS

(cherry picked from commit a50f01935030e46fd6f35184ba7b1f11105967b7)

2 months agoci: Disable testing for Windows MSYS2 mingw64 clang
Joel Rosdahl [Thu, 1 May 2025 15:22:15 +0000 (17:22 +0200)] 
ci: Disable testing for Windows MSYS2 mingw64 clang

Clang warns about doctest's include of ciso646:

    In file included from D:/a/ccache/ccache/unittest/main.cpp:26:
    In file included from D:/a/ccache/ccache/build/_deps/doctest-src/doctest/doctest.h:499:
    D:/a/_temp/msys64/mingw64/include/c++/15.1.0/ciso646:46:4: error: "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror,-W#warnings]

       46 | #  warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"

          |    ^

    1 error generated.

See also doctest issue 900.

2 months agobuild: Adapt to doctest 2.4.12
Joel Rosdahl [Mon, 28 Apr 2025 20:01:35 +0000 (22:01 +0200)] 
build: Adapt to doctest 2.4.12

Apparently doctest 2.4.12 has introduced some backward incompatibility
that affects our unit tests, so adapt accordingly.

Fixes #1589.

3 months agofix: Don't swallow -Xpreprocessor -fopenmp
Joel Rosdahl [Wed, 23 Apr 2025 18:20:33 +0000 (20:20 +0200)] 
fix: Don't swallow -Xpreprocessor -fopenmp

This fixes regression in bea737780727e751a8193fc80c83c7c072b8048e

Fixes #1586.

3 months agobump: Upgrade to hiredis 1.3.0
Joel Rosdahl [Wed, 23 Apr 2025 17:23:26 +0000 (19:23 +0200)] 
bump: Upgrade to hiredis 1.3.0

3 months agobump: Upgrade to BLAKE3 1.8.2
Joel Rosdahl [Wed, 23 Apr 2025 17:22:03 +0000 (19:22 +0200)] 
bump: Upgrade to BLAKE3 1.8.2

3 months agochore: Split util::split_once into util::split_once{,_to_views}
Joel Rosdahl [Wed, 23 Apr 2025 17:16:24 +0000 (19:16 +0200)] 
chore: Split util::split_once into util::split_once{,_to_views}

The util::split_once(std::string&&, char) version is a bit overly smart
in that it returns std::string instead of std::string_view for a
temporary std::string input. To reduce the risk for surprises, introduce
a util::split_once_into_views so that input lifetime is indicated in the
method name instead.

3 months agochore: Clean up profiling_gcc_10+ test suite
Joel Rosdahl [Sat, 19 Apr 2025 18:35:04 +0000 (20:35 +0200)] 
chore: Clean up profiling_gcc_10+ test suite

3 months agotest: Silence benign compiler warning in the profiling_gcc_10+ suite
Joel Rosdahl [Sat, 19 Apr 2025 18:34:02 +0000 (20:34 +0200)] 
test: Silence benign compiler warning in the profiling_gcc_10+ suite

3 months agochore: Fix some Clang-Tidy warnings
Joel Rosdahl [Sat, 19 Apr 2025 18:30:01 +0000 (20:30 +0200)] 
chore: Fix some Clang-Tidy warnings

3 months agochore: Build with -Wextra-semi/-Wextra-semi-stmt and fix issues
Joel Rosdahl [Tue, 1 Apr 2025 19:45:05 +0000 (21:45 +0200)] 
chore: Build with -Wextra-semi/-Wextra-semi-stmt and fix issues

3 months agofeat: Log which result entry matched in manifest
Joel Rosdahl [Mon, 31 Mar 2025 18:04:16 +0000 (20:04 +0200)] 
feat: Log which result entry matched in manifest

4 months agochore: Log usage of cmd_args temporary file earlier
Joel Rosdahl [Sun, 30 Mar 2025 09:08:30 +0000 (11:08 +0200)] 
chore: Log usage of cmd_args temporary file earlier

4 months agofeat: Improve logging of process exit
Joel Rosdahl [Sun, 30 Mar 2025 09:08:21 +0000 (11:08 +0200)] 
feat: Improve logging of process exit

4 months agofeat: Log mtime for removed files in internal tempdir
Joel Rosdahl [Sun, 30 Mar 2025 09:06:33 +0000 (11:06 +0200)] 
feat: Log mtime for removed files in internal tempdir

4 months agorefactor: Extract timestamp format to util::format_iso8601_timestamp
Joel Rosdahl [Sun, 30 Mar 2025 08:46:48 +0000 (10:46 +0200)] 
refactor: Extract timestamp format to util::format_iso8601_timestamp

4 months agochore: Update NEWS
Joel Rosdahl [Sat, 22 Mar 2025 12:55:22 +0000 (13:55 +0100)] 
chore: Update NEWS

(cherry picked from commit ddb73f16079a41b93ec7e65cb6769f9b5f7d3f68)

4 months agochore: Update NEWS
Joel Rosdahl [Sat, 22 Mar 2025 12:52:52 +0000 (13:52 +0100)] 
chore: Update NEWS

(cherry picked from commit 45018e4ecf606e1e0c83446fdc0c8516fda58958)

4 months agofix: Reset signal mask and defaults when executing compiler
Joel Rosdahl [Thu, 20 Mar 2025 18:49:06 +0000 (19:49 +0100)] 
fix: Reset signal mask and defaults when executing compiler

Fixes regression in 1eb0aa5b9bcf74bd2ca6f161e406da64ccd349af where
posix_spawn was introduced to replace fork.

Fixes #1580.

4 months agobump: Upgrade to cpp-httplib 0.20.0
Joel Rosdahl [Tue, 18 Mar 2025 17:32:59 +0000 (18:32 +0100)] 
bump: Upgrade to cpp-httplib 0.20.0

4 months agochore: Update NEWS
Joel Rosdahl [Mon, 17 Mar 2025 18:28:57 +0000 (19:28 +0100)] 
chore: Update NEWS

(cherry picked from commit e05fab8e734c76e70d821ca7036e73a25dd564cf)

4 months agofix: Fix log file locking on Windows
Joel Rosdahl [Thu, 13 Mar 2025 15:37:18 +0000 (16:37 +0100)] 
fix: Fix log file locking on Windows

Fixes #1575.

4 months agochore: Prepare for release v4.11
Joel Rosdahl [Sun, 9 Mar 2025 15:06:45 +0000 (16:06 +0100)] 
chore: Prepare for release

4 months agochore: Update authors
Joel Rosdahl [Sun, 9 Mar 2025 15:02:15 +0000 (16:02 +0100)] 
chore: Update authors

4 months agochore: Update NEWS
Joel Rosdahl [Sun, 9 Mar 2025 14:47:52 +0000 (15:47 +0100)] 
chore: Update NEWS

4 months agotest: Remove centos-7 Dockerfile
Joel Rosdahl [Sun, 9 Mar 2025 14:46:45 +0000 (15:46 +0100)] 
test: Remove centos-7 Dockerfile

4 months agotest: Add alma-8 Dockerfile
Joel Rosdahl [Mon, 3 Mar 2025 20:49:30 +0000 (21:49 +0100)] 
test: Add alma-8 Dockerfile

4 months agofeat: Add knowledge about options related to react-native builds (#1567)
kzlar [Wed, 5 Mar 2025 17:37:04 +0000 (19:37 +0200)] 
feat: Add knowledge about options related to react-native builds (#1567)

- Add compopt entries for -ivfsoverlay, -fmodules-cache-path, -fmodule-map-file and -fbuild-session-file
- Add hashing of build session file mtime unless sloppiness flag is set
- Add unit tests for the flags above as well as an e2e test for -fbuild-session-file

4 months agotest: Add debian-12 to test-all-systems
Joel Rosdahl [Mon, 3 Mar 2025 19:13:47 +0000 (20:13 +0100)] 
test: Add debian-12 to test-all-systems

4 months agotest: Refresh dockerfiles and add Debian 12 (#1538)
Maksym Sobolyev [Mon, 3 Mar 2025 19:13:05 +0000 (11:13 -0800)] 
test: Refresh dockerfiles and add Debian 12 (#1538)

- Make gcc package name configurable, this is to fix
  "E: Package 'gcc-multilib' has no installation candidate"
  on non-x86.

- Allow BASE_IMAGE to be overridden.

- Add Debian 12.

4 months agorefactor: Remove redundant args_info parameter from hash_common_info
Joel Rosdahl [Sun, 2 Mar 2025 09:32:54 +0000 (10:32 +0100)] 
refactor: Remove redundant args_info parameter from hash_common_info

4 months agodocs: Add space after CMake -D option
Joel Rosdahl [Sat, 1 Mar 2025 09:00:43 +0000 (10:00 +0100)] 
docs: Add space after CMake -D option

5 months agobump: Upgrade to xxhash 1.5.7
Joel Rosdahl [Thu, 27 Feb 2025 19:57:07 +0000 (20:57 +0100)] 
bump: Upgrade to xxhash 1.5.7

5 months agobump: Upgrade to xxhash 0.8.3
Joel Rosdahl [Thu, 27 Feb 2025 19:55:23 +0000 (20:55 +0100)] 
bump: Upgrade to xxhash 0.8.3

5 months agobump: Upgrade to fmt 11.1.4
Joel Rosdahl [Thu, 27 Feb 2025 19:50:42 +0000 (20:50 +0100)] 
bump: Upgrade to fmt 11.1.4

5 months agobump: Upgrade to blake3 1.6.1
Joel Rosdahl [Thu, 27 Feb 2025 19:47:07 +0000 (20:47 +0100)] 
bump: Upgrade to blake3 1.6.1

5 months agobump: Upgrade to cpp-httplib 0.19.0
Joel Rosdahl [Thu, 27 Feb 2025 19:42:50 +0000 (20:42 +0100)] 
bump: Upgrade to cpp-httplib 0.19.0

5 months agorefactor: Simplify nested ifs
Joel Rosdahl [Mon, 24 Feb 2025 19:18:35 +0000 (20:18 +0100)] 
refactor: Simplify nested ifs

5 months agofeat: Add knowledge about --offload-compress (#1571)
Icarus Sparry (work) [Thu, 27 Feb 2025 19:30:51 +0000 (11:30 -0800)] 
feat: Add knowledge about --offload-compress (#1571)

Clang has a feature where it can compress compiler products such as object files, and this includes when it is just called to preprocess the input file.

Ccache expects to be able to process the output of the preprocessor, and is not expecting a compressed binary file.

The fix is to remove this "--offload-compress" option using the existing facilities when preprocessing.

5 months agofix: Rename raw files correctly for >2 cache levels
Oded S [Thu, 27 Feb 2025 19:22:47 +0000 (21:22 +0200)] 
fix: Rename raw files correctly for >2 cache levels

LocalStorage::move_to_wanted_cache_level renames raw files incorrectly without
recalculating full hash filename with new prefix.

5 months agoci: Test more Clang versions available in ubuntu-24
Joel Rosdahl [Sun, 9 Feb 2025 17:37:02 +0000 (18:37 +0100)] 
ci: Test more Clang versions available in ubuntu-24

5 months agoci: Drop ubuntu-20 in favor of ubuntu-22
Joel Rosdahl [Sun, 9 Feb 2025 17:36:34 +0000 (18:36 +0100)] 
ci: Drop ubuntu-20 in favor of ubuntu-22

6 months agorefactor: Simplify code for executing Windows processes
Joel Rosdahl [Sat, 11 Jan 2025 14:40:17 +0000 (15:40 +0100)] 
refactor: Simplify code for executing Windows processes

6 months agochore: Simplify util::add_exe_suffix
Joel Rosdahl [Sat, 25 Jan 2025 19:43:33 +0000 (20:43 +0100)] 
chore: Simplify util::add_exe_suffix

6 months agofix: Fix --trim-method mtime
Joel Rosdahl [Tue, 28 Jan 2025 17:07:23 +0000 (18:07 +0100)] 
fix: Fix --trim-method mtime

6 months agofix: Handle command line config options ending with /ccache properly
Joel Rosdahl [Sat, 25 Jan 2025 19:32:29 +0000 (20:32 +0100)] 
fix: Handle command line config options ending with /ccache properly

Fixes #1560.

6 months agofeat: Add support for -f(debug|file)-compilation-dir (#1535)
Henrique Ferreiro [Fri, 10 Jan 2025 13:38:11 +0000 (14:38 +0100)] 
feat: Add support for -f(debug|file)-compilation-dir (#1535)

6 months agofeat: Support .bat and .cmd scripts as the compiler on Windows (#1546)
Doekin [Fri, 10 Jan 2025 13:27:56 +0000 (21:27 +0800)] 
feat: Support .bat and .cmd scripts as the compiler on Windows (#1546)

6 months agodocs: Fix typo
Joel Rosdahl [Mon, 6 Jan 2025 09:32:26 +0000 (10:32 +0100)] 
docs: Fix typo

6 months agodocs: Clarify how LRU cleanup works
Joel Rosdahl [Mon, 6 Jan 2025 09:28:44 +0000 (10:28 +0100)] 
docs: Clarify how LRU cleanup works

Closes #1543.

6 months agofix: Correctly call sha256sum on macOS (#1549)
Henrique Ferreiro [Mon, 6 Jan 2025 08:40:17 +0000 (09:40 +0100)] 
fix: Correctly call sha256sum on macOS (#1549)

sha256sum requires explicitly using `-` as the input file on macOS.

6 months agodocs: Fix description of icx-cl (#1548)
Nick Sarnie [Thu, 2 Jan 2025 18:34:34 +0000 (03:34 +0900)] 
docs: Fix description of icx-cl (#1548)

6 months agochore: Improve variable name in misc/clang-format
Joel Rosdahl [Wed, 1 Jan 2025 13:13:24 +0000 (14:13 +0100)] 
chore: Improve variable name in misc/clang-format

6 months agoperf: Avoid stat call for ~/.ccache if CCACHE_DIR is set
Joel Rosdahl [Wed, 1 Jan 2025 13:02:25 +0000 (14:02 +0100)] 
perf: Avoid stat call for ~/.ccache if CCACHE_DIR is set

Closes #1541.

6 months agochore: Add NOCACHE option to misc/build-in-docker
Joel Rosdahl [Wed, 1 Jan 2025 09:50:08 +0000 (10:50 +0100)] 
chore: Add NOCACHE option to misc/build-in-docker

6 months agofeat: Add support for Intel's LLVM-based compilers (#1533)
Nick Sarnie [Wed, 1 Jan 2025 12:50:39 +0000 (21:50 +0900)] 
feat: Add support for Intel's LLVM-based compilers (#1533)

6 months agofeat: Add support for clang-cl option /showIncludes:user
Joel Rosdahl [Mon, 30 Dec 2024 13:23:38 +0000 (14:23 +0100)] 
feat: Add support for clang-cl option /showIncludes:user

Closes #1534.

6 months agochore: Tweak comment and add const
Joel Rosdahl [Mon, 30 Dec 2024 13:15:57 +0000 (14:15 +0100)] 
chore: Tweak comment and add const

6 months agofeat: Add HTTP_STORAGE_BACKEND build option (#1537)
Maksym Sobolyev [Mon, 30 Dec 2024 13:29:07 +0000 (05:29 -0800)] 
feat: Add HTTP_STORAGE_BACKEND build option (#1537)

6 months agofix: Rewrite more paths with absolute_paths_in_stderr (#1539)
gitmodimo [Mon, 30 Dec 2024 13:11:25 +0000 (14:11 +0100)] 
fix: Rewrite more paths with absolute_paths_in_stderr (#1539)

8 months agorefactor: Tweak includes
Joel Rosdahl [Sat, 16 Nov 2024 10:08:28 +0000 (11:08 +0100)] 
refactor: Tweak includes

8 months agofix: Synchonize writing to the log file
Joel Rosdahl [Sun, 10 Nov 2024 20:38:54 +0000 (21:38 +0100)] 
fix: Synchonize writing to the log file

Fixes #350.

8 months agoenhance: Add util::FileLock
Joel Rosdahl [Sun, 10 Nov 2024 10:36:37 +0000 (11:36 +0100)] 
enhance: Add util::FileLock