Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2022 01:41:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports
Message-ID:  <bug-268070-7788-ojzztpXLz1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268070-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268070-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268070

--- Comment #2 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Tobias C. Berner from comment #1)

Hi Tobias,


What you are suggesting would work, but it would be ~100 times slower than
evaluating all expressions inside of one make process.

You are suggesting to traverse ports tree with a shell script and then to c=
all
BSD make on individual ports. BSD make would have to re-read all/many Mk
scripts  for each port individually, which is a lot slower.

When BSD make runs hierarchically - it reuses previously read scripts for a=
ll
individual folders, which makes it a lot faster.

Currently PortsDB generation takes 20 minutes. With the shell approach it w=
ould
take days.


Yuri

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268070-7788-ojzztpXLz1>