From nobody Sat Oct 30 01:41:00 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 7678E18298B4; Sat, 30 Oct 2021 01:41:00 +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 4Hh27c2x7Yz3nnF; Sat, 30 Oct 2021 01:41:00 +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 4621221C09; Sat, 30 Oct 2021 01:41:00 +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 19U1f0vh047035; Sat, 30 Oct 2021 01:41:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19U1f00Q047034; Sat, 30 Oct 2021 01:41:00 GMT (envelope-from git) Date: Sat, 30 Oct 2021 01:41:00 GMT Message-Id: <202110300141.19U1f00Q047034@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 2839b87b3d80 - main - devel/hwloc2: optionalize level-zero dependency after e820842557b9 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2839b87b3d80c97f2cd02b359164275bff2c5842 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=2839b87b3d80c97f2cd02b359164275bff2c5842 commit 2839b87b3d80c97f2cd02b359164275bff2c5842 Author: Jan Beich AuthorDate: 2021-10-30 01:20:25 +0000 Commit: Jan Beich CommitDate: 2021-10-30 01:38:16 +0000 devel/hwloc2: optionalize level-zero dependency after e820842557b9 Helps debugging level-zero issues in consumers that may themselves have level-zero support e.g., hwloc2:L0=off + mpich:L0=on. PR: 259540 Approved by: Eijiro Shibusawa (maintainer) --- devel/hwloc2/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/devel/hwloc2/Makefile b/devel/hwloc2/Makefile index 7004636ea2c9..b2150e26913a 100644 --- a/devel/hwloc2/Makefile +++ b/devel/hwloc2/Makefile @@ -10,8 +10,7 @@ COMMENT= Portable Hardware Locality software package LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpciaccess.so:devel/libpciaccess \ - libze_loader.so:devel/level-zero +LIB_DEPENDS= libpciaccess.so:devel/libpciaccess USES= iconv libtool gnome pathfix pkgconfig tar:bzip2 USE_GNOME= libxml2 @@ -30,7 +29,8 @@ USE_LDCONFIG= yes PORTDOCS= * -OPTIONS_DEFINE= CAIRO DEBUG DOCS +OPTIONS_DEFINE= CAIRO DEBUG DOCS L0 +OPTIONS_DEFAULT=L0 OPTIONS_SUB= yes CAIRO_CONFIGURE_OFF= --disable-cairo --without-x @@ -41,6 +41,10 @@ CAIRO_USE= XORG=x11 DEBUG_CONFIGURE_ENABLE= debug # 'lstopo -' prints a lot of debug details when debug is enabled, this is separate from WITH_DEBUG=yes +L0_DESC= oneAPI Level Zero device discovery +L0_LIB_DEPENDS= libze_loader.so:devel/level-zero +L0_CONFIGURE_ENABLE= levelzero + .include .if ${ARCH} != amd64 && ${ARCH} != i386