From nobody Wed Sep 13 06:22:49 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 4Rlr3Y49Gsz4tQvg; Wed, 13 Sep 2023 06:22:49 +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 4Rlr3Y3lDKz4RXK; Wed, 13 Sep 2023 06:22:49 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694586169; 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=yNsxhrg8TRfGyIWqEpfgfZmw2Vxknfqnr+AGlr1H5ho=; b=C8+GOKGXP2O0nZ4f2Aq5PRLMo6xINyJeO6Y6dEeKifIrnuUyrsxP7/lfW8xsNDWUurxJn/ 5fWRmdmsyRQtfUGocMt/aCPPCQAP9xuviGq3CNKlpQAugJhOtMHV9Y4AifKTq6hKE+Mh2C zIJv+RaDSDlY91X65bziW1lqN5z83eWdI9iy1+Nk3WlC9NKjGyZzCjrkxfEWR9/cgjxM6X FtghJk/T410Cn7rrfrhbQXRcF1qjKzc/HLDFxQANfaZJLr+GlfjaH71wOsQ12CqWd1hOeb 9yv4eebulkBH2bBFdzMacdKkzCI0z/rndF4g8JVT/D4StxnMd1UKx1E9VO9tRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694586169; a=rsa-sha256; cv=none; b=BT27WtursOMDMDZ+XjR76jmIYZJPXwR+/llPT2AWsC1fE4j5bLJP2Bw5duIy7p0++gXo8x F8nF6k3X2w7yRK2V2g84stKUkGiciujz6Y6CtSaaAO7JV4XeGjDZSbtBOIaJj+dNS1OyZq zdihJ14wCkLXHa2b3MlVub+Kucqd6Q8ZHHR+lI2YMVXyAJEWv2ABOrBauxLyQO5jHbwcn7 SZAS14TLwPcGL4YgU3P4GgKUSxLjLIT1EH0x2dWtC3ugIhyBYsWntXE/p35KAE7XoKM9c0 mAmyrWqK1aprvHuAep74ZOiiH0Q8s8tO2IZSDCxxixicMzHJ+FY7loUNGorKeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694586169; 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=yNsxhrg8TRfGyIWqEpfgfZmw2Vxknfqnr+AGlr1H5ho=; b=sifWSiIcLflOzg+P0I2reaxehSVS10TzY/2mouipTmgKcvPSYrw/KcjtMm4ZbGWJMi1fHq M6jgSW0sAtblQkPYXmzPJpf6Kp/mSs6g6E423K1EY0NpVPS7Ubfc2rW/AMM6tHu2Ar2ry9 vIpd75SBGVuvTi5ROQJFxPjQBtcDdrbzY3pXVGhgql9Jnl4JQM/EWtjKMDn+qyYer1RyNx TKjjoIMhMGZN342jaluvd5mTzhE/hhAuG0gOmdCZmlnGPlCTcABq5MEJVIOUSvRoZg8EJj b+xvcBnV8Ov6mcW3IZrKIMD2VGGgVwS0rwWOHiqz5ArEI0u1OdGhosnGZuAi3A== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 633068A16; Wed, 13 Sep 2023 06:22:49 +0000 (UTC) Date: Wed, 13 Sep 2023 06:22:49 +0000 From: Alexey Dokuchaev To: "Tobias C. Berner" Cc: Gleb Popov , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 4df0e66a3662 - main - llvm.mk: add export/noexport to handle CC/CXX/CPP exports Message-ID: References: <202309130518.38D5INm2018105@gitrepo.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; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Sep 13, 2023 at 08:04:27AM +0200, Tobias C. Berner wrote: > On Wed, 13 Sept 2023 at 07:56, Gleb Popov wrote: > > On Wed, Sep 13, 2023 at 8:20???AM Tobias C. Berner wrote: > > > USES=llvm.mk now supports 'export' (default) and 'noexport' arguments. > > > When export is set, CC, CXX and CPP will be set to the path corresponding > > > to the chosen llvm-version. > > > > The choice for the default seems strange to me. Now every port that > > has USES=llvm will be switching to building with a non-base compiler. > > Is this really a sensible default? > > From a rough count: of the 87 ports using llvm.mk 50 set CC. That's probably because of all those knee-jerk silly attempts to unbreak the ports' build against new Clang. I've hunt down and whacked some of them, but quite a few are still there, waiting to be replaced with a proper fix. So at the end of the day I agree with Gleb, it's a dubious default. ./danfe