1967 Commits

Author SHA1 Message Date
Yann Collet
02e659c560 minor multiconf update
- more inline comments
- _shared_o variants do now really share their produced object files
2025-05-15 15:32:30 -07:00
Yann Collet
50f42268c6 Merge pull request #1028 from Cyan4973/make4
Refactor make build
2025-05-05 00:17:46 -07:00
Yann Collet
266e3918b4 minor simplification of multiconf.make 2025-05-04 23:56:11 -07:00
Yann Collet
5d975f2d16 fix -Og compilation with g++-14 2025-05-04 23:16:36 -07:00
Yann Collet
53dbf574da fix minor pedantic warnings 2025-05-04 21:53:28 -07:00
Yann Collet
379f7eb2c8 fixed debug target for collisionsTest 2025-05-04 19:31:03 -07:00
Yann Collet
1248dc724c collisionsTest is now compiled with multiconf.make
and multiconf.make now supports both *.cpp and *.cc C++ source files.
2025-05-04 17:33:26 -07:00
Yann Collet
4d8655029c removed some clean stages
no longer necessary, since builds are guaranteed to be separated per flag set.

This in turns makes it possible to build multiple targets in parallel
with less risks of interference due to clean actions triggered in between.
2025-05-04 16:43:25 -07:00
Yann Collet
378ea520c5 dynamic library created with multiconf.make 2025-05-04 16:31:47 -07:00
Yann Collet
0e31b789f5 make -C tests finally compatible with -j
and uses multiconf.make
2025-05-04 15:56:17 -07:00
Yann Collet
671c68eeed minor: debug print as one-liner
and support V>2
2025-05-04 15:00:41 -07:00
Yann Collet
a2f7b36b98 minor cleaning and refactor of multiconf.make
- no need for WHOLE_ARCHIVE
- dependency management regrouped in one section
2025-05-04 14:39:13 -07:00
Yann Collet
6e1dfee639 Merge pull request #1027 from Cyan4973/make3
Refactor Make Build
2025-05-04 14:21:29 -07:00
Yann Collet
f0761f4d9a included clean_cache
no need to specify anything in user's Makefile,
clean_cache target is automatically invoked from `make clean`.
2025-05-04 14:06:19 -07:00
Yann Collet
b46c9e94b8 fixed static library flag 2025-05-04 12:36:24 -07:00
Yann Collet
b1ece5dcc4 more modular library link creation 2025-05-04 12:24:35 -07:00
Yann Collet
c87fc38d9d also support static_library 2025-05-04 12:08:38 -07:00
Yann Collet
0f13e0bee7 simplified fuzzer target
and added it back to clean:
since fuzzer target is conditional, hence it's not always part of clean_cache
2025-05-04 11:25:30 -07:00
Yann Collet
5790e919cc xxhsum32 can be compiled with DISPATCH enabled or disabled 2025-05-04 10:32:37 -07:00
Yann Collet
d8db540ede improve make build
- object files preserve their relative path
- correcly recompile xxhsum depending on DISPATCH value
2025-05-04 10:09:50 -07:00
Yann Collet
9bbd02bef8 Merge pull request #1026 from Cyan4973/make2
refactor Make build
2025-05-04 07:43:07 -07:00
Yann Collet
f20eec61ad added fuzzer target
now handle by multiconf.make
2025-05-03 15:56:44 -07:00
Yann Collet
22c6d81fc3 update Makefile
using multiconf.make
2025-05-03 15:22:30 -07:00
Yann Collet
549aecac8f Merge pull request #1025 from Cyan4973/cmake
Updated cmake build script and tests
2025-05-03 14:28:38 -07:00
Yann Collet
68ae745162 update cmake's README.md 2025-05-03 13:57:55 -07:00
Yann Collet
85e0f23eb3 simplify cmake visual tests 2025-05-03 13:42:16 -07:00
Yann Collet
6cdc1b298d refactor cmake visual tests 2025-05-03 09:54:59 -07:00
Yann Collet
e242fc501f update CI cmake tests 2025-05-03 01:36:06 -07:00
Yann Collet
7f96b04a18 move cmake scripts to build/cmake 2025-05-03 00:57:39 -07:00
Yann Collet
41fea3d9ac Merge pull request #1023 from Nicoshev/dev
Prefer NEON over SVE
2025-04-29 12:59:12 -07:00
Yann Collet
babb92682a Merge pull request #1024 from iwamatsu/update-pkg-config
Add License variable to pkg-config file
2025-04-28 16:27:18 -07:00
Nobuhiro Iwamatsu
12e5720d84 Add License variable to pkg-config file
The pkg-config file has License variable that allows you to set the
license for the software. This sets BSD-2-Clause to License.

Ref: https://github.com/pkgconf/pkgconf/blob/master/man/pc.5#L116
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2025-04-29 08:16:20 +09:00
Yann Collet
3ef062f4b2 Merge pull request #1021 from vaerksted/patch-1
fix typos
2025-04-28 14:51:29 -07:00
Nicolas De Carli
5d3ed49c06 Prefer NEON over SVE
We've observed the NEON implementation perform 25% to 40% better than the SVE one.

aarch64 builds will now prefer the NEON variation instead of the SVE one.

The SVE version can still be used by explicitly defining XXH_SVE
2025-04-28 11:47:01 -04:00
musvaage
2be8ba6cd1 typos 2025-04-25 09:07:49 -05:00
Yann Collet
c9fc2fc22f Merge pull request #1022 from Cyan4973/noubu20
remove Ubuntu-20 tests
2025-04-24 20:49:06 -08:00
Yann Collet
3b41bfbb54 removing Ubuntu-20 tests
no longer supported by Github Actions
2025-04-24 21:35:40 -07:00
Yann Collet
953a09abc3 Merge pull request #1020 from Cyan4973/dependabot/github_actions/actions/upload-artifact-4.6.2
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.2
2025-03-24 09:16:37 -07:00
dependabot[bot]
3444a6b382 build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...ea165f8d65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 12:39:01 +00:00
Yann Collet
de9d657790 Merge pull request #1009 from Schell-HAR/patch-1
Update Makefile
2025-02-09 19:08:37 -08:00
Schell-HAR
e3edd4c4ef Update Makefile
added support for 64-bit ARM architecture
2025-02-05 11:48:11 +01:00
Yann Collet
293590a7f5 faster small input tests 2025-02-04 17:24:06 -08:00
Yann Collet
b73ff32ca8 Merge pull request #1008 from chitao1234/dev
Fix 'make install' for xxhsum on Windows
2025-01-30 07:49:44 -08:00
Yann Collet
081ddab37b Merge pull request #1007 from Cyan4973/no_externc_guard
allow removal of extern "C" guards in C++ mode
2025-01-29 09:04:03 -08:00
chitao1234
70533298f9 Fix 'make install' for xxhsum on Windows 2025-01-29 11:59:01 +08:00
Yann Collet
9998b5dddb allow removal of extern "C" guards in C++ mode
using new build macro XXH_NO_EXTERNC_GUARD
2025-01-28 18:33:38 -08:00
Yann Collet
ef7e3f4c3a Merge pull request #1006 from Cyan4973/memX_redirect
memxxx() redirect
2025-01-28 15:23:26 -08:00
Yann Collet
eaffecc777 use macro instead of static function 2025-01-28 14:55:11 -08:00
Yann Collet
9376b76413 fix function signature 2025-01-28 14:47:58 -08:00
Yann Collet
5124b2d825 document new XXH_memxxx() macros 2025-01-28 14:44:22 -08:00