[FFmpeg-devel] [PATCH] Speedup make removing implicit rules for makefiles and dependencies (cure for slow "make" in MSYS+MinGW)

Måns Rullgård mans
Wed Oct 28 14:36:35 CET 2009


Adam Strzelecki <ono at java.pl> writes:

> M?ns,
>
>> make -d spews out lots of junk.  That's not news.
>
> I wouldn't call that junk. This stuff is actually done by make
> (including file existence checks) and consumes some time. This may be
> neglected on UNIX coz the difference as Ramiro said is not so
> significant (well, invisible on UNIX).

I know how make works.

> But unfortunately there are people building FFmpeg on Win,

Unfortunate for them.  Some people smoke, and may die from it, too.

> it is not me (I do cross compile from Mac), but my client's
> employees want to build the project (using FFmpeg) themselves from
> the scratch on Win box.

Their choice.

> If you have an access Win box, you may check that running "make"
> makes you wait ~1minute or more (depending on box) before actual
> compilation starts just because all those unnecessary stuff you call
> JUNK must pass, and on Win is takes a while (believe me).

I just tried it on a windows machine, and "make" on a freshly built
tree takes 1.1 seconds.  "make -r" takes 0.6 seconds.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list