Archived
1
0
Fork 0

gnu: fio: Update to 3.28.

* gnu/packages/benchmark.scm (fio): Update to 3.28.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-16 13:52:52 +02:00
parent 877313f8c0
commit e924e0adcf
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
2 changed files with 7 additions and 10 deletions

View file

@ -53,14 +53,14 @@
(define-public fio (define-public fio
(package (package
(name "fio") (name "fio")
(version "3.27") (version "3.28")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://brick.kernel.dk/snaps/" (uri (string-append "https://brick.kernel.dk/snaps/"
"fio-" version ".tar.bz2")) "fio-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0akaixip86ycbxr13bjff2121rgfbz35fa9l39677wpwzckp4f4d")))) "0ba9cnjrnm3nwcfbhh5x2sycr54j3yn1rqn76kjdyz40f3pdg3qm"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:test-target "test" '(#:test-target "test"
@ -78,16 +78,14 @@
;; in various os.system() calls mixed with *.gnuplot filenames. ;; in various os.system() calls mixed with *.gnuplot filenames.
(("; do gnuplot") (string-append "; do " gnuplot)) (("; do gnuplot") (string-append "; do " gnuplot))
(("gnuplot mymath") (string-append gnuplot " mymath")) (("gnuplot mymath") (string-append gnuplot " mymath"))
(("gnuplot mygraph") (string-append gnuplot " mygraph"))) (("gnuplot mygraph") (string-append gnuplot " mygraph"))))))
#t)))
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; The configure script doesn't understand some of the ;; The configure script doesn't understand some of the
;; GNU options, so we can't use #:configure-flags. ;; GNU options, so we can't use #:configure-flags.
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(invoke "./configure" (invoke "./configure"
(string-append "--prefix=" out)) (string-append "--prefix=" out)))))
#t)))
;; The main `fio` executable is fairly small and self contained. ;; The main `fio` executable is fairly small and self contained.
;; Moving the auxiliary python and gnuplot scripts to a separate ;; Moving the auxiliary python and gnuplot scripts to a separate
;; output saves almost 400 MiB on the closure. ;; output saves almost 400 MiB on the closure.
@ -105,8 +103,7 @@
"fiologparser.py")) "fiologparser.py"))
;; Make sure numpy et.al is found. ;; Make sure numpy et.al is found.
(wrap-program (string-append newbin "/fiologparser_hist.py") (wrap-program (string-append newbin "/fiologparser_hist.py")
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))) `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH"))))))))))
#t))))))
(outputs '("out" "utils")) (outputs '("out" "utils"))
(inputs (inputs
`(("ceph" ,ceph "lib") `(("ceph" ,ceph "lib")

View file

@ -822,7 +822,7 @@ television and DVD. It is also known as AC-3.")
(define-public libaom (define-public libaom
(package (package
(name "libaom") (name "libaom")
(version "3.1.2") (version "3.1.3")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -831,7 +831,7 @@ television and DVD. It is also known as AC-3.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1c7yrhb56qj5c3lz54n1f9cbrvdr32g2yrrdiiy72sib8ycq9hz2")))) "08rk31d2cp9k9nj37s6a4n7klpfqfbj62anwyiggzsz7b68psjq3"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("perl" ,perl) `(("perl" ,perl)