[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: libbpf: Reintroduce 0.8.1.
From: |
guix-commits |
Subject: |
07/15: gnu: libbpf: Reintroduce 0.8.1. |
Date: |
Sun, 2 Jun 2024 14:56:49 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 5245e081fc3dccaa20aca23c54fb36251b5f86a8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Jun 2 20:28:20 2024 +0200
gnu: libbpf: Reintroduce 0.8.1.
This version was removed in 12d2a6e5a6f412d91ba0c34a1c3c080c6c587cc6.
* gnu/packages/linux.scm (libbpf-0.8): New variable.
Change-Id: I99a323667ce86671caf3fc0227379fbba073c0a1
---
gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e4773c7807..54670e0332 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -10018,6 +10018,36 @@ contrast to BCC, do not require the Clang/LLVM runtime
or linux kernel
headers.")
(license (list license:lgpl2.1 license:bsd-2))))
+(define-public libbpf-0.8
+ (package
+ (inherit libbpf)
+ (name "libbpf")
+ (version "0.8.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libbpf/libbpf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
+ (arguments
+ (list
+ #:tests? #f ;self-tests run in QEMU
+ #:make-flags
+ #~(list (string-append "PREFIX=" #$output)
+ (string-append "LIBDIR=$(PREFIX)/lib")
+ (string-append "CC=" #$(cc-for-target)))
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'pre-build
+ (lambda _
+ (chdir "src"))))))
+ (native-inputs (list pkg-config))
+ (propagated-inputs (list elfutils zlib)))) ;in Requires.private of
libbpf.pc
+
(define-public bcc
(package
(name "bcc")
- 01/15: services: nscd: ‘log-file’ defaults to #f., (continued)
- 01/15: services: nscd: ‘log-file’ defaults to #f., guix-commits, 2024/06/03
- 11/15: gnu: Add rust-nix-0.28., guix-commits, 2024/06/03
- 06/15: gnu: emacs-org: Update to 9.6.30., guix-commits, 2024/06/03
- 05/15: services: darkstat: Depend on ‘user-processes’., guix-commits, 2024/06/03
- 12/15: gnu: Add rust-dns-lookup-2., guix-commits, 2024/06/03
- 10/15: gnu: Add rust-libc-0.2.153., guix-commits, 2024/06/03
- 13/15: gnu: Add rust-temp-env-0.3., guix-commits, 2024/06/03
- 09/15: gnu: knot: Remove input labels., guix-commits, 2024/06/03
- 08/15: gnu: knot: Build against libbpf 0.8., guix-commits, 2024/06/03
- 14/15: gnu: Add rust-slog-async-2-8., guix-commits, 2024/06/03
- 07/15: gnu: libbpf: Reintroduce 0.8.1.,
guix-commits <=
- 04/15: services: avahi: Use socket activation and log to stderr., guix-commits, 2024/06/03