From nobody Sat Jan 14 15:42:32 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 4NvMxK69Y1z2r5kS for ; Sat, 14 Jan 2023 15:42:45 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (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 4NvMxJ6vfjz3lHN for ; Sat, 14 Jan 2023 15:42:44 +0000 (UTC) (envelope-from wjw@digiware.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=digiware.nl header.s=medusa-2017 header.b=dubWmrYR; dkim=pass header.d=digiware.nl header.s=medusa-2017 header.b=UjR77FB5; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 2001:4cb8:90:ffff::3 as permitted sender) smtp.mailfrom=wjw@digiware.nl; dmarc=pass (policy=quarantine) header.from=digiware.nl Received: from router10g.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id CB9C35C2A4; Sat, 14 Jan 2023 16:42:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=digiware.nl; s=medusa-2017; t=1673710961; bh=4gfoKgnUWHHrK3MqwKVmDWnaTEG3K8rjE1+LZQ2yxIs=; h=Date:Subject:To:References:From:In-Reply-To; b=dubWmrYRAZcG5ootzuOvCsdiDaF30Kq0gisb7eK4OrpQ1SKc8CcIZZxF7MBl07ByC jXMLO0SHFYkGTXuHfSZFWBVT/b8TBgb3c/AUPrbA4NbDrG+Fwf7Dn8ceAkNueyqR5F OXIK+AhN8wAmXshVeKPiLutCriM21PchK6QARYpfnzngbK4GHZNNFBgMJ3djdkk1OO HLk9gStOeI26VtouG55NkobbMfF0RSCujtNtsgdq/tm3wuTPQDeBWWI3rSwt9nfqZg fBjgrB1OJuWUB0ZcEREUMyV4mO2t9VGeikMu+G9Hw1zdtmCVaTOLN/OJJ0Xaudky4B JkDnSfikCZrpA== X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by router10g.digiware.nl (router10g.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NDQeOGmkHaJZ; Sat, 14 Jan 2023 16:42:31 +0100 (CET) Received: from [IPV6:2001:4cb8:3:1:d829:dec7:2061:64f0] (unknown [IPv6:2001:4cb8:3:1:d829:dec7:2061:64f0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 821C35C320; Sat, 14 Jan 2023 16:42:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=digiware.nl; s=medusa-2017; t=1673710951; bh=4gfoKgnUWHHrK3MqwKVmDWnaTEG3K8rjE1+LZQ2yxIs=; h=Date:Subject:To:References:From:In-Reply-To; b=UjR77FB5eVB6mg5cDijNuSf71NNg4Y/gHgqfuCyrZQOyEk1bhfRhGu5dCOshF+od+ FMso1DhUIGrPf2gzx5niD6bl8Pq/Sez87Qytl+33YlEtL/NqqN/w2/ODz6uee5XeAI 0fJAsabgnxRRS2Su+aed3OORns49yhWnigAYTkG+50KVWiPZiRGWktRGff71bjdcLf PoPwzPheVCARnmi9Yv2eVomkT2+ewW2EOGDs9YOe3JbiFiqh2lj+GdKB6f5BVf9ljo OWP+FbL8BIajd62IglcJUk4rdzXmdDo1NDq16aYih1MaqAYYnEaPMckmMHoQSz26So hvO6P/XpRY4hg== Message-ID: <3be6f9c6-be5a-71bc-1992-501f6fd91afd@digiware.nl> Date: Sat, 14 Jan 2023 16:42:32 +0100 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.6.0 Subject: Re: Building gcc12 parallel Content-Language: nl To: Robert Clausecker , "ports@freebsd.org" References: <37883f1f-621e-16dc-b081-832234ac6dcd@digiware.nl> From: Willem Jan Withagen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[digiware.nl,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[digiware.nl:s=medusa-2017]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[digiware.nl:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:28878, ipnet:2001:4cb8::/29, country:NL]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NvMxJ6vfjz3lHN X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 14-1-2023 16:13, Robert Clausecker wrote: > By default, gcc is configured to build with LTO. This means that most of > the build is serial. You can disable LTO by setting a port option to > significantly speed up the build. Good suggestion With ALLOW_MAKE_JOBS=yes It was down to 13 minutes. --WjW > Yours, > Robert Clausecker > > Am Sat, Jan 14, 2023 at 03:53:53PM +0100 schrieb Willem Jan Withagen: >> Hi All, >> >> Machine has 56 cores and 256G, so things should work fast. >> >> Trying to build (big) some stuff in poudriere and now build is stuck on >> GCC-12. >> Which it seems to do in serial mode, atleast I can only detect max 1 >> compile-thread. >> And that is of course going to take forever. >> >> So what do I need to do to get Poudriere to call the gcc-12 build with >> something like -j 56 or so. >> >> Thanx, >> --WjW >> >>