mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: xxhash: Update to 0.8.3.
* gnu/packages/digest.scm (xxhash): Update to 0.8.3. [arguments]<#:make-flags>: Remove build-time detection of vector instruction set because it is now automatically detected during runtime. Change-Id: I84a0171156dbcf6755fc503007eb51f066b72746 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
1b61fef0b5
commit
40d72bf5e2
@@ -69,7 +69,7 @@ Zig, V, and Nim programming language standard libraries.")
|
||||
(define-public xxhash
|
||||
(package
|
||||
(name "xxhash")
|
||||
(version "0.8.2")
|
||||
(version "0.8.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -78,16 +78,11 @@ Zig, V, and Nim programming language standard libraries.")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1ljsmxcxfyxzxzk435qnjiyy441bgrxirn285lymyvv39nrwz1wj"))))
|
||||
(base32 "017py6m7rs7pr2f8j1xfyg0bc4b0biv12k8zylyg9ildry22iac7"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:make-flags
|
||||
#~(list #$(string-append "CC=" (cc-for-target))
|
||||
#$(match (or (%current-target-system)
|
||||
(%current-system))
|
||||
;; Detect vector instruction set at run time.
|
||||
((or "i686-linux" "x86_64-linux") "DISPATCH=1")
|
||||
(_ "DISPATCH=0"))
|
||||
"XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC
|
||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
|
||||
Reference in New Issue
Block a user