[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70962] [PATCH 04/14] gnu: libbpf: Use gexps.
From: |
Maxim Cournoyer |
Subject: |
[bug#70962] [PATCH 04/14] gnu: libbpf: Use gexps. |
Date: |
Wed, 15 May 2024 12:57:14 -0400 |
* gnu/packages/linux.scm (libbpf) [arguments]: Use gexps.
Change-Id: I5529cda3b316a24b48f4a33bfd685695614350bb
---
gnu/packages/linux.scm | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8a849d146a..dea203a692 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9795,31 +9795,27 @@ (define-public libbpf
(base32
"1zzpkk4x3f20483dzw43b3ml03d63vvkmqf4j8y3b61b67wm59bm"))))
(build-system gnu-build-system)
- (native-inputs
- (list pkg-config))
- (propagated-inputs
- ;; In Requires.private of libbpf.pc.
- (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=" ,(cc-for-target)))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'pre-build
- (lambda _
- (chdir "src"))))))
+ (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
(home-page "https://github.com/libbpf/libbpf")
(synopsis "BPF CO-RE (Compile Once – Run Everywhere)")
(description
"Libbpf supports building BPF CO-RE-enabled applications, which, in
contrast to BCC, do not require the Clang/LLVM runtime or linux kernel
headers.")
- (license `(,license:lgpl2.1 ,license:bsd-2))))
+ (license (list license:lgpl2.1 license:bsd-2))))
(define-public bcc
(package
--
2.41.0
- [bug#70962] [PATCH 01/14] gnu: grpc: Modernize., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 03/14] gnu: Add valijson., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 02/14] gnu: grpc: Propagate abseil-cpp-cxxstd11., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 05/14] gnu: libbpf: Update to 1.4.1., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 08/14] gnu: Add dwarves., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 12/14] gnu: linux-libre: Enable BTF debug info., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 10/14] gnu: make-linux-libre*: Run install targets in parallel., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 07/14] gnu: Add sysdig., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 04/14] gnu: libbpf: Use gexps.,
Maxim Cournoyer <=
- [bug#70962] [PATCH 14/14] gnu: linux-libre-with-bpf: Deprecate in favor of linux-libre., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 06/14] gnu: Add falcosecurity-libs., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 13/14] gnu: linux-libre: Enable Zstd compression of kernel modules., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 11/14] gnu: linux: Turn %default-extra-linux-options into a procedure., Maxim Cournoyer, 2024/05/15
- [bug#70962] [PATCH 09/14] gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility., Maxim Cournoyer, 2024/05/15