]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
5 years agoIntroduce and use TemporaryFile class
Joel Rosdahl [Sat, 25 Jul 2020 13:56:29 +0000 (15:56 +0200)] 
Introduce and use TemporaryFile class

In addition to improving code clarity, this fixes a bug where the
fallback code for “-fdiagnostics-color” tried to operate on a closed
file descriptor.

5 years agoAdd CI job that verifies -DENABLE_TRACING
Joel Rosdahl [Sat, 25 Jul 2020 13:49:11 +0000 (15:49 +0200)] 
Add CI job that verifies -DENABLE_TRACING

5 years agoMake -DENABLE_TRACING work again
Joel Rosdahl [Sat, 25 Jul 2020 13:46:40 +0000 (15:46 +0200)] 
Make -DENABLE_TRACING work again

5 years agoRemove now unused legacy create_tmp_file
Joel Rosdahl [Fri, 24 Jul 2020 18:49:38 +0000 (20:49 +0200)] 
Remove now unused legacy create_tmp_file

5 years agoLook for the correct phrase when detecting unsupported GCC color option
Joel Rosdahl [Fri, 24 Jul 2020 18:18:22 +0000 (20:18 +0200)] 
Look for the correct phrase when detecting unsupported GCC color option

The implementation from #596 uses the spelling “command-line” instead of
“command line” (which is what is actually emitted by GCC and specified
in #224).

5 years agoMake it possible to keep the test directory when running test suite
Joel Rosdahl [Fri, 24 Jul 2020 18:17:43 +0000 (20:17 +0200)] 
Make it possible to keep the test directory when running test suite

5 years agoRemove test directory for skipped test suite
Joel Rosdahl [Fri, 24 Jul 2020 13:57:08 +0000 (15:57 +0200)] 
Remove test directory for skipped test suite

5 years agoUpdate NEWS
Joel Rosdahl [Tue, 21 Jul 2020 18:21:01 +0000 (20:21 +0200)] 
Update NEWS

(cherry picked from commit 4293f48b6670a99eaa1d5701718d8ef3f2ddd70d)

5 years agoUse apostrophes and citation marks in NEWS.adoc consistently
Joel Rosdahl [Tue, 21 Jul 2020 18:14:38 +0000 (20:14 +0200)] 
Use apostrophes and citation marks in NEWS.adoc consistently

(cherry picked from commit d524e19712e832bc9cf3db841c8b5ccd37c0e9f9)

5 years agoAllow (require) argument to -Werror for NVCC
Joel Rosdahl [Tue, 21 Jul 2020 17:45:58 +0000 (19:45 +0200)] 
Allow (require) argument to -Werror for NVCC

Fixes #598.

(cherry picked from commit c5349149864104146dab2c9bcd67a1b2ff565f06)

5 years agoAdd knowledge about -fprofile-{correction,reorder-functions,values}
Joel Rosdahl [Tue, 21 Jul 2020 13:00:59 +0000 (15:00 +0200)] 
Add knowledge about -fprofile-{correction,reorder-functions,values}

Fixes #615.

(cherry picked from commit c1bf116630f22952732feeffaa71b827c1e813bd)

5 years agoHandle EINTR properly in Result::Writer::write_embedded_file_entry
Joel Rosdahl [Sun, 19 Jul 2020 18:47:55 +0000 (20:47 +0200)] 
Handle EINTR properly in Result::Writer::write_embedded_file_entry

5 years agoAvoid some format/free usage
Joel Rosdahl [Fri, 17 Jul 2020 17:46:40 +0000 (19:46 +0200)] 
Avoid some format/free usage

5 years agoRemove no longer needed cleanup of CACHEDIR.TAG in $CCACHE_DIR
Joel Rosdahl [Fri, 17 Jul 2020 16:28:36 +0000 (18:28 +0200)] 
Remove no longer needed cleanup of CACHEDIR.TAG in $CCACHE_DIR

The cleanup functionality was added in 3.2 and it should be safe to
assume that it has performed its task for almost everybody now.

5 years agoRemove now unused legacy util functions
Joel Rosdahl [Thu, 16 Jul 2020 15:09:13 +0000 (17:09 +0200)] 
Remove now unused legacy util functions

5 years agoRemove usage of x_strdup
Joel Rosdahl [Fri, 17 Jul 2020 11:33:08 +0000 (13:33 +0200)] 
Remove usage of x_strdup

5 years agoUse Util::dir_name instead of legacy dir_name function
Joel Rosdahl [Fri, 17 Jul 2020 11:28:45 +0000 (13:28 +0200)] 
Use Util::dir_name instead of legacy dir_name function

5 years agoUse Util::read_file instead of legacy read_file function
Joel Rosdahl [Fri, 17 Jul 2020 11:19:15 +0000 (13:19 +0200)] 
Use Util::read_file instead of legacy read_file function

5 years agoAdd size_hint parameter to Util::read_file
Joel Rosdahl [Fri, 17 Jul 2020 11:17:25 +0000 (13:17 +0200)] 
Add size_hint parameter to Util::read_file

Similar to the legacy read_file’s size_hint parameter.

5 years agoLet Util::write_file default to binary mode
Joel Rosdahl [Fri, 17 Jul 2020 17:37:48 +0000 (19:37 +0200)] 
Let Util::write_file default to binary mode

That makes more sense since that’s how it’s used in practice.

5 years agoUse Util::read_file instead of legacy read_text_file
Joel Rosdahl [Thu, 16 Jul 2020 15:08:28 +0000 (17:08 +0200)] 
Use Util::read_file instead of legacy read_text_file

5 years agoC++-ify format_command and print_command and move to where used
Joel Rosdahl [Thu, 16 Jul 2020 15:03:52 +0000 (17:03 +0200)] 
C++-ify format_command and print_command and move to where used

5 years agoC++-ify logging routines
Joel Rosdahl [Thu, 16 Jul 2020 14:52:47 +0000 (16:52 +0200)] 
C++-ify logging routines

5 years agoUse File wrapper for static log file object
Joel Rosdahl [Thu, 16 Jul 2020 14:36:46 +0000 (16:36 +0200)] 
Use File wrapper for static log file object

This flushes and closes the underlying FILE object properly on exit.

5 years agoCreate test directories in testdir and remove it on “make clean”
Joel Rosdahl [Tue, 14 Jul 2020 13:56:31 +0000 (15:56 +0200)] 
Create test directories in testdir and remove it on “make clean”

5 years agoProbe assembler for supported -m* flags
Joel Rosdahl [Tue, 14 Jul 2020 13:08:22 +0000 (15:08 +0200)] 
Probe assembler for supported -m* flags

Since CMake uses the assembler executable for compiling assembler source
code it’s not quite correct to probe the C++ compiler (nor the C
compiler) since it may not be the same as the assembler.

Fixes #625.

5 years agoImprove instructions on how to install libzstd
Joel Rosdahl [Mon, 13 Jul 2020 20:22:16 +0000 (22:22 +0200)] 
Improve instructions on how to install libzstd

5 years agoUpdate Travis-CI badge URL to travis-ci.com
Joel Rosdahl [Mon, 13 Jul 2020 20:01:13 +0000 (22:01 +0200)] 
Update Travis-CI badge URL to travis-ci.com

5 years agoRemove now unused get_extension function
Joel Rosdahl [Mon, 13 Jul 2020 18:01:46 +0000 (20:01 +0200)] 
Remove now unused get_extension function

5 years agoC++-ify win32getshell
Joel Rosdahl [Mon, 13 Jul 2020 17:51:45 +0000 (19:51 +0200)] 
C++-ify win32getshell

5 years agoMake Util::to_lowercase work on nonstd::string_view
Joel Rosdahl [Mon, 13 Jul 2020 17:49:44 +0000 (19:49 +0200)] 
Make Util::to_lowercase work on nonstd::string_view

5 years agoOnly dump log buffer in cc_dump_debug_log_buffer if it exists
Joel Rosdahl [Mon, 13 Jul 2020 17:48:50 +0000 (19:48 +0200)] 
Only dump log buffer in cc_dump_debug_log_buffer if it exists

This can happen in unit tests.

5 years agoMake is_precompiled_header handle the empty string
Joel Rosdahl [Mon, 13 Jul 2020 17:42:24 +0000 (19:42 +0200)] 
Make is_precompiled_header handle the empty string

Related to PR #624.

5 years agoRemove dependency on std::regex
Joel Rosdahl [Mon, 13 Jul 2020 11:39:45 +0000 (13:39 +0200)] 
Remove dependency on std::regex

std::regex is not available for GCC 4.8. It’s also a bit bloated. The
reason for not using POSIX regex functionality is that it’s not
available in MinGW.

5 years agoImprove -x/--show-compression output
Joel Rosdahl [Thu, 9 Jul 2020 19:37:40 +0000 (21:37 +0200)] 
Improve -x/--show-compression output

5 years agoHandle EINTR correctly in copy_fd
Joel Rosdahl [Thu, 9 Jul 2020 19:01:01 +0000 (21:01 +0200)] 
Handle EINTR correctly in copy_fd

5 years agoRemove more short read optimization from #551
Joel Rosdahl [Thu, 9 Jul 2020 18:57:00 +0000 (20:57 +0200)] 
Remove more short read optimization from #551

In addition to the removal done in 4b71108612f7.

5 years agoC++-ify struct hash
Joel Rosdahl [Wed, 8 Jul 2020 07:51:10 +0000 (09:51 +0200)] 
C++-ify struct hash

5 years agoSimplify code somewhat
Joel Rosdahl [Thu, 9 Jul 2020 18:22:25 +0000 (20:22 +0200)] 
Simplify code somewhat

5 years agoAdd ability to ignore specified compiler options when hashing (#620)
Ryan Egesdahl [Thu, 9 Jul 2020 18:17:54 +0000 (11:17 -0700)] 
Add ability to ignore specified compiler options when hashing (#620)

Closes #578.

5 years agoMake “misc/format-files --check” exit with error code on error
Joel Rosdahl [Wed, 8 Jul 2020 18:38:11 +0000 (20:38 +0200)] 
Make “misc/format-files --check” exit with error code on error

Regression in ee332b44a098f8603c05a25e09168b6b5b9c96ae.

(cherry picked from commit ea5379c6e8a39605d71b52d01c4244ea8aeeae48)

5 years agoSwitch to doctest from Catch2 for tests
Joel Rosdahl [Fri, 8 May 2020 19:27:23 +0000 (21:27 +0200)] 
Switch to doctest from Catch2 for tests

doctest is more light-weight than Catch2 and compiles faster.

5 years agoRemove short read optimization from #551
Joel Rosdahl [Wed, 8 Jul 2020 07:54:50 +0000 (09:54 +0200)] 
Remove short read optimization from #551

I don’t feel confident about assuming that a short read for a file means
EOF in all situations. For instance, it looks like short reads can
happen of an NFS file system mounted with the “intr” option, and it can
also happen if a file entry actually is a named pipe.

5 years agoImprove .clang-tidy HeaderFilterRegex patterns
Joel Rosdahl [Tue, 7 Jul 2020 17:46:21 +0000 (19:46 +0200)] 
Improve .clang-tidy HeaderFilterRegex patterns

The pattern for unittest now excludes third_party headers as well.

5 years agoMake Result::write_embedded_file_entry static
Joel Rosdahl [Tue, 7 Jul 2020 14:35:54 +0000 (16:35 +0200)] 
Make Result::write_embedded_file_entry static

5 years agoRemove unneeded include in unittest/TestUtil.hpp
Joel Rosdahl [Mon, 6 Jul 2020 20:19:36 +0000 (22:19 +0200)] 
Remove unneeded include in unittest/TestUtil.hpp

5 years agoSimplify ResultRetriever somewhat
Joel Rosdahl [Mon, 6 Jul 2020 18:14:28 +0000 (20:14 +0200)] 
Simplify ResultRetriever somewhat

No need for a separate m_dest_stderr flag after adding m_dest_file_type.

5 years agoAdd “--extract-result” option
Joel Rosdahl [Sun, 5 Jul 2020 20:07:06 +0000 (22:07 +0200)] 
Add “--extract-result” option

“ccache --extract-result” extracts data stored in a result file to the
current working directory.

5 years agoRefactor result code into a Result::Reader/Writer classes
Joel Rosdahl [Sat, 4 Jul 2020 11:52:16 +0000 (13:52 +0200)] 
Refactor result code into a Result::Reader/Writer classes

Introduced a Result::Reader class which remove knowledge about what to
do with the individual file parts of a result. That’s instead defined by
a Result::Reader::Consumer instance passed to Result::Reader::read. This
means a ResultFileMap is no longer used and that the consumer is free to
write data whereever it wants.

The new ResultRetriever class implements retrieval by writing to local
files like before, except that the stderr data is written directly to
STDERR_FILENO instead of landing in a temporary file.

The new ResultDumper class implements “ccache --dump-result”.

Also introduced a Result::Writer class, mostly for symmetry with the
Result::Reader class.

5 years agoExtract send_cached_stderr into Util::send_to_stderr
Joel Rosdahl [Sat, 4 Jul 2020 11:52:01 +0000 (13:52 +0200)] 
Extract send_cached_stderr into Util::send_to_stderr

5 years agoExtract copy_raw_file into Util::clone_hard_link_or_copy_file
Joel Rosdahl [Wed, 1 Jul 2020 14:28:28 +0000 (16:28 +0200)] 
Extract copy_raw_file into Util::clone_hard_link_or_copy_file

5 years agoFix Clang-Tidy inconsistent-declaration-parameter-name warning
Joel Rosdahl [Mon, 6 Jul 2020 15:13:06 +0000 (17:13 +0200)] 
Fix Clang-Tidy inconsistent-declaration-parameter-name warning

5 years agoDocument --dump-result
Joel Rosdahl [Sun, 5 Jul 2020 19:34:39 +0000 (21:34 +0200)] 
Document --dump-result

5 years agoAlign command line option list in manual with help text
Joel Rosdahl [Sun, 5 Jul 2020 19:33:47 +0000 (21:33 +0200)] 
Align command line option list in manual with help text

5 years agoTweak ci/build script
Joel Rosdahl [Sun, 5 Jul 2020 19:00:47 +0000 (21:00 +0200)] 
Tweak ci/build script

- Removed redundant “exit 0” command again.
- Removed now obsolete and misleading comments.
- If JOBS is set to the empty string then detect the number of CPUs instead
  of running a limitless number of jobs.

5 years agoUse a known and set TERM variable to stabilize color_diagnostics tests
Joel Rosdahl [Sun, 5 Jul 2020 18:35:05 +0000 (20:35 +0200)] 
Use a known and set TERM variable to stabilize color_diagnostics tests

On some distributions TERM is unset when run via Docker which failed
color_diagnostics tests since ccache doesn’t enable color output if TERM
is unset. Fix this by using a known TERM value.

Fixes #616.

5 years agoSkip “Directory is not hashed if using -gz[=zlib]” tests for GCC 6
Joel Rosdahl [Sun, 5 Jul 2020 18:34:54 +0000 (20:34 +0200)] 
Skip “Directory is not hashed if using -gz[=zlib]” tests for GCC 6

The GCC 6 (tested with GCC 6.3) preprocessor includes the current
working directory in the preprocessed output if run with -gz, which
means that there won’t be cache hits between directories, thus failing
the “Directory is not hashed if using -gz[=zlib]” tests. Fix this by
skipping the test if the preprocessor behaves that way.

Fixes #602.

5 years agoEnable verbose output from “test/run” if VERBOSE is set
Joel Rosdahl [Sun, 5 Jul 2020 17:05:04 +0000 (19:05 +0200)] 
Enable verbose output from “test/run” if VERBOSE is set

5 years agoSort environment variables passed to docker container
Joel Rosdahl [Sun, 5 Jul 2020 17:04:30 +0000 (19:04 +0200)] 
Sort environment variables passed to docker container

5 years agoPass arguments to ci/build to ctest
Joel Rosdahl [Sun, 5 Jul 2020 16:57:24 +0000 (18:57 +0200)] 
Pass arguments to ci/build to ctest

This makes it possible to only run a subset of the tests by for instance
running “build-in-docker <name> -R <test>”.

5 years agoRemove redundant docker image tag suffix
Joel Rosdahl [Sun, 5 Jul 2020 14:45:57 +0000 (16:45 +0200)] 
Remove redundant docker image tag suffix

5 years agoRun compilation and tests with multiple threads (#610)
Alexander Lanin [Sun, 5 Jul 2020 19:00:05 +0000 (21:00 +0200)] 
Run compilation and tests with multiple threads (#610)

5 years agoFix color_diagnostics test failure if CCACHE_DIR is set in shell rc file
Joel Rosdahl [Wed, 24 Jun 2020 07:26:23 +0000 (09:26 +0200)] 
Fix color_diagnostics test failure if CCACHE_DIR is set in shell rc file

If the user sets CCACHE_DIR in a shell startup file then that value will
override the one from the test suite, thus making changes in cache
statistics invisible which triggers failures.

5 years agoMake one of the CI jobs build in release mode
Joel Rosdahl [Tue, 23 Jun 2020 20:10:31 +0000 (22:10 +0200)] 
Make one of the CI jobs build in release mode

It seems reasonable to run tests with the real release binary.

5 years agoClean up INSTALL.md
Joel Rosdahl [Tue, 23 Jun 2020 20:03:29 +0000 (22:03 +0200)] 
Clean up INSTALL.md

5 years agoRename producttest to test
Joel Rosdahl [Tue, 23 Jun 2020 19:59:51 +0000 (21:59 +0200)] 
Rename producttest to test

I don’t see a value in the prefix.

5 years agoRename generated Version.cpp to version.cpp
Joel Rosdahl [Tue, 23 Jun 2020 19:57:26 +0000 (21:57 +0200)] 
Rename generated Version.cpp to version.cpp

The convention is to use capitalized filenames for source files that
implement classes and namespaces and lowercase filenames for source
files that do not.

5 years agoClean up scripts related to code formatting
Joel Rosdahl [Sat, 20 Jun 2020 18:49:52 +0000 (20:49 +0200)] 
Clean up scripts related to code formatting

- Simplified scripts.
- Made colored output work again.

5 years agoClean up scripts related to CI and Docker
Joel Rosdahl [Sat, 20 Jun 2020 18:49:35 +0000 (20:49 +0200)] 
Clean up scripts related to CI and Docker

5 years agoImprove naming of scripts
Joel Rosdahl [Sat, 20 Jun 2020 18:00:24 +0000 (20:00 +0200)] 
Improve naming of scripts

- Use kebab case consistently.
- Remove redundant (and exposing an implementation detail) .sh extension
  for executables.

5 years agoClean up build-in-docker script
Joel Rosdahl [Sat, 20 Jun 2020 10:51:57 +0000 (12:51 +0200)] 
Clean up build-in-docker script

5 years agoMove top-level scripts to misc
Joel Rosdahl [Fri, 19 Jun 2020 20:43:27 +0000 (22:43 +0200)] 
Move top-level scripts to misc

This makes the top-level directory less crowded.

5 years agoRename USE_LIBZSTD_FROM_INTERNET to ZSTD_FROM_INTERNET
Joel Rosdahl [Fri, 19 Jun 2020 19:39:30 +0000 (21:39 +0200)] 
Rename USE_LIBZSTD_FROM_INTERNET to ZSTD_FROM_INTERNET

5 years agoSimplify code for hashing include file
Joel Rosdahl [Fri, 19 Jun 2020 19:00:38 +0000 (21:00 +0200)] 
Simplify code for hashing include file

5 years agoBuild InodeCache.cpp only when inode cache is supported
Joel Rosdahl [Fri, 19 Jun 2020 18:52:51 +0000 (20:52 +0200)] 
Build InodeCache.cpp only when inode cache is supported

5 years agoBuild win32compat.cpp only on Windows
Joel Rosdahl [Fri, 19 Jun 2020 18:33:21 +0000 (20:33 +0200)] 
Build win32compat.cpp only on Windows

5 years agoEnable more clang-tidy rules and implement suggestions
Joel Rosdahl [Fri, 19 Jun 2020 17:48:19 +0000 (19:48 +0200)] 
Enable more clang-tidy rules and implement suggestions

5 years agoReduce the set of included headers
Joel Rosdahl [Fri, 19 Jun 2020 17:46:47 +0000 (19:46 +0200)] 
Reduce the set of included headers

5 years agoImplement some suggestions from clang-tidy 10
Joel Rosdahl [Fri, 19 Jun 2020 16:47:23 +0000 (18:47 +0200)] 
Implement some suggestions from clang-tidy 10

5 years agoTweak CMakeLists.txt
Joel Rosdahl [Mon, 22 Jun 2020 20:18:23 +0000 (22:18 +0200)] 
Tweak CMakeLists.txt

5 years agoRemove stale licenses (#613)
Erik Johansson [Tue, 23 Jun 2020 19:42:59 +0000 (21:42 +0200)] 
Remove stale licenses (#613)

The m4 files are no longer used after the switch to cmake in f2341b2.

5 years agoTweak buffer reservation in Util::format_hex
Erik Johansson [Tue, 23 Jun 2020 14:15:19 +0000 (16:15 +0200)] 
Tweak buffer reservation in Util::format_hex

5 years agoDo not report skipped tests as failures on CMake <3.9 (#609)
Alexander Lanin [Mon, 22 Jun 2020 20:14:23 +0000 (22:14 +0200)] 
Do not report skipped tests as failures on CMake <3.9 (#609)

5 years agoReduce number of memory allocations in hashing (#608)
Olle Liljenzin [Mon, 22 Jun 2020 19:57:59 +0000 (21:57 +0200)] 
Reduce number of memory allocations in hashing (#608)

Add hash_buffer_once method for hashing a given text immediately using a
stack allocated hasher. Also skip copying the hasher in hash_result as
blake3 is not modifying the hasher.

5 years agoUpdate contribution guidelines related to clang-format usage
Joel Rosdahl [Mon, 22 Jun 2020 19:54:00 +0000 (21:54 +0200)] 
Update contribution guidelines related to clang-format usage

5 years agoUpdate authors
Joel Rosdahl [Mon, 22 Jun 2020 18:48:46 +0000 (20:48 +0200)] 
Update authors

(cherry picked from commit c7455f6a5385f1c19dc3b6c93cc4b37c0320ec48)

5 years agoUpdate NEWS
Joel Rosdahl [Mon, 22 Jun 2020 13:13:39 +0000 (15:13 +0200)] 
Update NEWS

(cherry picked from commit 6695d6011bc8a91e167da86fb326d54a9d005cde)

5 years agoRemove win32 GetFileNameFromHandle compatibility function
Joel Rosdahl [Sun, 21 Jun 2020 19:29:04 +0000 (21:29 +0200)] 
Remove win32 GetFileNameFromHandle compatibility function

The replacement function seems to be buggy, triggering failures in
x_realpath at least when the unit tests are run in Wine. The real
GetFinalPathNameByHandle function is allegedly supported in Windows
Vista and newer, so let’s just use it.

(cherry picked from commit bd742fbe20493f720ae6af00525fd3a8ee829802)

5 years agoImprove comment of inode cache version and revert to version 1 again
Joel Rosdahl [Thu, 18 Jun 2020 19:46:22 +0000 (21:46 +0200)] 
Improve comment of inode cache version and revert to version 1 again

As noted by Olle Liljenzin, changing the hash algorithm does not require
incrementing the version field, so let’s revert the change I made as
part of 2a0dd8ef.

5 years agoFix numbering of Travis CI jobs
Joel Rosdahl [Thu, 18 Jun 2020 19:13:27 +0000 (21:13 +0200)] 
Fix numbering of Travis CI jobs

The “allow_failures” one are always listed last, so move them last in
.travis.yml as well.

5 years agoLet “ccache --hash-file” perform raw hashing again
Joel Rosdahl [Thu, 18 Jun 2020 18:26:58 +0000 (20:26 +0200)] 
Let “ccache --hash-file” perform raw hashing again

Unintended or not, #577 (213d9883) changed the behavior of “ccache
--hash-file” to use hash_binary_file, which essentially performs
hash(hash(path)) if the i-node cache is enabled, otherwise hash(path).
This means that “ccache --hash-file” behaves differently depending on if
i-node cache is enabled and also that it’s no longer usable for
benchmarking purposes.

Fix this by simply using “hash_file” again.

5 years agoFix bug in hash_binary_file
Joel Rosdahl [Thu, 18 Jun 2020 18:18:37 +0000 (20:18 +0200)] 
Fix bug in hash_binary_file

Introduced in #577 (213d9883).

5 years agoFix location of secondary configuration
Joel Rosdahl [Thu, 18 Jun 2020 16:58:20 +0000 (18:58 +0200)] 
Fix location of secondary configuration

Regression in #573 (f2341b2b).

5 years agoReplace BLAKE2b with BLAKE3 (#519)
Erik Johansson [Thu, 18 Jun 2020 19:12:21 +0000 (21:12 +0200)] 
Replace BLAKE2b with BLAKE3 (#519)

5 years agoAdd missing “#pragma once”
Joel Rosdahl [Thu, 18 Jun 2020 06:04:43 +0000 (08:04 +0200)] 
Add missing “#pragma once”

5 years agoAllow the config file to be a symlink
Joel Rosdahl [Wed, 17 Jun 2020 19:45:07 +0000 (21:45 +0200)] 
Allow the config file to be a symlink

Fixes #607.

(cherry picked from commit 46172c8bc24799ae35cf300b0b5ba765bd40896a)

5 years agoAdd “clang-format off/on” comments for old Clang-Format versions
Joel Rosdahl [Tue, 16 Jun 2020 19:45:57 +0000 (21:45 +0200)] 
Add “clang-format off/on” comments for old Clang-Format versions

5 years agoRename buildenv to dockerfiles to make room for build* directories
Joel Rosdahl [Tue, 16 Jun 2020 19:19:00 +0000 (21:19 +0200)] 
Rename buildenv to dockerfiles to make room for build* directories

5 years agoClean up CMake configuration
Joel Rosdahl [Tue, 16 Jun 2020 19:09:48 +0000 (21:09 +0200)] 
Clean up CMake configuration

5 years agoFormat config.h.in with Clang-Format and fix spelling
Joel Rosdahl [Mon, 15 Jun 2020 19:40:47 +0000 (21:40 +0200)] 
Format config.h.in with Clang-Format and fix spelling