From nobody Wed Oct 25 18:13:07 2023 X-Original-To: ports@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 4SFxrM0Rl1z4xrdG for ; Wed, 25 Oct 2023 18:13:39 +0000 (UTC) (envelope-from ps.ports@smyrak.com) Received: from ipv6.s149.cyber-folks.pl (ipv6.s149.cyber-folks.pl [IPv6:2a02:1778::113:254]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFxrL4hqhz3K0v; Wed, 25 Oct 2023 18:13:38 +0000 (UTC) (envelope-from ps.ports@smyrak.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smyrak.com; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=F2zGjDLTx35hyKIs2boW5GSlmPKMDzBuLqjk7fwS0B0=; b=T1qLchWytYSxEFVS/FFRKEN6SQ O81FjWoDvw3Wyg254o5AO7DVn55jPZPV4Hyun0Bq6wd7EON6P4fPg1ePyaf7a31cCUmASNyhADAq9 6F/Lz20D5OtbQOisPEGHv/Sq5+lLqVqs+GSRMXuf74fjB2cIB2AXIh97+p7sOqEXoERYn2IWuosmg 9HoTJSp+ufbVKEcGBzuRxhAXjlX6970PrCffwpZY4/mBxN76x66+G2mTxeudS8iZG4g1RkLAWbpmQ PGR93nlfnX6F51/BtljRFF8vN6H9fZWK5ND2UVHhUcRzSCbdQBpS3UCD2RgLl4zXQCdh2SBhdKpil wvsCdEiw==; Received: from 93-181-165-201.internetia.net.pl ([93.181.165.201] helo=daleth.home) by s149.cyber-folks.pl with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1qviNt-00CwiZ-1D; Wed, 25 Oct 2023 20:13:37 +0200 Date: Wed, 25 Oct 2023 20:13:07 +0200 From: Piotr Smyrak To: fuz@freebsd.org Cc: Lorenzo Salvadore , ports@freebsd.org Subject: Re: We need to do something about build times Message-ID: <20231025201307.6c6cf513@daleth.home> In-Reply-To: References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authenticated-Id: piero@smyrak.com X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:41079, ipnet:2a02:1778::/48, country:PL] X-Rspamd-Queue-Id: 4SFxrL4hqhz3K0v On Tue, 24 Oct 2023 22:23:45 +0200 fuz@freebsd.org wrote: > Am Tue, Oct 24, 2023 at 08:11:29PM +0000 schrieb Lorenzo Salvadore: > > Disabling LTO_BOOTSTRAP option by default has > > already been done for the devel ports on the i386, amd64 > > and aarch64 architectures (so for all tier 1 platforms): > > https://cgit.freebsd.org/ports/commit/?id=daf12c76bd531335f58e7602afd3bc8da8fc5c33 > > The same is about to be done for the production ports > > too as part of a larger update: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397 > > This is great news and I hope sincerely that this change will be > applied to all ports. > > > However, please note that LTO_BOOTSTRAP is an option: > > if the build times are too long for you, you can disable > > the option. The option has been enabled by default to > > distribute optimized packages, not because it is recommend > > to build the port with that option enabled. Actually, I even > > wrote a warning about it in pkg-help. > > As mentioned earlier, it is impossible for me to know if non-default > build options have any effect downstream, so for acceptance testing > (i.e. testing before I commit an update), I don't think I should use > any non-default options. I don't think port option defaults by design reflect upstream choices. You shall be free to set them. The project even enforces a bunch of options on if they pop up in a Makefile. -- Piotr Smyrak