Date: Sat, 11 Feb 2023 16:06:13 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Jan Beich <jbeich@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 6d2a9d6effb7 - main - devel/edi: add an option to build the port against libclang Message-ID: <Y%2Be89eDtZiVHv1vG@FreeBSD.org> In-Reply-To: <7cwo-p77c-wny@FreeBSD.org> References: <202302111217.31BCHAJB089240@gitrepo.freebsd.org> <o7q0-pec9-wny@FreeBSD.org> <Y%2Beuyy%2BUTY9Xvf1A@FreeBSD.org> <7cwo-p77c-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 11, 2023 at 04:12:07PM +0100, Jan Beich wrote: > Alexey Dokuchaev <danfe@freebsd.org> writes: > > On Sat, Feb 11, 2023 at 01:37:58PM +0100, Jan Beich wrote: > >> Alexey Dokuchaev <danfe@FreeBSD.org> writes: > >> ... > >> > +LIBCLANG_LIB_DEPENDS= libclang.so:devel/llvm${LLVM_VERSION} > >> > +LIBCLANG_MESON_ON= -Dlibclang-libdir=${LOCALBASE}/llvm${LLVM_VERSION}/lib \ > >> > + -Dlibclang-headerdir=${LOCALBASE}/llvm${LLVM_VERSION}/include > >> > +LIBCLANG_MESON_OFF= -Dlibclang=false > >> > + > >> > +LLVM_VERSION?= ${LLVM_DEFAULT} > >> > >> Can be simplified via USES=llvm e.g., [...] > > > > Yeah, I've thought of it, but reckoned it's less transparent while spelled out > > in roughly the same number of lines. I've used USES=llvm before, but was told > > that it's still under development. Maybe I'll revisit this once it stabilizes. > > Citation needed for "under development". Even 2023Q1 supports USES=llvm. https://lists.freebsd.org/archives/dev-commits-ports-all/2023-February/052549.html ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y%2Be89eDtZiVHv1vG>