* [bug#52660] [PATCH] gnu: Enable babeltrace Python's bindings.
@ 2021-12-19 19:19 Olivier Dion via Guix-patches via
2021-12-22 8:24 ` bug#52660: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Olivier Dion via Guix-patches via @ 2021-12-19 19:19 UTC (permalink / raw)
To: 52660; +Cc: Olivier Dion
* gnu/packages/instrumentation.scm (babeltrace)
[tests?]: Set to false.
[configure-flags]: Enable Python's plugins and bindings.
[make-flags]: Add output's /lib to linker rpath.
---
gnu/packages/instrumentation.scm | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index 564547324c..4b2fe4095a 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -32,6 +32,7 @@ (define-module (gnu packages instrumentation)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages swig)
#:use-module (gnu packages tbb)
@@ -57,19 +58,23 @@ (define-public babeltrace
(build-system gnu-build-system)
(arguments
- `(;; FIXME - When Python's bindings are enabled, tests do not pass.
- #:configure-flags '("--enable-debug-info"
- "--enable-man-pages"
- "--disable-python-bindings"
- "--disable-python-plugins")
- #:phases
- (modify-phases %standard-phases
- ;; These are recommended in the project's README for a development
- ;; build configuration.
- (add-before 'configure 'set-environment-variables
- (lambda _
- (setenv "BABELTRACE_DEV_MODE" "1")
- (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE"))))))
+ `(#:tests? #f ; FIXME - When Python's bindings are enabled, tests do not pass.
+ #:make-flags
+ (list (string-append "LDFLAGS=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib"))
+ #:configure-flags
+ '("--enable-debug-info"
+ "--enable-man-pages"
+ "--enable-python-bindings"
+ "--enable-python-plugins")
+ #:phases
+ (modify-phases %standard-phases
+ ;; These are recommended in the project's README for a development
+ ;; build configuration.
+ (add-before 'configure 'set-environment-variables
+ (lambda _
+ (setenv "BABELTRACE_DEV_MODE" "1")
+ (setenv "BABELTRACE_MINIMAL_LOG_LEVEL" "TRACE"))))))
(inputs
(list glib))
;; NOTE - elfutils is used for the LTTng debug information filter
--
2.34.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#52660: [PATCH] gnu: Enable babeltrace Python's bindings.
2021-12-19 19:19 [bug#52660] [PATCH] gnu: Enable babeltrace Python's bindings Olivier Dion via Guix-patches via
@ 2021-12-22 8:24 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2021-12-22 8:24 UTC (permalink / raw)
To: Olivier Dion; +Cc: 52660-done
Hello Olivier,
> * gnu/packages/instrumentation.scm (babeltrace)
> [tests?]: Set to false.
> [configure-flags]: Enable Python's plugins and bindings.
> [make-flags]: Add output's /lib to linker rpath.
I gexpified it before pushing!
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-22 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19 19:19 [bug#52660] [PATCH] gnu: Enable babeltrace Python's bindings Olivier Dion via Guix-patches via
2021-12-22 8:24 ` bug#52660: " Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).