From nobody Thu Apr 21 17:25:22 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F2B80198E661; Thu, 21 Apr 2022 17:25:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KkkvR2c4Bz4TPk; Thu, 21 Apr 2022 17:25:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650561923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QwU1jMsGLsonBFC11WcVhfA9NLCEOMAyMfaF7jlGcAU=; b=wsSdKmjUg+B5E0KDayf2CFQ+tYDCgxdWJpbaQh0ZxSueJ1bhgnDk/S8iX9agdLJXnZitYz +kArvKSgdspDry4kLEZpE1u90H5JS/Nt2YG879IZTaabm2uIREiDT/S01iofUB7rgRPBeC CLXRgI2InLrZ6snfLtB8zUfH5Mbymth9Kbbg3qsEImuDPvv2J2QL6+j9tPHTXsypgmgpiV nYtKoBjCmmMnw6GzPu1mQUooA/1f/9oTtXRXUCnUnaXwGlfx1tnqOcinIasxAva+oK6pAS US/8SIy7WO4ftHNv60OTt7/5JO+txbjFopzyKJ6Q6CgKX7VpgUfB3zc7mACV4g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB6AD48FF; Thu, 21 Apr 2022 17:25:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23LHPMiI098248; Thu, 21 Apr 2022 17:25:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23LHPMNL098247; Thu, 21 Apr 2022 17:25:22 GMT (envelope-from git) Date: Thu, 21 Apr 2022 17:25:22 GMT Message-Id: <202204211725.23LHPMNL098247@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: f391042d9e30 - main - graphics/s2: improve experience for people on POWER newer than POWER7 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f391042d9e30603094bcfdd216d2559fabfcd8db Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650561923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QwU1jMsGLsonBFC11WcVhfA9NLCEOMAyMfaF7jlGcAU=; b=PkrHeJsKx1J1kf7gnCVeuHoV9AqtdAatgItXyRIWKSS8QgQCMj48gSZgkzFHexjPezhpNR SXcV5GesGQQQPFneIgujblYxkiG3CIJthHxC0MgOWtp0uqdegrhYNxGYbU3PutkxzUJKS/ Pk+YBunQJJjNXyuniIxant4bllFFhxYCRxyXrSYIS9oR/aDk80+w7EQOoMt6zCNN2ZnsdH UveKJY9SW/6DiRuaPzIggjJP5rcubbVqyvTri4AP0/Q8MK8MHivJspSGw7KF+om+Xpk54c cWtabLmECbgRZBkINXYeI/wHac5icxfWqGVZcnki8N0Xn9akMRCWq+JSccO3MQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650561923; a=rsa-sha256; cv=none; b=VIkrBL6Ew/Vs7zUBY2ginZdo9wzQETFLKt7PtlKKTTl+krC7LOcVE6T5YBKQJHH3MZYSEn vlgi+dHLkkCG1k8L5T33CdIfAr6VvUpiYt2OuKSCF5GgFkJD1+JSCaXV4x7uHNkktIPM70 OIBog2YKlMoaTjuwWlq9v940iGYL+fj2CTvTNlNzTew2uWkrDPsxVKh/Wh9+NAIEFG+yZA vWTrX7AY8sos3edImZ3Yu8VJGKWRuyq1DXunYfxZptxKDc2gQRnev5nDpoV1y+E8m+FuZ7 XBNBKQz1AY/3pL74wEV8hzBzqpqXuz+3CaOf2E/unXgdOWPAQV5ykHteq1RUwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f391042d9e30603094bcfdd216d2559fabfcd8db commit f391042d9e30603094bcfdd216d2559fabfcd8db Author: Piotr Kubaj AuthorDate: 2022-04-21 17:11:05 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-21 17:11:05 +0000 graphics/s2: improve experience for people on POWER newer than POWER7 Don't hardcode -mcpu. --- graphics/s2/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphics/s2/Makefile b/graphics/s2/Makefile index 9cfd51ccf0bc..6f00c3c4821c 100644 --- a/graphics/s2/Makefile +++ b/graphics/s2/Makefile @@ -20,7 +20,6 @@ LIB_DEPENDS= libgtest.so:devel/googletest USES= cmake compiler:c++11-lang localbase ssl CMAKE_ON= BUILD_SHARED_LIBS -CXXFLAGS_powerpc64= -mcpu=power7 USE_LDCONFIG= yes GH_ACCOUNT= google @@ -38,6 +37,12 @@ GFLAGS_LIB_DEPENDS= libgflags.so:devel/gflags GLOG_CMAKE_BOOL= WITH_GLOG GLOG_LIB_DEPENDS= libglog.so:devel/glog +.include + +.if ${ARCH} == powerpc64 && !defined(CPUTYPE) +CXXFLAGS+= -mcpu=power7 +.endif + post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/examples/point_index ${INSTALL_WRKSRC}/examples/term_index ${STAGEDIR}${EXAMPLESDIR}