From nobody Thu Nov 2 16:03:32 2023 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 4SLpZX2tb1z4ykNq; Thu, 2 Nov 2023 16:03:32 +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 4SLpZX2RtNz4ktw; Thu, 2 Nov 2023 16:03:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698941012; 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=QV1wZ7ozjE+L5/L61TRnUNQEPdGgoPcGvWvH3UURR50=; b=Ey1gK2pgMeZaoC/DEPCpF6Wn9u7dxMD0o+Hn6mrShP75Prpg2ZOHPNf2EMRYbD9+s6+bDl dgNoIrezfawPgyrgt7jiCOtL67gLsGIPauA/8TNjNZ/1ij8+07SFWgWqLRvchUgfstcJVl EYa/0X9yxc4ypK9Nuw4ZW1BEoqfVCgoN8WBtOBV0i3kgnK1Ka1DCtHSPvSeMd4anGzqiXt uIqypDlCbhqm7N58G/b7qBpPEsn6IAhlNczD3bb4jGGkweK/wom/fYeJ0qIgPnkPaDzJN7 3y5YC0JSmHaOtfofJuS6DPKqapTpj1LbAT4RgwUIajt1Myi8p7ZODVk9xOLv4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698941012; 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=QV1wZ7ozjE+L5/L61TRnUNQEPdGgoPcGvWvH3UURR50=; b=EdYRY6vpQbLeiz8rIK2izf5WaRmolCzi8CPS/KEh4OsDUPupOSnd8oj66YUD6F/d0bXPi8 uSOTIKrL8RgYOXPjgNL9pDDOTnuABwspQ23QwLjyjBeGMc3asnff1VycR+YuBCyrN5QZw+ NAJKl7WkyUDDV7a063OBwDUSWgBr4LlRJVi38tJ5fikYkTin5uT2dcE60DLkmKTJh3jhp+ loQsM1fGLz1v9hwsMCLBQrC+uPPwBE7kMLu5vRPEC/ZiUk8Be09BKn+t8/AAykIK/PNlpn jhLpBR9OD9gc57KTcAudKy2hXKTrKxEaa3fNVmou1RO1Xylfni1x3sBUp1RFEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698941012; a=rsa-sha256; cv=none; b=Va10l7jgquDm/WZYiLuiHoSKxGaBmeJ954LsJI5ghNuCSsR+wf3+W0UfdqGCBjlEwaBtUp xBGY6+/8/t9axi2teCyD5akZpPIIfdc77IabXa88SBWJVWY+B9Uil3RLbWunnpmIAEMVQ2 E+bGynWTCH+fMJGBuRGoIURBrtZhYfYL4NMQVgnQQbOfBBT34VYOTnNigqe4+kr43CF+Ic LXadqR3c7yrTUESJmJbWngOKyq/GXlwN7qr11nrNzchmjGWcYESQmkzUfDvHT3pNKavWfM hZxyUlRkYYl+r3N164Np+1v5TRvR9Kap9G+2EsTbmulmlVI2OvpZ/N9rEcXe5g== 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 4SLpZX15lwzbQf; Thu, 2 Nov 2023 16:03:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A2G3W4k076340; Thu, 2 Nov 2023 16:03:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A2G3W9Y076337; Thu, 2 Nov 2023 16:03:32 GMT (envelope-from git) Date: Thu, 2 Nov 2023 16:03:32 GMT Message-Id: <202311021603.3A2G3W9Y076337@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: dd77fafef462 - main - math/libflame: allow Python > 3.8 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dd77fafef462332229d0b325b71a3519fc05915f Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd77fafef462332229d0b325b71a3519fc05915f commit dd77fafef462332229d0b325b71a3519fc05915f Author: Thierry Thomas AuthorDate: 2023-10-18 19:53:29 +0000 Commit: Thierry Thomas CommitDate: 2023-11-02 16:02:05 +0000 math/libflame: allow Python > 3.8 - Don’t limit to Python-3.8 - Also fix options. PR: 274569 Approved by: maintainer’s time-out (jmd@) --- math/libflame/Makefile | 14 ++++++++++---- math/libflame/files/patch-build_flatten-headers_py.diff | 8 -------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/math/libflame/Makefile b/math/libflame/Makefile index ed7af8d9d5f7..72a13cdae2d9 100644 --- a/math/libflame/Makefile +++ b/math/libflame/Makefile @@ -1,5 +1,6 @@ PORTNAME= libflame DISTVERSION= 5.2.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= jmd@FreeBSD.org @@ -14,8 +15,11 @@ ONLY_FOR_ARCHS_REASON= make system does not support other architectures yet BUILD_DEPENDS= bash:shells/bash GNU_CONFIGURE= yes -USES= compiler:c11 gmake python:3.8 +USES= compiler:c11 gmake python:build shebangfix +SHEBANG_FILES= build/flatten-headers.py USE_CSTD= c99 +OPENMP_CFLAGS?= -fopenmp + USE_GITHUB= yes GH_ACCOUNT= flame USE_LDCONFIG= yes @@ -46,12 +50,14 @@ CONFIGURE_ARGS+= --enable-default-${b:tl}-blocksize=${${b}_BLOCKSIZE} .endif .endfor -.include +MAKE_ENV+= PYTHON=${PYTHON_CMD} + +.include + .if ${PORT_OPTIONS:MOPENMP} .if ${CHOSEN_COMPILER_TYPE} == clang IGNORE= clang does not support OPENMP, use THREADS instead .endif -OPENMP_CFLAGS ?= -fopenmp CFLAGS+= ${OPENMP_CFLAGS} LDFLAGS+= ${OPENMP_CFLAGS} CONFIGURE_ARGS+= --enable-multithreading=openmp @@ -70,4 +76,4 @@ CONFIGURE_ARGS+= --disable-autodetect-f77-ldflags \ # @${MKDIR} ${STAGEDIR}${PREFIX}/include/libflame # ${INSTALL_DATA} ${WRKSRC}/include_local/* ${STAGEDIR}/${PREFIX}/include/libflame/ -.include +.include diff --git a/math/libflame/files/patch-build_flatten-headers_py.diff b/math/libflame/files/patch-build_flatten-headers_py.diff deleted file mode 100644 index 6739683a4280..000000000000 --- a/math/libflame/files/patch-build_flatten-headers_py.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- build/flatten-headers.py.orig 2020-05-02 16:30:41.773805000 -0500 -+++ build/flatten-headers.py 2020-05-02 16:30:49.511257000 -0500 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3.8 - # - # BLIS - # An object-based framework for developing high-performance BLAS-like