3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

View file

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