svn commit: r334186 - in head: . lib/libpmcstat

Matt Macy mmacy at FreeBSD.org
Thu May 24 21:22:04 UTC 2018


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"


More information about the svn-src-all mailing list