From nobody Sun Aug 18 11:50:34 2024 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 4WmvDq1Wycz5Synq; Sun, 18 Aug 2024 11:50:35 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WmvDq05vRz4QZK; Sun, 18 Aug 2024 11:50:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723981835; 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=+JHn/fhqOvMqpwTNu/qopO9/sOuKkpw8Fpqz8I9qY7o=; b=JMNg/mAg7vKsTCEl0deYgtZFgu4Bji6y71ox94AZL5/KD/Ej3giJtVKgzHViKzvActotEf 7f9K6bx2nQtFmHkWntSxFrjQxOaxBEZBlkRPYHhaJgTLNPi35oy6iMMnK5EG6nUAHCwutA Lw1qSF/LE3zTnTJKhvdnBRsdJzOxnGhPLCdVVhpnc782VdQMIVgceGtX2SPLHnrx8kz3FV 5oqClUfvqajGhcrOsbC/pGibZ3DXUyiD04fRUj4fua3x+Xhg3eOriwvGx5HnkVB57Qgk6B 31DiAnSxZ0zdMf6hGKLIKyWogHVEHsZEXCOfPWi6ACVbspBXoMBVcJLVzGFI8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723981835; a=rsa-sha256; cv=none; b=eFUE+l2m/WtGGbggOjylFLTt66258tyPPrV/qw25lGK74eEJjgQUt7/wXEi7MVSwjkXVHo OVCWl/5iBvAA3rvbUYLfAQzqOfadqRQUQtTdv1v6crzTlaCvTlWRgyYlKW2Rvh9lvj1ve5 7Bnrx81NMyJbApD3pBawiYgc5Am548zNEmI1Em7747uc3HMLG1rffHxce+qjPeG4jiILkZ PcXliHfz4c4Yx0H2rLaghQHtEVd4tbyAJPjlJa0Lxh37j3MY5IICaO9FgP04JMxRAXW9Ya Yss3X+nUwbIqSwg9Q4rKfMfQ+4W1kteHY4oQyWBASSyWYe5oW022fAQ7lF2uMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723981835; 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=+JHn/fhqOvMqpwTNu/qopO9/sOuKkpw8Fpqz8I9qY7o=; b=UC/Os1IUmdl+EvJ5IyQumcwBX7cy5YTYVBPZeXBYDMA9ZUWq5M0hoR3Xsly+hZVQGw40Ld 5VUzkxafAstInZgouQwZLZYSEXMi2DeAbdi7QoZ9Xx5znzivbyMGMC1B1zl8pYBSRW+QZI dHCK/xRWCERE4WVqsd39WNh0DFgCxybcCY4RlhYbgRevf3k+Hn26fC4I4EW6RSv2CcmTkI b8nm3P3DbPmW8eke97rpQ929teg7/4BE5v/r2rX/bkJcJxv7xQ4AhsgLPkrfq/tdGveWU2 nBXV8cnQxHkph861DF8TOhzaDhEzVZv+VnmXufvfTqRixMxVT4/MUSNXx2dq1w== 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 4WmvDp6drdzXk8; Sun, 18 Aug 2024 11:50:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47IBoYHv078119; Sun, 18 Aug 2024 11:50:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47IBoY66078116; Sun, 18 Aug 2024 11:50:34 GMT (envelope-from git) Date: Sun, 18 Aug 2024 11:50:34 GMT Message-Id: <202408181150.47IBoY66078116@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 595a5d5fa099 - main - net/openmpi: Fix shortfloat support 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 595a5d5fa099770ebece23deb61fa364eba955db Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=595a5d5fa099770ebece23deb61fa364eba955db commit 595a5d5fa099770ebece23deb61fa364eba955db Author: Laurent Chardon AuthorDate: 2024-08-18 11:42:14 +0000 Commit: Vladimir Druzenko CommitDate: 2024-08-18 11:42:14 +0000 net/openmpi: Fix shortfloat support - Improve the test for half precision support. The old test gave incorrect results, in particular for older compilers. The test is now compiler independent since both gcc and clang have supported __Float16 for a long while. - Remove unused code for plist substitution of NO_MCA_PATCHER_OVERWRITE PR: 280879 --- net/openmpi/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile index eef31aca20a2..e41a44ccb700 100644 --- a/net/openmpi/Makefile +++ b/net/openmpi/Makefile @@ -1,5 +1,6 @@ PORTNAME= openmpi -PORTVERSION= 5.0.5 +DISTVERSION= 5.0.5 +PORTREVISION= 1 CATEGORIES= net parallel MASTER_SITES= https://download.open-mpi.org/release/open-mpi/v${PORTVERSION:R}/ @@ -88,13 +89,9 @@ SLURM_CONFIGURE_WITH= slurm FCFLAGS+= -fallow-argument-mismatch .endif -.if ${ARCH} != aarch64 && ${ARCH} != amd64 && ${ARCH} != i386 && !${ARCH:Mpowerpc*} -PLIST_SUB+= NO_MCA_PATCHER_OVERWRITE="@comment " -.else -PLIST_SUB+= NO_MCA_PATCHER_OVERWRITE="" -.endif - -.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 170 && !${ARCH:Mpowerpc*} +# Both clang and gcc support half precision on these platforms +# Note: RISC-V can support half precision with Zhf extension +.if ${ARCH:Maarch64} || ${ARCH:Mamd64} PLIST_SUB+= SHORTFLOAT="" .else PLIST_SUB+= SHORTFLOAT="@comment "