[mythtv] CVS Gentoo ebuild
Daniel Thor Kristjansson
danielk at mrl.nyu.edu
Mon Jan 31 09:06:46 EST 2005
On Sat, 29 Jan 2005, Andrew Mahone wrote:
]Are there any known work-arounds for the qmake parallel make issues,
]perhaps involving some form of explicit cross-directory build
]dependencies? If qmake can't figure it out itself, and you can't tell
]it what to do, that is a flaw that people should be bugging TrollTech
I use a pretty simple workaround locally
make -j 16 -k
make -j 1
The first make will build all the object files, and then the
second make links everything, in the right order...
The downside is that the first make will try to link things, and
sometimes fail. But overall the compile goes more quickly.
BTW using -j 16 if you have 1 processor will of course slow things down,
that is just the value I use when everything is coming from ccache. For
a gentoo ebuild script you would probably want:
So the user can set create a MAKE setting such as "MAKE=gmake -j2" or
whatever works for them.
More information about the mythtv-dev