Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 21:22:03 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334186 - in head: . lib/libpmcstat
Message-ID:  <201805242122.w4OLM3HL019447@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Thu May 24 21:22:03 2018
New Revision: 334186
URL: https://svnweb.freebsd.org/changeset/base/334186

Log:
  libpmcstat: Don't build pmu tables on !amd64 until the corresponding
  util routines have been written and tested. Currently building them
  breaks the build on power64
  
  Reported by:	emaste

Modified:
  head/Makefile.inc1
  head/lib/libpmcstat/Makefile

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu May 24 21:13:46 2018	(r334185)
+++ head/Makefile.inc1	Thu May 24 21:22:03 2018	(r334186)
@@ -2029,8 +2029,7 @@ _tcsh=bin/csh
 _libmagic=lib/libmagic
 .endif
 
-.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
-	${MACHINE_CPUARCH} == "powerpc")
+.if ${MACHINE_CPUARCH} == "amd64"
 _jevents=lib/libpmcstat/pmu-events
 .endif
 

Modified: head/lib/libpmcstat/Makefile
==============================================================================
--- head/lib/libpmcstat/Makefile	Thu May 24 21:13:46 2018	(r334185)
+++ head/lib/libpmcstat/Makefile	Thu May 24 21:22:03 2018	(r334186)
@@ -15,8 +15,8 @@ INCS=	libpmcstat.h
 
 CFLAGS+= -I${.CURDIR}
 
-.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
-	${MACHINE_CPUARCH} == "powerpc")
+.if ${MACHINE_CPUARCH} == "amd64" 
+
 .if ${MACHINE_CPUARCH} == "aarch64"
 EVENT_ARCH="arm64"
 .elif ${MACHINE_CPUARCH} == "amd64"



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