gnu: libbpf: Update to 0.8.1.
* gnu/packages/linux.scm (libbpf): Update to 0.8.1. [inputs]: Change from LIBELF to ELFUTILS. [arguments]: Use CC-FOR-TARGET. Remove trailing #t.
This commit is contained in:
parent
78c917e9a4
commit
d5986f7622
|
@ -8919,7 +8919,7 @@ (define-public cachefilesd
|
||||||
(define-public libbpf
|
(define-public libbpf
|
||||||
(package
|
(package
|
||||||
(name "libbpf")
|
(name "libbpf")
|
||||||
(version "0.1.1")
|
(version "0.8.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -8929,28 +8929,26 @@ (define-public libbpf
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ilnnm4q22f8fagwp8kb37licy4ks861i2iqh2djsypqhnxvx3fv"))))
|
"1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
(list pkg-config))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; In Requires.private of libbpf.pc.
|
;; In Requires.private of libbpf.pc.
|
||||||
(list libelf zlib))
|
(list elfutils zlib))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list
|
(list
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "LIBDIR=$(PREFIX)/lib")
|
(string-append "LIBDIR=$(PREFIX)/lib")
|
||||||
(string-append
|
(string-append "CC=" ,(cc-for-target)))
|
||||||
"CC=" (assoc-ref %build-inputs "gcc") "/bin/gcc"))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-before 'build 'pre-build
|
(add-before 'build 'pre-build
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "src")
|
(chdir "src"))))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://github.com/libbpf/libbpf")
|
(home-page "https://github.com/libbpf/libbpf")
|
||||||
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
|
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue