- Move from kernel version to turbostat internal version for turbostat

- Add latest turbostat sources (latest git commit: 30f05309bde492)
- Adds Skylake, Broadwell and Knights Landing support for turbostat
  (fate#319798, fate#319183, fate#319516)

OBS-URL: https://build.opensuse.org/package/show/hardware/cpupower?expand=0&rev=55
This commit is contained in:
Thomas Renninger 2016-01-26 17:30:49 +00:00 committed by Git OBS Bridge
parent b56163a69e
commit 824f0d30ab
6 changed files with 22 additions and 14 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 26 17:29:27 UTC 2016 - trenn@suse.de
- Move from kernel version to turbostat internal version for turbostat
- Add latest turbostat sources (latest git commit: 30f05309bde492)
- Adds Skylake, Broadwell and Knights Landing support for turbostat
(fate#319798, fate#319183, fate#319516)
-------------------------------------------------------------------
Wed Jan 6 10:22:14 UTC 2016 - jdelvare@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cpupower
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Author: Thomas Renninger <trenn@suse.de>
#
# All modifications and additions to the file contributed by third parties
@ -22,7 +22,7 @@ Name: cpupower
%define version %(rpm -q --qf '%{VERSION}' kernel-source)
Version: 3.19
Release: 0
%define tsversion 3.19
%define tsversion 4.8
Summary: Tools to determine and set CPU Power related Settings
License: GPL-2.0
Group: System/Base

View File

@ -1,12 +1,12 @@
Index: turbostat-3.14/Makefile
Index: turbostat-4.8/Makefile
===================================================================
--- turbostat-3.14.orig/Makefile
+++ turbostat-3.14/Makefile
@@ -5,7 +5,6 @@ DESTDIR :=
--- turbostat-4.8.orig/Makefile 2016-01-26 18:26:10.350954918 +0100
+++ turbostat-4.8/Makefile 2016-01-26 18:26:40.512676659 +0100
@@ -9,7 +9,6 @@ endif
turbostat : turbostat.c
CFLAGS += -Wall
-CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/uapi/asm/msr-index.h"'
-CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
%: %.c
@mkdir -p $(BUILD_OUTPUT)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13609c4d8776f9c7dbea10a5cfe46471762b4631a67722d8f1aabcff8658f163
size 17070

3
turbostat-4.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:115427a60ddad420d5399ef99062c1d2065cfe7896e3e6b14461e18faeaf6335
size 27108

View File

@ -1,8 +1,8 @@
Index: turbostat-3.13/Makefile
Index: turbostat-4.8/Makefile
===================================================================
--- turbostat-3.13.orig/Makefile
+++ turbostat-3.13/Makefile
@@ -19,4 +19,4 @@ install : turbostat
--- turbostat-4.8.orig/Makefile 2016-01-21 12:41:36.053333345 +0100
+++ turbostat-4.8/Makefile 2016-01-26 18:25:57.334212372 +0100
@@ -23,4 +23,4 @@ install : turbostat
install -d $(DESTDIR)$(PREFIX)/bin
install $(BUILD_OUTPUT)/turbostat $(DESTDIR)$(PREFIX)/bin/turbostat
install -d $(DESTDIR)$(PREFIX)/share/man/man8