git: 2839b87b3d80 - main - devel/hwloc2: optionalize level-zero dependency after e820842557b9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Oct 2021 01:41:00 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=2839b87b3d80c97f2cd02b359164275bff2c5842 commit 2839b87b3d80c97f2cd02b359164275bff2c5842 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-10-30 01:20:25 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> 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 <bsd.port.pre.mk> .if ${ARCH} != amd64 && ${ARCH} != i386