bareos: master 61844478

Author Committer Branch Timestamp Parent
arogge arogge master 2023-11-17 15:12 master 4e0ecb36 Pending
Changeset xxhash: automatically choose best way to build

Previously, we blindly used xxh3.h to have xxhash inlined completely.
While this provides decent performance, we can do better.
Based on wheter using bundled xxhash and the target platform, we
automatically select which header to include to get either the
dynamically linked system-provided library, an optimized algorithm
based on the CPU's features selected at runtime or just the plain
variant of xxhash.

We also configure the bundled xxhash library to be built with -O3.
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/xxhash.cc Diff File
mod - third-party/CMakeLists.txt Diff File
mod - third-party/xxHash.cmake Diff File