From nobody Mon Dec 12 22:12:50 2022 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 4NWG8j6VsNz4jhp6 for ; Mon, 12 Dec 2022 22:12:53 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4NWG8j4cdxz3D3W for ; Mon, 12 Dec 2022 22:12:53 +0000 (UTC) (envelope-from pat@patmaddox.com) Authentication-Results: mx1.freebsd.org; none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B43F95C0094; Mon, 12 Dec 2022 17:12:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 12 Dec 2022 17:12:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patmaddox.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1670883172; x= 1670969572; bh=K/JGXMi9vSkHRZiCCkjE73DMcqXDXX9jlXHJhjfcwVQ=; b=z wdnLW8NTP0qWln0dTd2Mw5GvEY/Ri4B5ftEyJ5jwmfPh6QWifHsm71GwsacGA2Xk qjWLyLXh3R7uOh2Nkrzzly8JOUTDcp34NoUx9+SaaG3az7mKEcJch+5dIFj/S3iN 7S6rjjJCrO0VG6XdUUkH0HAXxzkywce2REx9U76DohV0ABXzLaZ3bq7tnsGzCdv/ E2taMdXh37K5uJiUTlRoLlsZ9QnIul3dvsVpsdVzH3bIMIT8OTolxiIMbGHeD1xf s5URIf94dcaO8yGs7miDbII2UYCC0WyRy2BUZ8mLP/YyhQzuLgbHQJ2CmY28DhSE i4kfFGGIuTMOO+4b45ifQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1670883172; x= 1670969572; bh=K/JGXMi9vSkHRZiCCkjE73DMcqXDXX9jlXHJhjfcwVQ=; b=Q dIG9uw1TmbcjbdnjCewmsWFtvbQjrnWSc6KbJLoYrbJIxql3oophNVqtDOWC3O/3 MsgJacvfDAtbKk8R4VcoyoFemdoQDdFQyIjHus19ZtikGFQqd/v80AdCuTLoHXcI 3DX8rfMTLlsIu5BLnvDQ23L0hPF8Ma+MIP7Vo5EiMBn/ZEFPF5PdFa74j7mMuNTp PtxxcYI2gfNudllDiIjTulvk4LWsIZpkRvIwkOB7Y78Vs1nKJR3bd6sRyN1DlIEV 4r5asIMeKzpIyd89LvNuvXwgCEbQkRTbLAEZToLEOwG3NTz5TYP44AHye6QZV/KT ZD2nxeiyYCfI9GmhVL9BQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffoffkjghfgggtgfesth ekmhdtredtjeenucfhrhhomhepfdfrrghtucforgguughogidfuceophgrthesphgrthhm rgguughogidrtghomheqnecuggftrfgrthhtvghrnhepfeetfeevhfdvjeekjeejueeuhf ehieefffehiefhfedufeffkeevvdfgheeutdffnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepphgrthesphgrthhmrgguughogidrtghomh X-ME-Proxy: Feedback-ID: i8b6c40f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Dec 2022 17:12:51 -0500 (EST) From: "Pat Maddox" To: "Robert Clausecker" Cc: ports@freebsd.org Subject: Re: lang/rust is super slow to build Date: Mon, 12 Dec 2022 14:12:50 -0800 X-Mailer: MailMate (1.13.2r5673) Message-ID: 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="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4NWG8j4cdxz3D3W X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Okay! It took a few tries for me to recognize that it was ALLOW_MAKE_JOBS rather than PARALLEL_JOBS. Once I set it, it took 26 minutes to build Rust - that’s more like it :) Good to know that there can be some really long build times... for our lower specced build machine at work, I’ll configure a cron job to update the ports tree and build on the weekend. That way we should hopefully avoid any long build times in our CI. Thank you for the guidance! Pat p.s. I do know about -b latest to fetch dependency ports... starting off I would like to see how full builds work. On 12 Dec 2022, at 11:30, Robert Clausecker wrote: > Hi Pat, > > Did you configure Poudriere to permit more than one job per package? > The default is 1 job per package, with as many packages as you have > cores being built in parallel. > > Yours, > Robert Clausecker > > Am Mon, Dec 12, 2022 at 11:27:45AM -0800 schrieb Pat Maddox: >> Using poudriere, lang/rust is at 2 hours and counting on my 10-core >> i9 >> w/ 128 gigs of RAM. >> >> Does that sound right? It seems extremely slow to me, but this is my >> first time building it. >> >> How long does it take others to build? What options are you using, or >> any other suggestions for shortening the time? >> >> Pat >> > > -- > () ascii ribbon campaign - for an 8-bit clean world > /\ - against html email - against proprietary attachments