https://bugzilla.redhat.com/show_bug.cgi?id=1282063
--- Comment #13 from gil cattaneo <puntogil(a)libero.it> ---
(In reply to gil cattaneo from comment #11)
Maybe now the only problem is xxhash.c
shared by libxxhash and xxhsum during build
i tried adding:
sed -i 's|xxhsum: xxhash.c xxhsum.c|xxhsum: xxhsum.c|' Makefile
sed -i 's|-o| -Lcmake_unofficial/ -lxxhash -o|' Makefile
testing result
$ LD_LIBRARY_PATH=~/rpmbuild/BUILD/xxHash-r42/cmake_unofficial ./xxhsum *
ef46db3751d8e999 cmake_unofficial
832d7b6430cfe4cb LICENSE
4201ca2618ababe9 Makefile
861efbad96899cdf README.md
ba57c4eee885089c xxh32sum
ba57c4eee885089c xxh64sum
0d8342021e5366c5 xxhash.c
c256b0cd7b86609b xxhash.h
ba57c4eee885089c xxhsum
bb7559fbd9461a75 xxhsum.c
$ LD_LIBRARY_PATH=~/rpmbuild/BUILD/xxHash-r42/cmake_unofficial ./xxhsum -bi1
xxhash.c
./xxhsum (32-bits little endian), by Yann Collet (Jan 6 2016)
Loading xxhash.c...
XXH32 : 28922 -> 3402.4 MB/s
XXH32 unaligned : 28921 -> 3205.6 MB/s
XXH64 : 28922 -> 1326.4 MB/s
XXH64 unaligned : 28921 -> 1288.2 MB/s
$ LD_LIBRARY_PATH=~/rpmbuild/BUILD/xxHash-r42/cmake_unofficial ./xxhsum -h
./xxhsum (32-bits little endian), by Yann Collet (Jan 6 2016)
Usage :
./xxhsum [arg] [filename]
When no filename provided, or - provided : use stdin as input
Arguments :
-H# : hash selection : 0=32bits, 1=64bits (default 1)
-b : benchmark mode
-i# : number of iterations (benchmark mode; default 3)
-h : help (this text)
can you change the spec file adding the above sed instructions, and to the main
package
Requires: libxxhash%{?_isa} = %{version}-%{release} ?
regards
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component