From nobody Wed Feb 08 20:17:42 2023 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 4PBrs25jR3z3pD77; Wed, 8 Feb 2023 20:17:42 +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 4PBrs2575nz3N30; Wed, 8 Feb 2023 20:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675887462; 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=HXpEfbNI0ALgIugV7aJOEcDbjIgqBHvrCn2Z2iJ5sys=; b=DFoNtjY9BVeElaJxRakWO92VSQt8I5gQcPDii3I28Fn9FrqwrICEF2qlxRtXzg3MbybvzW vNdfcxAkfTyu1aez6Oz3EjoR/hXXncunljjf+iP5UU9SZ0yQ6BOcD5bl9yFLdA496DhFFo YO4SOfDHxMzIAdV4X9vNcNQFO9HkVEA7j2jUyr7oLhINYI4wkEgnVVfUuWhc8z6KLc9213 JpexWFqNKkk3F5X6XEYH8RaqLXhExlZA9wobrx/ah9TRCmANPgGLqDwBgx/3UzKp2rb6u9 CQ9Lkvx1aSWGF5Mv1VgyZzp4od2ihky+RsKceelGGJ0WJNrySkhimhuofRweoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675887462; 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=HXpEfbNI0ALgIugV7aJOEcDbjIgqBHvrCn2Z2iJ5sys=; b=okvOjEd+Imt6rWLBBSsvF9fYXddvAmxiydqN9i0/GTX65GK8f8LsVVITxMowE3Y4nsjUNi VHg8JKlFyjVWqjkmFcJwHoYEFJ91kOA0d6pBF5udXkGnMr3Xl3jzHNu38zfSd0nXgpJfm5 YU9az91BzZ3DKHkyXTJHSf/Rs5cz3USgqqWcrB7m/zztz/6oneAyCwg7PuwRXEFDHSDr60 xlw7+pvYRkCgzdfnVvQR/ngHbe6RJMXgHp8edjvcLAQR19hSI0l0Yo4AVfe6rVMGuQ7yZI RQPW1f4TQpgskA3Gvd39wz2lSvgqFeLMVnqKcdIQZcuszbQVMbxPPJKLti5NvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675887462; a=rsa-sha256; cv=none; b=N+nooDdOkaYhPfNb/h9n0KrTs3gTxX0ZViJZPQspLfwWrlpWXbeeJUdPGxI2qsZT0dFL8S G1nccgdzxSPjjPEiNVOsRf3fAswZ1ltXlcfcGWPL32iIxmhXFtJw4uPQr1LjAUTxdwcPvS L3PbSqyM6yXlgWfwLjbkklsn2Gw1iry5PHHj5dcAl10JJVPQrazaiZOz+0iWCErBD57Xrm WsFqBtBjBx+5YltuGhEH8R6GiKZ0RZNCx8pxGQZo4rPkZHjl7MWtb3FUeVajEI4UKRn4Wp 30+1Sc6jk7vRGfHMTcjnCOdPAQORwG8xo5QsH8C7cI9Dr2g1/zfk7I3HyrUaJQ== 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 4PBrs249lpz18rD; Wed, 8 Feb 2023 20:17:42 +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 318KHg4v096427; Wed, 8 Feb 2023 20:17:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 318KHgRH096426; Wed, 8 Feb 2023 20:17:42 GMT (envelope-from git) Date: Wed, 8 Feb 2023 20:17:42 GMT Message-Id: <202302082017.318KHgRH096426@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: 278ced6f36e6 - main - math/py-fastcluster: fix build on powerpc* with LLVM 14 by forcing 15 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: 278ced6f36e6b428c4f718bd8536a0b4884816e9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=278ced6f36e6b428c4f718bd8536a0b4884816e9 commit 278ced6f36e6b428c4f718bd8536a0b4884816e9 Author: Piotr Kubaj AuthorDate: 2023-02-08 16:12:30 +0000 Commit: Piotr Kubaj CommitDate: 2023-02-08 20:17:09 +0000 math/py-fastcluster: fix build on powerpc* with LLVM 14 by forcing 15 Assertion failed: ((CGF.CurFuncDecl == nullptr || CGF.Builder.getIsFPConstrained() || isa(CGF.CurFuncDecl) || isa(CGF.CurFuncDecl) || (NewExceptionBehavior == llvm::fp::ebIgnore && NewRoundingBehavior == llvm::RoundingMode::NearestTiesToEven)) && "FPConstrained should be enabled on entire function"), function ConstructorHelper, file /usr/local/poudriere/jails/main-powerpc64/usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp, line 163. --- math/py-fastcluster/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile index 4171f07b9e1c..345bb163e182 100644 --- a/math/py-fastcluster/Makefile +++ b/math/py-fastcluster/Makefile @@ -14,10 +14,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9,1:math/py-numpy@${PY_FLAVOR} -USES= python:3.7+ +USES= compiler python:3.7+ USE_PYTHON= autoplist concurrent distutils +.include + +.if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} == 140 +BUILD_DEPENDS+= clang15:devel/llvm15 +CPP= clang-cpp15 +CC= clang15 +CXX= clang++15 +.endif + post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -.include +.include