upgrade bundled xxhash to 0.7.4#5366
Conversation
|
Hmm, there are compile issues. Master branch did compile. wtf? https://travis-ci.org/github/borgbackup/borg/builds/731442394 |
|
I remember that I already had such issues due to the xxh3 code, so I just left that part of the code away in earlier borg releases. But now, xxh3 is integrated into xxhash.c/.h, so I can not easily leave it away any more. |
|
Another option, if the compile issue can't be easily fixed, is to just leave this as is and only have this upgrade in master branch. |
Yes, that error message shows up if functions of extended intructions sets such as SSE and AVX are used, but the according -mXXX option to generate such code is not set. However, for borg it makes no sense to bulid e.g. SSE only, given the speed of xxHash compared to the rest of borg, the benefit would be hardly noticeable, if at all, and of course, being able to backup machines that do not have SSE instructions is a requirement anyway. The xxHash README discusses the |
|
Indeed, The one thing that surprises me though is that the compilation error message seems to choke at some
But
|
"as is", needs a small tweak, see next commit. this is the last version with separate xxh3.h that can easily get removed. 0.8.0 integrates this and leads to strange compile issues, see borgbackup#5366 discussion.
84844cc to
0056c59
Compare
|
Guess this might be an issue with the 1.1-maint "build system", master is cleaner there. I'll updated this PR to just use the latest pre-0.8.0 code, where I can just remove the problematic xxh3.h (we don't use any of the new stuff yet anyway). |
Codecov Report
@@ Coverage Diff @@
## 1.1-maint #5366 +/- ##
=============================================
+ Coverage 79.80% 80.12% +0.31%
=============================================
Files 27 27
Lines 10302 10396 +94
Branches 1824 1829 +5
=============================================
+ Hits 8222 8330 +108
+ Misses 1565 1555 -10
+ Partials 515 511 -4
Continue to review full report at Codecov.
|
No description provided.