gnu: xxhash: Use G-expressions.
* gnu/packages/digest.scm (xxhash)[arguments]: Rewrite as G-expressions.master
parent
7608d2d05d
commit
f9fe99b4cd
|
@ -19,6 +19,7 @@
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (gnu packages digest)
|
(define-module (gnu packages digest)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
@ -79,9 +80,9 @@ Zig, V, and Nim programming language standard libraries.")
|
||||||
(base32 "1h6080lvcr5mpbvy4fhb4i7wvhpy72nrixk3djmpai4hxq41hsnr"))))
|
(base32 "1h6080lvcr5mpbvy4fhb4i7wvhpy72nrixk3djmpai4hxq41hsnr"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
(list #:make-flags
|
||||||
(list ,(string-append "CC=" (cc-for-target))
|
#~(list #$(string-append "CC=" (cc-for-target))
|
||||||
,(match (or (%current-target-system)
|
#$(match (or (%current-target-system)
|
||||||
(%current-system))
|
(%current-system))
|
||||||
;; Detect vector instruction set at run time.
|
;; Detect vector instruction set at run time.
|
||||||
((or "i686-linux" "x86_64-linux") "DISPATCH=1")
|
((or "i686-linux" "x86_64-linux") "DISPATCH=1")
|
||||||
|
@ -89,7 +90,7 @@ Zig, V, and Nim programming language standard libraries.")
|
||||||
"XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC
|
"XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-man-page-links
|
(add-after 'unpack 'fix-man-page-links
|
||||||
;; https://github.com/Cyan4973/xxHash/issues/647
|
;; https://github.com/Cyan4973/xxHash/issues/647
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue