mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-11 06:20:18 +01:00
gnu: libaio: Update to 0.3.113.
* gnu/packages/linux.scm (libaio): Update to 0.3.113. [arguments]: Resolve TODOs and remove obsolete code.
This commit is contained in:
parent
8ee9d25ebc
commit
b6434306b5
1 changed files with 5 additions and 26 deletions
|
@ -5268,7 +5268,7 @@ Linux Device Mapper multipathing driver:
|
||||||
(define-public libaio
|
(define-public libaio
|
||||||
(package
|
(package
|
||||||
(name "libaio")
|
(name "libaio")
|
||||||
(version "0.3.112")
|
(version "0.3.113")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list
|
(uri (list
|
||||||
|
@ -5276,37 +5276,16 @@ Linux Device Mapper multipathing driver:
|
||||||
name "-" version ".tar.gz")))
|
name "-" version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"14mlqdapjqq1dhpkdgy5z83mvsaz36fcxca7a4z6hinmr7r6415b"))))
|
"02r0g2vfv6kfljplm3ga93w4xw13q2wixbn9hwi7ahqdzp2x2i1c"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:make-flags
|
(list #:make-flags
|
||||||
#~(let ((target #$(%current-target-system)))
|
#~(list (string-append "prefix=" #$output)
|
||||||
;; XXX TODO: Replace with simply #$OUTPUT on core-updates.
|
(string-append "CC=" #$(cc-for-target)))
|
||||||
(list (string-append "prefix=" #$(if (%current-target-system)
|
|
||||||
#~#$output
|
|
||||||
#~%output))
|
|
||||||
(string-append
|
|
||||||
"CC=" (if target
|
|
||||||
(string-append (assoc-ref %build-inputs
|
|
||||||
"cross-gcc")
|
|
||||||
"/bin/" target "-gcc")
|
|
||||||
"gcc"))))
|
|
||||||
#:test-target "partcheck" ; need root for a full 'check'
|
#:test-target "partcheck" ; need root for a full 'check'
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure)))) ; no configure script
|
||||||
;; TODO: Make this phase unconditional on core-updates.
|
|
||||||
#$@(if (target-riscv64?)
|
|
||||||
'((add-before 'check 'patch-for-riscv-support
|
|
||||||
(lambda _
|
|
||||||
;; Taken from the upstream repo:
|
|
||||||
;; https://pagure.io/libaio/c/f322f467c3cd2ac4d8d08a19bd281eabb65433b1?branch=master
|
|
||||||
(substitute* "harness/cases/16.t"
|
|
||||||
(("(elif defined\\(__aarch64__\\))" all)
|
|
||||||
(string-append all " || defined(__riscv)"))
|
|
||||||
(("(endif /* __aarch64__)" all)
|
|
||||||
(string-append all " || __riscv "))))))
|
|
||||||
'()))))
|
|
||||||
(home-page "https://pagure.io/libaio")
|
(home-page "https://pagure.io/libaio")
|
||||||
(synopsis "Linux-native asynchronous I/O access library")
|
(synopsis "Linux-native asynchronous I/O access library")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Reference in a new issue