Date: Tue, 31 Oct 2023 18:20:20 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: ports@freebsd.org Subject: Re: We need to do something about build times Message-ID: <SI2PR01MB5036733C3CF007ED8B62FA0EFAA0A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> In-Reply-To: <SI2PR01MB50364C673D217F06B3E8E711FAA0A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> References: <ZTgXDSmpAq6lpT3f@fuz.su> <SI2PR01MB50364C673D217F06B3E8E711FAA0A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tatsuki Makino wrote on 2023/10/31 17:57: > Changes for /usr/local/etc/poudriere.d/make.conf > The following block will be added so that the stage can also be placed in tmpfs. > > .if 1 > STAGEDIRPREFIX= ${LOCALBASE}/.stage > STAGEDIR= ${STAGEDIRPREFIX}${.CURDIR}/${_WRKDIR}/stage > _PORTS_DIRECTORIES+= ${STAGEDIRPREFIX} > _USES_fetch+= 980:..stagedirprefix > ${STAGEDIRPREFIX}/😈: ${STAGEDIRPREFIX} > @${CHMOD} -R 1777 ${STAGEDIRPREFIX} > @${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q} > ..stagedirprefix: ${STAGEDIRPREFIX}/😈 > .endif > .NOTMAIN must be written in the source if the target is written in make.conf. Therefore, the following correction is made. .if 1 STAGEDIRPREFIX= ${LOCALBASE}/.stage STAGEDIR= ${STAGEDIRPREFIX}${.CURDIR}/${_WRKDIR}/stage _PORTS_DIRECTORIES+= ${STAGEDIRPREFIX} _USES_fetch+= 980:..stagedirprefix ${STAGEDIRPREFIX}/😈: .NOTMAIN .PHONY ${STAGEDIRPREFIX} @${CHMOD} -R 1777 ${STAGEDIRPREFIX} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET:Q} ..stagedirprefix: .NOTMAIN .PHONY ${STAGEDIRPREFIX}/😈 .endif Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB5036733C3CF007ED8B62FA0EFAA0A>