On 04/29/11 07:24 AM, Norm Jacobs wrote:
> On 04/29/11 07:46 AM, Vladimir Marek wrote:
>>>> Changing single line in *.p5m and running gmake publish is at least 4
>>>> minutes on sfwcfi.
>>>>
>>>> Is there anything I could do to speed it up?
>>> The dependency generation step in the build process is relatively
>>> time consuming and there are no speed ups that I know of.
>> What kind of dependency? I thought that userland does not support build
>> dependency yet and install dependency is hardcoded in the *.p5m files.
>> Obviously I'm wrong somewhere :/
>
> The package installation dependencies are auto-generated at build time using
> 'pkgdepend generate' and 'pkgdepend resolve'. The 'pkgdepend generate' step
> is
> relatively quick, but the 'pkgdepend resolve' step is time consuming.
This affects pretty much all IPS building consolidations, not just Userland.
As I recall the biggest bottleneck is loading all the information about the
packages & files already installed on the machine, so you may be able to
have some control over the speed by adjusting how much is installed. For
instance, if you did "pkg install redistributable" because you miss the
OEM+All cluster, then you should expect pkgdepend to be much slower than
if you are running it in zone with the bare minimum dependencies needed
for your package.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss