guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/16: gnu: libbpf: Update to 0.8.1.


From: guix-commits
Subject: 04/16: gnu: libbpf: Update to 0.8.1.
Date: Tue, 9 Aug 2022 18:29:47 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit d5986f7622bb59d40a227abf7cd973129dc4c129
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Aug 9 15:51:58 2022 +0200

    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.
---
 gnu/packages/linux.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5a9dbb35b8..adf660ea6b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8919,7 +8919,7 @@ persistent over reboots.")
 (define-public libbpf
   (package
     (name "libbpf")
-    (version "0.1.1")
+    (version "0.8.1")
     (source
      (origin
        (method git-fetch)
@@ -8929,28 +8929,26 @@ persistent over reboots.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0ilnnm4q22f8fagwp8kb37licy4ks861i2iqh2djsypqhnxvx3fv"))))
+         "1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
     (build-system gnu-build-system)
     (native-inputs
      (list pkg-config))
     (propagated-inputs
      ;; In Requires.private of libbpf.pc.
-     (list libelf zlib))
+     (list elfutils zlib))
     (arguments
      `(#:tests? #f                      ; no tests
        #:make-flags
        (list
         (string-append "PREFIX=" (assoc-ref %outputs "out"))
         (string-append "LIBDIR=$(PREFIX)/lib")
-        (string-append
-         "CC=" (assoc-ref %build-inputs "gcc") "/bin/gcc"))
+        (string-append "CC=" ,(cc-for-target)))
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
          (add-before 'build 'pre-build
            (lambda _
-             (chdir "src")
-             #t)))))
+             (chdir "src"))))))
     (home-page "https://github.com/libbpf/libbpf";)
     (synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]