me
/
guix
Archived
1
0
Fork 0

gnu: Add tracy.

* gnu/packages/profiling.scm (tracy): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
dan 2023-09-25 01:14:00 +08:00 committed by Maxim Cournoyer
parent bdce0646ae
commit 031784f9f9
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 16 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) ;for "which" #:use-module (gnu packages base) ;for "which"
#:use-module (gnu packages bash) ;for "which"
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages documentation) #:use-module (gnu packages documentation)
@ -463,3 +464,18 @@ high-performance computing (HPC) applications.")
"A real time, nanosecond resolution, remote telemetry, hybrid frame and "A real time, nanosecond resolution, remote telemetry, hybrid frame and
sampling profiler for games and other applications.") sampling profiler for games and other applications.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public tracy
(package;xb
(inherit tracy-wayland)
(name "tracy")
(arguments
(substitute-keyword-arguments (package-arguments tracy-wayland)
((#:make-flags flags #~'())
#~(append #$flags
;; The LEGACY flag indicate we want to build tracy with glfw.
(list "LEGACY=1")))))
(inputs (modify-inputs (package-inputs tracy-wayland)
(delete "libxkbcommon" "wayland")
(prepend glfw)))
(synopsis "Frame profiler (X11 version)")))