>>> xxhash: Building main/xxhash 0.8.1-r4 (using abuild 3.10.0-r2) started Wed, 12 Apr 2023 00:16:54 +0000 >>> xxhash: Checking sanity of /home/buildozer/aports/main/xxhash/APKBUILD... >>> xxhash: Analyzing dependencies... >>> xxhash: Installing for build: build-base (1/1) Installing .makedepends-xxhash (20230412.001655) OK: 408 MiB in 100 packages >>> xxhash: Cleaning up srcdir >>> xxhash: Cleaning up pkgdir >>> xxhash: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xxhash-0.8.1.tar.gz >>> xxhash: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xxhash-0.8.1.tar.gz >>> xxhash: Checking sha512sums... xxhash-0.8.1.tar.gz: OK >>> xxhash: Unpacking /var/cache/distfiles/edge/xxhash-0.8.1.tar.gz... gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os -c -o xxhash.o xxhash.c gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -fPIC -Os xxhash.c -Wl,--as-needed,-O1,--sort-common -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.1 gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os -c -o cli/xxhsum.o cli/xxhsum.c gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os -c -o cli/xsum_os_specific.o cli/xsum_os_specific.c gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os -c -o cli/xsum_output.o cli/xsum_output.c gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os -c -o cli/xsum_sanity_check.o cli/xsum_sanity_check.c gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os -c -o cli/xsum_bench.o cli/xsum_bench.c ar rcs libxxhash.a xxhash.o gcc -Os -DXXH_FORCE_MEMORY_ACCESS=1 -flto=auto -O2 -Os xxhash.o cli/xxhsum.o cli/xsum_os_specific.o cli/xsum_output.o cli/xsum_sanity_check.o cli/xsum_bench.o -Wl,--as-needed,-O1,--sort-common -o xxhsum ln -sf libxxhash.so.0.8.1 libxxhash.so.0 ln -sf libxxhash.so.0.8.1 libxxhash.so ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum ln -sf xxhsum xxh128sum # stdin ./xxhsum < xxhash.c a9c413a5c9548a52 stdin # multiple files ./xxhsum xxhash.* a9c413a5c9548a52 xxhash.c 11a167c25cb049b1 xxhash.h f40aa3569d475d9c xxhash.o # internal bench ./xxhsum -bi0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with GCC 12.2.1 20220924 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 33439 it/s ( 3265.6 MB/s) 1#XXH32 : 102400 -> 33439 it/s ( 3265.6 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 39031 it/s ( 3811.7 MB/s) 3#XXH64 : 102400 -> 39031 it/s ( 3811.7 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 87781 it/s ( 8572.4 MB/s) 5#XXH3_64b : 102400 -> 87781 it/s ( 8572.4 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 87571 it/s ( 8551.9 MB/s) 11#XXH128 : 102400 -> 87571 it/s ( 8551.9 MB/s) # long bench command ./xxhsum --benchmark-all -i0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with GCC 12.2.1 20220924 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 33413 it/s ( 3263.0 MB/s) 1#XXH32 : 102400 -> 33413 it/s ( 3263.0 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 33273 it/s ( 3249.4 MB/s) 2#XXH32 unaligned : 102400 -> 33273 it/s ( 3249.4 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 39024 it/s ( 3811.0 MB/s) 3#XXH64 : 102400 -> 39024 it/s ( 3811.0 MB/s) 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 38984 it/s ( 3807.0 MB/s) 4#XXH64 unaligned : 102400 -> 38984 it/s ( 3807.0 MB/s) 1-XXH3_64b : 102400 -> 1-XXH3_64b : 102400 -> 87554 it/s ( 8550.2 MB/s) 5#XXH3_64b : 102400 -> 87554 it/s ( 8550.2 MB/s) 1-XXH3_64b unaligned : 102400 -> 1-XXH3_64b unaligned : 102400 -> 79037 it/s ( 7718.4 MB/s) 6#XXH3_64b unaligned : 102400 -> 79037 it/s ( 7718.4 MB/s) 1-XXH3_64b w/seed : 102400 -> 1-XXH3_64b w/seed : 102400 -> 86738 it/s ( 8470.5 MB/s) 7#XXH3_64b w/seed : 102400 -> 86738 it/s ( 8470.5 MB/s) 1-XXH3_64b w/seed unaligned : 102400 -> 1-XXH3_64b w/seed unaligned : 102400 -> 77851 it/s ( 7602.6 MB/s) 8#XXH3_64b w/seed unaligned : 102400 -> 77851 it/s ( 7602.6 MB/s) 1-XXH3_64b w/secret : 102400 -> 1-XXH3_64b w/secret : 102400 -> 84944 it/s ( 8295.3 MB/s) 9#XXH3_64b w/secret : 102400 -> 84944 it/s ( 8295.3 MB/s) 1-XXH3_64b w/secret unaligned : 102400 -> 1-XXH3_64b w/secret unaligned : 102400 -> 76021 it/s ( 7423.9 MB/s) 10#XXH3_64b w/secret unaligned : 102400 -> 76021 it/s ( 7423.9 MB/s) 1-XXH128 : 102400 -> 1-XXH128 : 102400 -> 87484 it/s ( 8543.4 MB/s) 11#XXH128 : 102400 -> 87484 it/s ( 8543.4 MB/s) 1-XXH128 unaligned : 102400 -> 1-XXH128 unaligned : 102400 -> 78899 it/s ( 7705.0 MB/s) 12#XXH128 unaligned : 102400 -> 78899 it/s ( 7705.0 MB/s) 1-XXH128 w/seed : 102400 -> 1-XXH128 w/seed : 102400 -> 86462 it/s ( 8443.6 MB/s) 13#XXH128 w/seed : 102400 -> 86462 it/s ( 8443.6 MB/s) 1-XXH128 w/seed unaligned : 102400 -> 1-XXH128 w/seed unaligned : 102400 -> 78309 it/s ( 7647.4 MB/s) 14#XXH128 w/seed unaligned : 102400 -> 78309 it/s ( 7647.4 MB/s) 1-XXH128 w/secret : 102400 -> 1-XXH128 w/secret : 102400 -> 84864 it/s ( 8287.5 MB/s) 15#XXH128 w/secret : 102400 -> 84864 it/s ( 8287.5 MB/s) 1-XXH128 w/secret unaligned : 102400 -> 1-XXH128 w/secret unaligned : 102400 -> 75880 it/s ( 7410.2 MB/s) 16#XXH128 w/secret unaligned : 102400 -> 75880 it/s ( 7410.2 MB/s) 1-XXH32_stream : 102400 -> 1-XXH32_stream : 102400 -> 30898 it/s ( 3017.4 MB/s) 17#XXH32_stream : 102400 -> 30898 it/s ( 3017.4 MB/s) 1-XXH32_stream unaligned : 102400 -> 1-XXH32_stream unaligned : 102400 -> 30774 it/s ( 3005.2 MB/s) 18#XXH32_stream unaligned : 102400 -> 30774 it/s ( 3005.2 MB/s) 1-XXH64_stream : 102400 -> 1-XXH64_stream : 102400 -> 39006 it/s ( 3809.2 MB/s) 19#XXH64_stream : 102400 -> 39006 it/s ( 3809.2 MB/s) 1-XXH64_stream unaligned : 102400 -> 1-XXH64_stream unaligned : 102400 -> 38974 it/s ( 3806.1 MB/s) 20#XXH64_stream unaligned : 102400 -> 38974 it/s ( 3806.1 MB/s) 1-XXH3_stream : 102400 -> 1-XXH3_stream : 102400 -> 87367 it/s ( 8531.9 MB/s) 21#XXH3_stream : 102400 -> 87367 it/s ( 8531.9 MB/s) 1-XXH3_stream unaligned : 102400 -> 1-XXH3_stream unaligned : 102400 -> 79194 it/s ( 7733.8 MB/s) 22#XXH3_stream unaligned : 102400 -> 79194 it/s ( 7733.8 MB/s) 1-XXH3_stream w/seed : 102400 -> 1-XXH3_stream w/seed : 102400 -> 86435 it/s ( 8441.0 MB/s) 23#XXH3_stream w/seed : 102400 -> 86435 it/s ( 8441.0 MB/s) 1-XXH3_stream w/seed unaligned : 102400 -> 1-XXH3_stream w/seed unaligned : 102400 -> 78112 it/s ( 7628.2 MB/s) 24#XXH3_stream w/seed unaligned : 102400 -> 78112 it/s ( 7628.2 MB/s) 1-XXH128_stream : 102400 -> 1-XXH128_stream : 102400 -> 87218 it/s ( 8517.4 MB/s) 25#XXH128_stream : 102400 -> 87218 it/s ( 8517.4 MB/s) 1-XXH128_stream unaligned : 102400 -> 1-XXH128_stream unaligned : 102400 -> 79102 it/s ( 7724.8 MB/s) 26#XXH128_stream unaligned : 102400 -> 79102 it/s ( 7724.8 MB/s) 1-XXH128_stream w/seed : 102400 -> 1-XXH128_stream w/seed : 102400 -> 86358 it/s ( 8433.4 MB/s) 27#XXH128_stream w/seed : 102400 -> 86358 it/s ( 8433.4 MB/s) 1-XXH128_stream w/seed unaligne : 102400 -> 1-XXH128_stream w/seed unaligne : 102400 -> 78045 it/s ( 7621.6 MB/s) 28#XXH128_stream w/seed unaligne : 102400 -> 78045 it/s ( 7621.6 MB/s) # bench multiple variants ./xxhsum -b1,2,3 -i0 xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with GCC 12.2.1 20220924 Sample of 100 KB... 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 33394 it/s ( 3261.1 MB/s) 1#XXH32 : 102400 -> 33394 it/s ( 3261.1 MB/s) 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 33239 it/s ( 3246.0 MB/s) 2#XXH32 unaligned : 102400 -> 33239 it/s ( 3246.0 MB/s) 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 39029 it/s ( 3811.5 MB/s) 3#XXH64 : 102400 -> 39029 it/s ( 3811.5 MB/s) # file bench ./xxhsum -bi0 xxhash.c xxhsum 0.8.1 by Yann Collet compiled as 64-bit aarch64 + NEON little endian with GCC 12.2.1 20220924 1-XXH32 : 1855 -> 1-XXH32 : 1855 -> 1815815 it/s ( 3212.3 MB/s) 1#XXH32 : 1855 -> 1815815 it/s ( 3212.3 MB/s) 1-XXH64 : 1855 -> 1-XXH64 : 1855 -> 2048737 it/s ( 3624.4 MB/s) 3#XXH64 : 1855 -> 2048737 it/s ( 3624.4 MB/s) 1-XXH3_64b : 1855 -> 1-XXH3_64b : 1855 -> 4598459 it/s ( 8135.0 MB/s) 5#XXH3_64b : 1855 -> 4598459 it/s ( 8135.0 MB/s) 1-XXH128 : 1855 -> 1-XXH128 : 1855 -> 4337001 it/s ( 7672.4 MB/s) 11#XXH128 : 1855 -> 4337001 it/s ( 7672.4 MB/s) # 32-bit ./xxhsum -H0 xxhash.c 0b9f9eb1 xxhash.c # 128-bit ./xxhsum -H2 xxhash.c 75323380c1b81bbbe6b4fc5c377a18ff xxhash.c # XXH3 (enforce BSD style) ./xxhsum -H3 xxhash.c | grep "XXH3" XXH3 (xxhash.c) = e6b4fc5c377a18ff # request incorrect variant ./xxhsum -H9 xxhash.c ; test $? -eq 1 Wrong parameters xxhsum 0.8.1 by Yann Collet Print or verify checksums using fast non-cryptographic algorithm xxHash Usage: xxhsum [options] [files] When no filename provided or when '-' is provided, uses stdin as input. Options: -H# algorithm selection: 0,1,2,3 or 32,64,128 (default: 1) -c, --check read xxHash checksum from [files] and check them -h, --help display a long help page about advanced options ....... checks completed successfully ....... >>> xxhash: Entering fakeroot... creating pkgconfig Installing libxxhash Installing pkgconfig Installing xxhsum Installing man pages xxhash installation completed >>> xxhash-dev*: Running split function dev... >>> xxhash-dev*: Preparing subpackage xxhash-dev... >>> xxhash-dev*: Stripping binaries >>> xxhash-dev*: Running postcheck for xxhash-dev >>> xxhash-doc*: Running split function doc... >>> xxhash-doc*: Preparing subpackage xxhash-doc... >>> xxhash-doc*: Running postcheck for xxhash-doc >>> libxxhash*: Running split function libs... >>> libxxhash*: Preparing subpackage libxxhash... >>> libxxhash*: Stripping binaries >>> libxxhash*: Running postcheck for libxxhash >>> xxhash*: Running postcheck for xxhash >>> xxhash*: Preparing package xxhash... >>> xxhash*: Stripping binaries >>> libxxhash*: Scanning shared objects >>> xxhash-dev*: Scanning shared objects >>> xxhash-doc*: Scanning shared objects >>> xxhash*: Scanning shared objects >>> libxxhash*: Tracing dependencies... so:libc.musl-aarch64.so.1 >>> libxxhash*: Package size: 80.0 KB >>> libxxhash*: Compressing data... >>> libxxhash*: Create checksum... >>> libxxhash*: Create libxxhash-0.8.1-r4.apk >>> xxhash-dev*: Tracing dependencies... libxxhash=0.8.1-r4 pkgconfig >>> xxhash-dev*: Package size: 236.0 KB >>> xxhash-dev*: Compressing data... >>> xxhash-dev*: Create checksum... >>> xxhash-dev*: Create xxhash-dev-0.8.1-r4.apk >>> xxhash-doc*: Tracing dependencies... >>> xxhash-doc*: Package size: 24.0 KB >>> xxhash-doc*: Compressing data... >>> xxhash-doc*: Create checksum... >>> xxhash-doc*: Create xxhash-doc-0.8.1-r4.apk >>> xxhash*: Tracing dependencies... so:libc.musl-aarch64.so.1 >>> xxhash*: Package size: 84.0 KB >>> xxhash*: Compressing data... >>> xxhash*: Create checksum... >>> xxhash*: Create xxhash-0.8.1-r4.apk >>> xxhash: Build complete at Wed, 12 Apr 2023 00:16:59 +0000 elapsed time 0h 0m 5s >>> xxhash: Cleaning up srcdir >>> xxhash: Cleaning up pkgdir >>> xxhash: Uninstalling dependencies... (1/1) Purging .makedepends-xxhash (20230412.001655) OK: 408 MiB in 99 packages >>> xxhash: Updating the main/aarch64 repository index... >>> xxhash: Signing the index...