From nobody Wed Nov 01 09:15:50 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 4SL1Zn2jL1z504S1 for ; Wed, 1 Nov 2023 09:16:01 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn20800.outbound.protection.outlook.com [IPv6:2a01:111:f403:280c::800]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SL1Zm1gDgz3PGq for ; Wed, 1 Nov 2023 09:16:00 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=tbxORxUh; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 2a01:111:f403:280c::800 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FyCh9+f0+Rr+y9+bS7VKEe4h4xpK0zmaJJbgKXBR8xQbYdvU7qNvkg02ksYpnqZYNX/JHTRCQ0k9sZbvG9I4CO921Enw7CduAJcQ5n4x6J42/QcL7llmf+uH1JIwVOz5DzLDPPGjmV1FmA4L7VHj3lhV+Gh9b4wHamgU0KZoCI7K7E6OQxJ8R1tPhE4CGWTxevbPuYBK3M27j/SSnGK/3R8ch5ng5EJZNuoRAYk+q0hZj0M9ugVuYb2rfJWTYyAdM2L2I4nKvBlHl8ZubUGkheWMPyfw0qEmLzJ5e9Xf9NvUWJDmy2zq5nsMmkhzSx1kpj0g/obMM7rGi0lJPVeE6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u7pAAziKMG7/p+3qkrBzytZdClU0wefZLEpu/X0IdfM=; b=jm+u0FvN8nTiWw17aeXIkoPpNEcIJed39Grw23yXKANNbbgEIZbAY2s+kxixH7fKb9R8ISy9SrtRzjfDoGdC94GlTpqpN8b5CLo0UYA6i14R8NjDJdOoUvnc914y1busodSGkfnO432/flJuFYZFaXii9XsDDwbXx3yLAVm4BkSA/0/olpilNhlb4I9wJCngOODvcxprGzl8dxy16ecvpuFl0650C43HJH8hs5RpFLh9OJgBr7jGjll0dCL/kMq7Hvi67FFlTiyGvNZqWYZQ5tzgzD6Lto1TYMlxfevJ+Bb/aJrPvHBbUbUsaqVOe0iRD2Kl3+c5ldr22Om7uUeUBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u7pAAziKMG7/p+3qkrBzytZdClU0wefZLEpu/X0IdfM=; b=tbxORxUhdctFtZowjsMqXXARw1MFdFsAiIGZuCG1TYt2t6jRJ25LHtkOZ+/cJ5QcRI6PSsL7H1MZeaY4itFkdCxXwbyy9gA9oLVm5VCRQQKhzOI9OHA+sJqBkKrPsN87w+uutSeVIyyXPYQxUvGRUp4xNj9a6U/+pzf0GF7o/07foDYoii85XcNfH8heqfCYUz4wYYKK2TGHd0pl7TIBEgVrcyZgiEOQ79B23GtI7W4y9WbuElGxgx7Vy94iSrtwnDTNbIjnjKZEzSkm1FgyvixUMOdRXKfMlAmUZPDFW/nDSOIR7vVTJ1mXuVA+E9sat0OpibbhBUq/YIqigFz/Rg== Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) by PSAPR01MB3829.apcprd01.prod.exchangelabs.com (2603:1096:301:49::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Wed, 1 Nov 2023 09:15:54 +0000 Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::fb1a:653f:16a:b4d2]) by SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::fb1a:653f:16a:b4d2%5]) with mapi id 15.20.6933.024; Wed, 1 Nov 2023 09:15:54 +0000 Subject: Re: We need to do something about build times From: Tatsuki Makino To: ports@freebsd.org References: Message-ID: Date: Wed, 1 Nov 2023 18:15:50 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [tAy0g/4q8qdzkOAY4dSUzituHzTrWETG] X-ClientProxiedBy: SI1PR02CA0039.apcprd02.prod.outlook.com (2603:1096:4:1f6::9) To SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) X-Microsoft-Original-Message-ID: <9bc9668c-6700-d02f-379d-7f184aa365e0@hotmail.com> 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SI2PR01MB5036:EE_|PSAPR01MB3829:EE_ X-MS-Office365-Filtering-Correlation-Id: 9dee1105-9812-4d4d-945e-08dbdabb2663 X-Microsoft-Antispam: BCL:0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uVlZBMm52WGZlaDZCWmRXTWkrMk1m?= =?utf-8?B?bzBwR0lYd3BSbmZIdVF3bFBiZVBOc3FrSXJEem05anZ6R0YrSzFNYXdYWkcw?= =?utf-8?B?cmhRNVpianREMmxtSDFBbUVRRVlWTmJZWHVRc01ObFJMSHhGWjk2OURaVlZi?= =?utf-8?B?NnpoNkgxaDl1WFNjd1VML1Zjc2crMHdTZ0VZWE00Ym1KZlVDU3E5K2FqdXoy?= =?utf-8?B?dUVyMkdhN2VJNElyTHRYTWpUSVI0dzZVeExtMndGS3BxUUF3WTBRMStBL3F5?= =?utf-8?B?WWJxdnlua2dHNTJqM2Z5SEt5RzUxaGs3WHlsTEQzY2x4S0tVZnozWmxqUXpt?= =?utf-8?B?U2xwWDEyVm9ZaTErTUl0b2d3TnYwYmZoOHJPTU5VaTZQVWpFaWtjSWhXemNr?= =?utf-8?B?MnVweGJjVERyTXBlKzREaVBsQjJVbk9ZWjNHNTBZSFhnT0daOFNrMGNodkc2?= =?utf-8?Q?OeafkhZfmvDfaWzLSL8qQ/3ILRpCqGRW595ajumhaEMg=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 9dee1105-9812-4d4d-945e-08dbdabb2663 X-MS-Exchange-CrossTenant-AuthSource: SI2PR01MB5036.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2023 09:15:54.5281 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR01MB3829 X-Spamd-Result: default: False [-2.34 / 15.00]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.84)[-0.836]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f403:280c::800:from]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] X-Rspamd-Queue-Id: 4SL1Zm1gDgz3PGq X-Spamd-Bar: -- Sorry for the repetition. The previous fix for the critical flaw does not work properly. There should be no problem this time. .if 1 STAGEDIRPREFIX= ${LOCALBASE}/.stage STAGEDIR= ${STAGEDIRPREFIX}${.CURDIR}/${_WRKDIR}/stage _PORTS_DIRECTORIES+= ${STAGEDIRPREFIX} _USES_fetch+= 980:..stagedirprefix ${STAGEDIRPREFIX}/😈: .NOTMAIN ${STAGEDIRPREFIX} @${CHMOD} 1777 ${STAGEDIRPREFIX} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q} ..stagedirprefix: .NOTMAIN .PHONY ${STAGEDIRPREFIX}/😈 .endif About the effect of this in my environment. In my environment, I used to set USE_TMPFS=no to save memory. And when the settings were applied, the following differences were found. There is little difference in ports where most of the time is spent in the build phase. (e.g. www/qt5-webengine) No more time is spent in the *-depends phase. The time required to build one port seems to average one-third. For ports where most of the python involved is copying files, the time required can be reduced by as much as a factor of 10. There seems to be a good balance between how memory is used and where I/O speed is desired. Now perhaps this experiment could have reached its termination :) Regards.