emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32488: closed ([PATCH] gnu: Add msr-tools.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32488: closed ([PATCH] gnu: Add msr-tools.)
Date: Thu, 30 Aug 2018 17:54:02 +0000

Your message dated Thu, 30 Aug 2018 19:53:50 +0200
with message-id <address@hidden>
and subject line [PATCH] gnu: Add msr-tools.
has caused the debbugs.gnu.org bug report #32488,
regarding [PATCH] gnu: Add msr-tools.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32488: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32488
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add msr-tools. Date: Tue, 21 Aug 2018 01:16:33 +0200
* gnu/packages/admin.scm (msr-tools): New public variable.
---
 gnu/packages/admin.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index c9230c329..ac259fc00 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -468,6 +468,52 @@ asks for a login name and then transfers over to 'login'.  
It is extended to
 allow automatic login and starting any app.")
     (license license:gpl2+)))
 
+(define-public msr-tools
+  (package
+    (name "msr-tools")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://01.org/sites/default/files/downloads/";
+                           name "/" name "-" version ".zip"))
+       (sha256
+        (base32 "07hxmddg0l31kjfmaq84ni142lbbvgq6391r8bd79wpm819pnigr"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list (string-append "sbindir=" (assoc-ref %outputs "out") "/sbin"))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)            ; no configure script
+         (add-before 'install 'create-output-directory
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out  (assoc-ref outputs "out"))
+                    (sbin (string-append out "/sbin")))
+               (mkdir-p sbin)
+               #t))))
+       #:tests? #f))                    ; no test suite
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (home-page "https://01.org/msr-tools/";)
+    (synopsis "Model-Specific Register (@dfn{MSR})")
+    (description
+     "The MSR Tools project provides console utilities to directly access the
+Model-Specific Registers (@dfn{MSR}s) and CPU ID of Intel-compatible 
processors:
+
address@hidden
address@hidden @command{cpuid}: show identification and feature information of 
any CPU
address@hidden @command{rdmsr}: read MSRs from any CPU or all CPUs
address@hidden @command{wrmsr}: write to MSRs on any CPU or all CPUs
address@hidden itemize
+
+These tools can be used to query and modify certain low-level CPU parameters,
+such as the Turbo Boost ratio and Thermal Design Power (@dfn{TDP}) limits.
+
+MSR addresses differ (greatly) between processors, and any such modification 
can
+be dangerous and may void your CPU or system board's warranty.")
+    (license license:gpl2)))     ; cpuid.c is gpl2, {rd,wr}msr.c are gpl2+
+
 (define-public net-base
   (package
     (name "net-base")
-- 
2.18.0




--- End Message ---
--- Begin Message --- Subject: [PATCH] gnu: Add msr-tools. Date: Thu, 30 Aug 2018 19:53:50 +0200
Guix, Ludo',

Pushed as 6e8c75b88435550906e251dd4a9c2eb732f803d4.

Thanks for the review,

T G-R


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]