From nobody Sat Feb 11 15:12:07 2023 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 4PDYx76XSmz3p9Fk; Sat, 11 Feb 2023 15:12:11 +0000 (UTC) (envelope-from jbeich@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 4PDYx762tyz3tRM; Sat, 11 Feb 2023 15:12:11 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676128331; 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=eaKnOFvta/GkLl8rcvw6bzugbUi71nPGP1ki187e69Y=; b=FuMHk3lGjkfZNcC45i07Nwmfcp0YkfgEYYYww8081uHcQoIGjFhJKtXWWOYfw3D0fZcGXp Vn99Ljq+Pg8EjwrlDjN9hFBL34pdKF1sReWPOB9PcvH00m3nc6gcAgBfRKq2FmZ3/TBfC+ rgTFnzeQMungJ7suJ4Mvvvuxs1iCiena/ZPoTf9k8HVwzXzhEgKg4q9Bx3JnFwg+jfyCpq f6PNFo+8DW+l5SUJolgODjgKU1xy2N0RqtwIve7UjgUuqqBRYxbjPjmiTNBYgIIDPCgcp/ 68IhW5Dr+oCNZLJPRR6RlU+NGxh4Pt7B1rvBhUWolgvcnbVGPo9jxl2WJykk7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676128331; 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=eaKnOFvta/GkLl8rcvw6bzugbUi71nPGP1ki187e69Y=; b=p0k3SIdUSpX6fIJTottlxDr0Tomz2eULQ49AH+E6psmcbeNw/XOKYdcdknWqR7JPql0gjr JDVUDHdN+Ig7WkRopPlus4pA7nwrylJViGuaIaF/ljUYlPETvYybhtcwsMDYHLniu/t4nl 98mZ/QjgLR13gPAN4q7ehxJOcwnuu+SdkiuDaRSv/UVuhWyEQ2zT/ccWRFDqgc+9YH0/VQ 1cCue4Dd7lLEI7Q1lzhhTSQTVFda6bP1ucKfK8qNget747IuG4ABKfcdqijalTxu7NPKEd QtTof4niSFhhKAqw+jfu3XuIyFmqh2/LQkvZBJkAqfIC6S5MkSkHNv66Ec7eTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676128331; a=rsa-sha256; cv=none; b=qztGZJZPEJwrKvABPGBmA7Iqg9BeybdSdHcVJ9fZAnYiYZTbLPdVl0v5vlBHayhYBrHPRU NT330O3pA6C+mGkW6gEGYlkzuzTfPiLPHpW7NH4Rs4R0BglAmpYhnoEudmmr42LKbFXBcb +qo+o52sSrCFBQJzKbIWECB4xuEH+kuR5axz88gahiVj1Ezdqu8W3jIkBAbtAvlQD73KGs LCij9JpIiJ9jN7VnTUtN35U1Gg4I/qaziuqf7+G3o1eSvQII2RQqkZLuUzU6p83VALyiDt lFsXSdqiGWDrvmAUwMmUyMpADhEvi6T2j0hSvLqfR28tHPBMW2nucEs2kQU2qQ== Received: by freefall.freebsd.org (Postfix, from userid 1354) id BAFE4122FF; Sat, 11 Feb 2023 15:12:11 +0000 (UTC) From: Jan Beich To: Alexey Dokuchaev 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 In-Reply-To: (Alexey Dokuchaev's message of "Sat, 11 Feb 2023 15:05:47 +0000") References: <202302111217.31BCHAJB089240@gitrepo.freebsd.org> Date: Sat, 11 Feb 2023 16:12:07 +0100 Message-ID: <7cwo-p77c-wny@FreeBSD.org> 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 X-ThisMailContainsUnwantedMimeParts: N 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://docs.freebsd.org/en/books/porters-handbook/uses/#uses-llvm