[FFmpeg-devel] Concurent builds on different architectures

Måns Rullgård mans
Fri Sep 5 20:05:10 CEST 2008


"Roman V. Shaposhnik" <rvs at sun.com> writes:

> Guys,
>
> do we have any kind of Makefile magic that would allow me
> to build/test/debug different hardware architectures
> in the same ffmpeg workspace. To give a concrete example,
> here's what I really would like to do:
>
>   $ cd ~/src/ffmpeg  
>   $ rsh sparc-t2 "cd $PWD; make FOO_BAR=sparc-t2/ test" > sparc-t2.log &
>   $ rsh sparc-v9 "cd $PWD; make FOO_BAR=sparc-v9/ test" > sparc-v9.log &
>   $ rsh opteron  "cd $PWD; make FOO_BAR=opteron/ test" > opteron.log
>
> with an assumption that every binary file would be prefixed with FOO_BAR
> so that something like libavcodec/dv.o becomes libavcodec/$FOO_BAR/dv.o
> and ./ffmpeg_g becomes $FOO_BAR/ffmpeg_g
>
> If it isn't implement yet, how about we do? ;-) It is awfully convenient
> for the kind of multiplatform development that I'm sure some of us do.

Run configure from the directory you want your object files:

$ mkdir ffmpeg-sparc-t2
$ cd ffmpeg-sparc-t2
$ ../ffmpeg-src/configure
$ make

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




More information about the ffmpeg-devel mailing list