FFmpeg: Speed up compile and FATE tests
Posted: Sun Aug 30, 2015 11:57 pm
1) FFmpeg build:
By default, FFmpeg compiles/builds using only a single thread.
In order to speed this up, one can run make in parallel mode.
Single threading:
Parallel mode:
"-j" = "-jobs".
"-j6" runs 6 build jobs in parallel.
See: GNU Make Manual: Parallel Execution
2) Run FATE tests:
The speed-gain is tremendous
By default, FFmpeg compiles/builds using only a single thread.
In order to speed this up, one can run make in parallel mode.
Single threading:
Code: Select all
$ ./configure && make clean && make
Code: Select all
$ ./configure && make clean && make -k -j6
"-j6" runs 6 build jobs in parallel.
See: GNU Make Manual: Parallel Execution
2) Run FATE tests:
Code: Select all
$ make -k -j6 fate