From nobody Mon Dec 20 02:03:37 2021 X-Original-To: dev-commits-ports-main@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 3393018FFE3C; Mon, 20 Dec 2021 02:03:38 +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 4JHND95yX7z4XDb; Mon, 20 Dec 2021 02:03:37 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 927605D4E; Mon, 20 Dec 2021 02:03:37 +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 1BK23bxf079587; Mon, 20 Dec 2021 02:03:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BK23bnk079586; Mon, 20 Dec 2021 02:03:37 GMT (envelope-from git) Date: Mon, 20 Dec 2021 02:03:37 GMT Message-Id: <202112200203.1BK23bnk079586@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: 728e26e5c6f8 - main - devel/bullet: fix build on powerpc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 728e26e5c6f8e7c59fc515759a1671b530840187 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639965817; 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=q38C3floCoxIhpKkw1wfap8clyzCRs397IGXNYiEyiY=; b=hY3raHBf5FH9CQtSuX+ydXdOc6YxBQmLJt7KKm0rt3JfIff/CjsJeEFm3s7WJc6IFLCh+Q 8We3AKXHgN8Ztpi5S5Cr1tMXPcKHdiWl7M6MlGHP0Iqf7OAyP/ZguuDOd0kknnewyifO+9 yhvW9aeeTA0gE+DCeph2fB8g9OW7/7MPU8GjG1n4y2Ing6IxueHHfBuYyIbv+Y00zST46P fwUuMrXbEfF+hEUhCyYFdHx4pMwcPTMA3PYph/JZe9ylMuizl6K7tkily60o8BsjHWvQYX OgJGh/0+i/dueoUMKLLIAjjr/5X2rgnnFk2/lqUM+Vf0GRT6g4YMXrStDMZWZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639965817; a=rsa-sha256; cv=none; b=wM/OfjkVksCkopYb0g6aGdXe1PAc4OkMyJ0J/dAvibRCgvPn57NzOKLHoV5hYG9U8zRLkW coTPsh/qAYjEcxZpqampyutRfLnHpwhE6b3BC65ja/5XSen2JBGMjLKxfINZsWzLYtss9h TMXYDaUMwJjTF2xbTKUrxVCofoQFliANNUzRmO0Sgpw+DTNHbtdifD5lM8oDBCZKJquTc+ B6nlr9peXRmql7XL9Mn2fYQdP8QvztzcA9I+ZXEy3H3eXBpYuhoI6GbnoJ7gF3depMSnTf IGeeMiyQvYPPRdX862HlFhopDUW1aWb93fjyKcRS9IXoG8RzIc+De4QY6YAcUw== 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=728e26e5c6f8e7c59fc515759a1671b530840187 commit 728e26e5c6f8e7c59fc515759a1671b530840187 Author: Piotr Kubaj AuthorDate: 2021-12-20 01:56:45 +0000 Commit: Piotr Kubaj CommitDate: 2021-12-20 01:56:45 +0000 devel/bullet: fix build on powerpc : && /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -fopenmp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -shared -Wl,-soname,libHACD.so.3.20 -o Extras/HACD/libHACD.so.3.20 Extras/HACD/CMakeFiles/HACD.dir/hacdGraph.o Extras/HACD/CMakeFiles/HACD.dir/hacdHACD.o Extras/HACD/CMakeFiles/HACD.dir/hacdICHull.o Extras/HACD/CMakeFiles/HACD.dir/hacdManifoldMesh.o -pthread && : ld: error: unable to find library -lomp --- devel/bullet/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile index 55341678d677..a9337e071dd8 100644 --- a/devel/bullet/Makefile +++ b/devel/bullet/Makefile @@ -30,7 +30,7 @@ GH_PROJECT= bullet3 CMAKE_ON= BUILD_BULLET3 BUILD_SHARED_LIBS INSTALL_LIBS \ BUILD_EXTRAS INSTALL_EXTRA_LIBS \ - BULLET2_MULTITHREADING BULLET2_USE_OPEN_MP_MULTITHREADING + BULLET2_MULTITHREADING CMAKE_OFF= BUILD_CPU_DEMOS BUILD_BULLET2_DEMOS BUILD_BULLET3_DEMOS \ BUILD_OPENGL3_DEMOS BUILD_PYBULLET BUILD_UNIT_TESTS \ BULLET2_USE_TBB_MULTITHREADING ENABLE_VHACD \ @@ -51,6 +51,14 @@ OPTIONS_DEFINE= DOCS PLIST_SUB= LIB_VERSION=3.20 +.include + +.if ${ARCH} == powerpc +CMAKE_OFF+= BULLET2_USE_OPEN_MP_MULTITHREADING +.else +CMAKE_ON+= BULLET2_USE_OPEN_MP_MULTITHREADING +.endif + post-patch: @${RM} -r ${WRKSRC}/examples/pybullet