From nobody Sat Feb 11 15:05:47 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 4PDYnm57Chz3p8P3; Sat, 11 Feb 2023 15:05:48 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 4PDYnm0GX3z3t3B; Sat, 11 Feb 2023 15:05:48 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676127948; 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=wAeSUX7SQC7neRDBCo8BTrEt0/8+BOhW0KQB09cLqSs=; b=YV1cTzYbyUWYj9WF3j+wMiZrj3XXknHzI3lhjlH66woLUjMXJo5MXL2ws7JdSwSyRY5n/t 6jlEVijEkuPYtIhhuhldhWFQnjXYF6hG8orHCyyklFC4FVRG/JONDn365HdU315YAapvsM MogGW2oek6nMvP5n2izVV2T3Y4PvKV760lWN9SLwbKqqyFtvjBJSkUnTFiRhM+MJdNNZjQ UdQf45og6XVL8k6GTby4dYBs4ZbkM5gu4goP3VJvp7pil5NP4TNuX53qQs1584pDtgwcRK t4KHEwWSUTf0qZBrAhuImXFN4fsm/uwHQaBDx0+q8ygoof1BNNYU7l+OnMcBIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676127948; 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=wAeSUX7SQC7neRDBCo8BTrEt0/8+BOhW0KQB09cLqSs=; b=cIZW3woR7M8txvgjiVqmPM5z1ZDvWdU3EVO7lY2f4Hkshl+plwrqaSK2Tlf05fMsqD+9iV pBq5PN3mi5TLgIyIvDJuqnu0CH1AdGdqCQggcLx9994LHfXOjdWAW9GUD7Dg2orai4KE9R rcTmSzSwyPSAjw28iOavLLR9cB1gd1niFWBLjp69EGD2bGcLtv+kPrmoJlf32Qz08RoPN3 UuVihL69D7KQik4iNVTDAYf48pJ7UqL1Sl1IQ2MLQ2zcaBi4Mmbjmvx+CQkBMJ7KeX67iB ljya0GhfKcB2ker9wAlsoRCRSlMtet4dskJSMvekXLzmNKkrq0YNY0jwibV+Vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676127948; a=rsa-sha256; cv=none; b=yZpJg4SKKoJ8Z5OpxySDqFHs5GPUkb2gr1UJNfxIueCcCG7O+QeMxoc91Pz9ff2lmDF0Sx C8T+Pmss9V7fU+v4GNiztyE/hpsUTTYNxVaYLmrK/LRBsIlD5qKVMTwzNG3E6FBwJWO2bB CeT+NWQ0eH+kdl5mLZGQQwiQLHQLI0yct0HkEwp8u9h9JVdra9ZQ4cI78Tr4C9Ol+CBA/z wQEqR5dlzxZ59UqXLCKH1QNyOPxNJAcKZc37kT97eHKGMN7rbROKVQpUT8o5PWP1Lrg6CK 3x2H41oxqWDLAglpZtk7oxN42qlL8TDclzaFCmYbU3tx2yLVwRovPeHG/4rsOQ== Received: by freefall.freebsd.org (Postfix, from userid 1033) id BB45A1226D; Sat, 11 Feb 2023 15:05:47 +0000 (UTC) Date: Sat, 11 Feb 2023 15:05:47 +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> 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: X-ThisMailContainsUnwantedMimeParts: N 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. ./danfe