Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2015 23:12:56 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403940 - in head/sysutils/intel-pcm: . files
Message-ID:  <201512172312.tBHNCuDp037432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Dec 17 23:12:56 2015
New Revision: 403940
URL: https://svnweb.freebsd.org/changeset/ports/403940

Log:
  Update to Intel PCM v2.10

Added:
  head/sysutils/intel-pcm/files/
  head/sysutils/intel-pcm/files/patch-cpucounters.cpp   (contents, props changed)
  head/sysutils/intel-pcm/files/patch-cpucounters.h   (contents, props changed)
Modified:
  head/sysutils/intel-pcm/Makefile
  head/sysutils/intel-pcm/distinfo

Modified: head/sysutils/intel-pcm/Makefile
==============================================================================
--- head/sysutils/intel-pcm/Makefile	Thu Dec 17 21:57:09 2015	(r403939)
+++ head/sysutils/intel-pcm/Makefile	Thu Dec 17 23:12:56 2015	(r403940)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	intel-pcm
-PORTVERSION=	2.8
+PORTVERSION=	2.10
 CATEGORIES=	sysutils
 MASTER_SITES=	LOCAL/imp
-DISTNAME=	intelperformancecountermonitorv${PORTVERSION}
+DISTNAME=	IntelPerformanceCounterMonitor-PCM-V${PORTVERSION}
 
 MAINTAINER=	imp@FreeBSD.org
 COMMENT=	Intel PCM toolkit
@@ -16,7 +16,7 @@ USES=		gmake compiler:c++11-lang zip
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-WRKSRC=		${WRKDIR}/IntelPerformanceCounterMonitorV${PORTVERSION}
+WRKSRC=		${WRKDIR}/IntelPerformanceCounterMonitor-PCM-V${PORTVERSION}
 MAKE_ARGS=	CXX="${CXX}" LIB=-lpthread
 
 do-install:

Modified: head/sysutils/intel-pcm/distinfo
==============================================================================
--- head/sysutils/intel-pcm/distinfo	Thu Dec 17 21:57:09 2015	(r403939)
+++ head/sysutils/intel-pcm/distinfo	Thu Dec 17 23:12:56 2015	(r403940)
@@ -1,2 +1,2 @@
-SHA256 (intelperformancecountermonitorv2.8.zip) = 3c51b2fc7b772f16f746ea6fda0471d280c0f27bfd52fa51dd78433ca5a6ca6a
-SIZE (intelperformancecountermonitorv2.8.zip) = 931374
+SHA256 (IntelPerformanceCounterMonitor-PCM-V2.10.zip) = 46897ab2a8627ad5a58f05b19746b00b4f95126e8abccd9bed978b1f2675fc19
+SIZE (IntelPerformanceCounterMonitor-PCM-V2.10.zip) = 950922

Added: head/sysutils/intel-pcm/files/patch-cpucounters.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-pcm/files/patch-cpucounters.cpp	Thu Dec 17 23:12:56 2015	(r403940)
@@ -0,0 +1,17 @@
+--- cpucounters.cpp.orig	2015-11-17 01:01:38.000000000 -0700
++++ cpucounters.cpp	2015-12-14 14:46:09.000000000 -0700
+@@ -1365,7 +1365,13 @@
+         cpu_model = ATOM;
+     }
+     if (cpu_model == HASWELL_ULT || cpu_model == HASWELL_2) cpu_model = HASWELL;
+-    if (cpu_model == BROADWELL_XEON_E3) cpu_model = BROADWELL;
++
++    if ((cpu_model == BROADWELL_XEON_E3) ||
++	(cpu_model == BROADWELL_XEON_E5) ||
++	(cpu_model == BROADWELL_XEON_E7)) {
++	cpu_model = BROADWELL;
++    }
++
+     if (cpu_model == SKL_UY) cpu_model = SKL;
+ 
+     if(!isCPUModelSupported((int)cpu_model))

Added: head/sysutils/intel-pcm/files/patch-cpucounters.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-pcm/files/patch-cpucounters.h	Thu Dec 17 23:12:56 2015	(r403940)
@@ -0,0 +1,11 @@
+--- cpucounters.h.orig	2015-11-17 01:01:38.000000000 -0700
++++ cpucounters.h	2015-12-14 14:45:07.000000000 -0700
+@@ -709,6 +709,8 @@
+         HASWELLX = 63,
+         BROADWELL = 61,
+         BROADWELL_XEON_E3 = 71,
++	BROADWELL_XEON_E5 = 79,
++	BROADWELL_XEON_E7 = 86,
+         BDX_DE = 86,
+         SKL_UY = 78,
+         SKL = 94,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512172312.tBHNCuDp037432>