`make -jN' (Re: minor improvement to devel/liboil)
Mikhail Teterin
mi+mill at aldan.algebra.com
Thu Aug 16 09:40:03 PDT 2007
четвер 16 серпень 2007 11:52 до, Jeremy Messenger Ви написали:
> The -jN is well known for cause problems on some systems and it
> requires to do a lot of tests on different arch, 4BSD and ULE schedulers
> on both -STABLE and -CURRENT on HTT, multi-core, and multi-CPU (physical
> CPU) systems. marcus has a problem with graphics/jasper until he removed
> this same line to solve his problem on his dual-core amd64 box.
Khmm, the only problems I'm aware off are poorly-written Makefiles -- and
jasper's was Ok. Are you alluding to a bug in a scheduler?
Actually, a better change is to amend the ALL_TARGET instead of MAKE_ARGS:
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
This allows the port to _build_ faster, but still _install_ serially.
Install-targets create directories and that does not parallelize well in many
autotools-created Makefiles.
Maybe, that was Marcus' problem?
-mi
More information about the freebsd-multimedia
mailing list