From nobody Sat Feb 11 16:06:13 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 4PDb7T5DBfz3pGvl; Sat, 11 Feb 2023 16:06:13 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PDb7T4flDz45nv; Sat, 11 Feb 2023 16:06:13 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676131573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t/tg2Ud1PGgI6O0p1v2J95OgTB+hd9YvRZ7AuzTGcj4=; b=JyMrChklYjgQuyyY0cHbKOnONyi8a5njCvICafWY6Lu5SHm4n1wRmKtLBfBhGJhmWjbLK/ 8yb4DswQLESQeKcTjR2sLtjWFJpNH2CRHx8HWNFcuv2sqBVHKri90eB19To3Z2eudRijTi EMDfMD6O5pSfNs11qOHa4ldgEW4Ms49ARp6JG2SPGSRd2QkzyZK8+vFSTFLiM8TWnsudM3 oeE19GrvjnjcjXFUgRQ6LvdmlkbsBxtWKrHkopNqZDNzP2dXm0Qr5WE122KYM1gZ+xJaM4 VmROy62DTfigSAzXQhkV5d6ooyjO8M9hyUN0xMCFNshExXDHDiPIYeoS4KAf1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676131573; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t/tg2Ud1PGgI6O0p1v2J95OgTB+hd9YvRZ7AuzTGcj4=; b=dSHH0+X3nhJPps+OytFPoEOWAQFp798XP709kv/wzqYU9wXz23mjZ8Vozq32fk4FZXgJ3o yG31OfFAcQPnpaV6PA4DFLACMrEFfTFiWBCoj+ISVp9F8IHJc9/CyhqBWl7PnESxbEdsb+ m/4oqvD0ulCikDiAcEQKwdQRAhJ5atbSAn9oorsEYOGS11rxD4aI4ufaieWO1Qa00jfoV9 U0xhEFqsL3bwwr7QzMVKC/ycQceRLlGTZAvzWyv0AeG809rKSh+9NIAlWRjVrFdt/CH4ff VqldnxEVuA+hG+KMHaMsgCy3gH2UbrCQlqS0bHmPNulTTvPboFlvKcSai+tERQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676131573; a=rsa-sha256; cv=none; b=t4B3RLDaTHvjGTAhINw0FROs2q8osbd+lz9/2ok3mLq4K4UR93thrsn+80vQQgm+6LTc46 t20gsoEb9RfgAsg51LZfQG/84sQKMfWxoPp3rw7lkDgfTwTsS0sHY12paCXrnRQMNvakDM ax2koFH/WVut8sG/pc8q7eTyW0bVBDjLue45gRWwUgQQNpnLhFjNnsY1y5YVPI5RRp6CVd 3klnHxkTpKxsmuONTcJD/Q2RO91STKMz9R1eybbFXPVeExRFwulTO3X8t905AWThrUMxqX jy3QQ/4lJA1MZmBkUL/KmEx2COwxnJN3SeXjNTk+Na5Ya3SjBlaNbsDVymiRaQ== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 76C7012821; Sat, 11 Feb 2023 16:06:13 +0000 (UTC) Date: Sat, 11 Feb 2023 16:06:13 +0000 From: Alexey Dokuchaev To: Jan Beich 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: References: <202302111217.31BCHAJB089240@gitrepo.freebsd.org> <7cwo-p77c-wny@FreeBSD.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <7cwo-p77c-wny@FreeBSD.org> X-ThisMailContainsUnwantedMimeParts: N On Sat, Feb 11, 2023 at 04:12:07PM +0100, Jan Beich wrote: > Alexey Dokuchaev writes: > > On Sat, Feb 11, 2023 at 01:37:58PM +0100, Jan Beich wrote: > >> Alexey Dokuchaev 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