From nobody Thu Nov 02 16:03:35 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 4SLpZb5Fw2z4yknW; Thu, 2 Nov 2023 16:03: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SLpZb4Slqz4l5x; Thu, 2 Nov 2023 16:03:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698941015; 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=Iq33lshjeqN44QIlb3/6uNI8qgBi/jCyi9ASjLz46QI=; b=K6ZF0riyfCdX8E6AeA6a+GVjv5V8Y9EfZzIxGZKwacVka6pc+2jSVP6OJqe/m6n9UAWDZG pk3nbe68Wnuc7rrWX9ZkoNCpgFXaj2hRW+u3HvAtINjIr2l6OYmH5GF+5bCg+qwUXQRAm4 DXjZGHas2kSieFob/SljTTVeQ80E3CIQbFbjTq6SVpqv9wcTlBnKmSZ3OtOEobCVB+2kRG iOfIeVGdfTkUuyoMMapzjW2+3Qe+ARsIXfr8Ia5zezzciUNU5E52bclYQngwop7ZfNAn9m APhmeLr/tJDapMe+3xnrg2+l86HqHqEExJtZx0TurnQTrVpFxnceXmlMSShP4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698941015; 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=Iq33lshjeqN44QIlb3/6uNI8qgBi/jCyi9ASjLz46QI=; b=yQt8Ri5r7Yyv0/RC7phXH7WOi4y0KpIswzJh0g9cGGmqPRwnZFKjidhkSJ9U+ZCCLJcDMt NV76UL8vpBk8P2+c1Ec/8HnBoH+m/14Ucjxqjh/JoD6ZR/88g+GmivnMHpDYhzORxfYr8A mz0Nj0vMBIkHqxE55JC/PZUK6lGXAAP0K0V3egQDQEzdGwaEFzuz7ti58l/QRSkZofpUxn 45jhZDwdOFZK4g2g4oFkySSoAndMbvBWB7YFeb2QMXG1QtDsG57xM+nXaBrsJ+G2iV3q53 Jvae09ZUWOYMbHjavXn5SRCiDfcUhHjd4Wqetbz0u7RY3+XCj9Uppsm7LsI/XA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698941015; a=rsa-sha256; cv=none; b=pQYZUvf1yZRV2SUUbPelCRWCDfQpA2FX5G+3ARFz2cwc+RMNPYbFTp6xBWYQeYw1nal0bh 6HctLNnofPyZ2/tiY3XkARpRLZ9aWshXUDJsL3xmzvpm51b5ICI6/2nwlP8BFDhk22QeGg k2Z57AX1Cb8IDqReFSsS9y6SQ4itClVwOWg6sW69xhj1q8+DsjhHIz8T0mg1QRoXLaPNa3 Nbdjgs0Vv/z1XNimeBR2gdCGmCQyYmLMe7mfj7LHlMT+IwQYtX9mmJd9dZx2bf/ooaDs63 K74vqjqUEHurvnZz8QPT04pTHP77UPDwsPpQcRuJk3+Yg5LkNCAA1XYKLsl4PQ== 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 4SLpZb3Y5Rzbv6; Thu, 2 Nov 2023 16:03:35 +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 3A2G3Zlh076513; Thu, 2 Nov 2023 16:03:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A2G3ZRV076510; Thu, 2 Nov 2023 16:03:35 GMT (envelope-from git) Date: Thu, 2 Nov 2023 16:03:35 GMT Message-Id: <202311021603.3A2G3ZRV076510@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: a86016e8f6ce - main - Mk/Uses/blaslapack.mk: adding support of BLIS and FlexiBLAS 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: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a86016e8f6cee385cb8caefbff92c10c6adbefec Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=a86016e8f6cee385cb8caefbff92c10c6adbefec commit a86016e8f6cee385cb8caefbff92c10c6adbefec Author: Thierry Thomas AuthorDate: 2023-11-02 14:46:08 +0000 Commit: Thierry Thomas CommitDate: 2023-11-02 16:02:06 +0000 Mk/Uses/blaslapack.mk: adding support of BLIS and FlexiBLAS /!\ Avoid mixing libraries using different BLAS-LAPACK implementations! --- Mk/Uses/blaslapack.mk | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Mk/Uses/blaslapack.mk b/Mk/Uses/blaslapack.mk index 0d3007ec5907..ff14194e50b5 100644 --- a/Mk/Uses/blaslapack.mk +++ b/Mk/Uses/blaslapack.mk @@ -2,16 +2,18 @@ # # Feature: blaslapack # Usage: USES=blaslapack or USES=blaslapack:ARGS -# Valid ARGS: atlas netlib (default) openblas +# Valid ARGS: atlas blis flexiblas netlib (default) openblas # # Provides: BLASLIB and LAPACKLIB # # Maintainer: thierry@FreeBSD.org +# +# /!\ Avoid mixing libraries using different BLAS-LAPACK implementations! .if !defined(_INCLUDE_USES_BLASLAPACK_MK) _INCLUDE_USES_BLASLAPACK_MK= yes -_valid_ARGS= atlas netlib openblas +_valid_ARGS= atlas blis flexiblas netlib openblas _DEFAULT_BLASLAPACK= netlib @@ -28,6 +30,16 @@ LAPACKLIB= -lalapack -lptcblas _ATLASLIB= atlas ATLASLIB= -l${_ATLASLIB} BLA_VENDOR= ATLAS +. elif ${blaslapack_ARGS} == blis +LIB_DEPENDS+= libblis.so:math/blis +LIB_DEPENDS+= libflame.so:math/libflame +_BLASLIB= blis +LAPACKLIB= -lflame +BLA_VENDOR= FLAME +. elif ${blaslapack_ARGS} == flexiblas +LIB_DEPENDS+= libflexiblas.so:math/flexiblas +_BLASLIB= flexiblas +BLA_VENDOR= FlexiBLAS . elif ${blaslapack_ARGS} == netlib LIB_DEPENDS+= libblas.so:math/blas LIB_DEPENDS+= liblapack.so:math/lapack