svn commit: r553629 - head/graphics/s2
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Oct 29 17:28:58 UTC 2020
Author: pkubaj
Date: Thu Oct 29 17:28:57 2020
New Revision: 553629
URL: https://svnweb.freebsd.org/changeset/ports/553629
Log:
graphics/s2: fix build on powerpc64
Specifically optimize for POWER7 or later:
/wrkdirs/usr/ports/graphics/s2/work/s2geometry-0.9.0/src/s2/util/bits/bits.h:509:19: error: this builtin is only valid on POWER7 or later CPUs
uint64 result = __builtin_bpermd(0x3f3e3d3c3b3a3938, temp);
Modified:
head/graphics/s2/Makefile
Modified: head/graphics/s2/Makefile
==============================================================================
--- head/graphics/s2/Makefile Thu Oct 29 16:57:21 2020 (r553628)
+++ head/graphics/s2/Makefile Thu Oct 29 17:28:57 2020 (r553629)
@@ -34,6 +34,8 @@ GFLAGS_LIB_DEPENDS= libgflags.so:devel/gflags
GLOG_CMAKE_BOOL= WITH_GLOG
GLOG_LIB_DEPENDS= libglog.so:devel/glog
+CXXFLAGS_powerpc64= -mcpu=power7
+
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/examples/point_index ${INSTALL_WRKSRC}/examples/term_index ${STAGEDIR}${EXAMPLESDIR}
More information about the svn-ports-all
mailing list