[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49584: closed ([PATCH] gnu: Add powercap.)
From: |
GNU bug Tracking System |
Subject: |
bug#49584: closed ([PATCH] gnu: Add powercap.) |
Date: |
Mon, 19 Jul 2021 13:32:01 +0000 |
Your message dated Mon, 19 Jul 2021 16:29:41 +0300
with message-id <YPV+Rabw2+vjpUAa@3900XT>
and subject line Re: [bug#49584] [PATCH] gnu: Add powercap.
has caused the debbugs.gnu.org bug report #49584,
regarding [PATCH] gnu: Add powercap.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)
--
49584: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49584
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message ---
Subject: |
[PATCH] gnu: Add powercap. |
Date: |
Thu, 15 Jul 2021 17:27:56 -0400 |
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/linux.scm (powercap): New variable.
---
gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 41902e7785..295e456488 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1651,6 +1651,34 @@ at login. Local and dynamic reconfiguration are its key
features.")
;;; Miscellaneous.
;;;
+(define-public powercap
+ (package
+ (name "powercap")
+ (version "0.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/powercap/powercap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hp2i1d195v0n4jgvgaymkxlpgyhn07ic273gkda95lz65cdfcgm"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags
+ '("-DBUILD_SHARED_LIBS=On" "-DCMAKE_BUILD_TYPE=Release")))
+ (home-page "https://github.com/powercap/powercap")
+ (synopsis "C interface to the Linux power capping framework
+(sysfs interface)")
+ (description "C interface to the Linux power capping framework (sysfs
+interface). It includes an implementation for working with Intel Running
+Average Power Limit (RAPL).
+
+It provides the commands powercap-info and powercap-set.")
+ (license license:bsd-3)))
+
(define-public powerstat
(package
(name "powerstat")
--
2.32.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#49584] [PATCH] gnu: Add powercap. |
Date: |
Mon, 19 Jul 2021 16:29:41 +0300 |
After reading the synopsis and description and then seeing it again on
their repo's README I went and borrowed the ones from Debian, which I
found clearer.
Patch pushed!
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
--- End Message ---
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#49584: closed ([PATCH] gnu: Add powercap.),
GNU bug Tracking System <=