Confirmed users
20
edits
(Created page with 'To update libvpx in Mozilla to the latest revision, you need to have access to a Mac, Linux and Windows machine. You must checkout and configure libvpx on each platform, copy the…') |
(Add x86_64-linux-gcc to the set of platforms which must be configured.) |
||
Line 1: | Line 1: | ||
To update libvpx in Mozilla to the latest revision, you need to have access to a Mac, Linux and Windows machine. You must checkout and configure libvpx on each platform, copy the config files from every platform over to one machine, and prepare the update on that machine. This is because you can't configure builds for one platform on any other platform, and you need the config files for all platforms to prepare an update to libvpx. | To update libvpx in Mozilla to the latest revision, you need to have access to a Mac, Linux and Windows machine. You must checkout and configure libvpx on each platform, copy the config files from every platform over to one machine, and prepare the update on that machine. This is because you can't configure builds for one platform on any other platform, and you need the config files for all platforms to prepare an update to libvpx. | ||
On the '''Linux''' machine, checkout libvpx, and create directories for the x86-linux-gcc and generic-gnu configurations. Configure and make these configurations. | On the '''Linux''' machine, checkout libvpx, and create directories for the x86-linux-gcc, x86_64-linux-gcc, and generic-gnu configurations. Configure and make these configurations. | ||
<code> | <code> | ||
$ git clone git://review.webmproject.org/libvpx.git | $ git clone git://review.webmproject.org/libvpx.git | ||
Line 10: | Line 10: | ||
$ cd x86-linux-gcc | $ cd x86-linux-gcc | ||
$ ../../configure --target=x86-linux-gcc --disable-vp8-encoder --disable-examples --disable-install-docs | $ ../../configure --target=x86-linux-gcc --disable-vp8-encoder --disable-examples --disable-install-docs | ||
$ make | |||
$ mkdir ../x86_64-linux-gcc | |||
$ cd ../x86_64-linux-gcc | |||
$ ../../configure --target=x86_64-linux-gcc --disable-vp8-encoder --disable-examples --disable-install-docs | |||
$ make | $ make | ||
$ mkdir ../generic-gnu | $ mkdir ../generic-gnu | ||
Line 55: | Line 59: | ||
(In reality you'd likely need to have the scp "push" from the Windows machine to the Linux machine, unless you'e got an scp daemon running on your Windows machine...) | (In reality you'd likely need to have the scp "push" from the Windows machine to the Linux machine, unless you'e got an scp daemon running on your Windows machine...) | ||
You should be left with a libvpx directory on one of your machines with an objdir with the following | You should be left with a libvpx directory on one of your machines with an objdir with the following 6 configurations: | ||
<code> | <code> | ||
$ ls -1 objdir/ | $ ls -1 objdir/ | ||
Line 61: | Line 65: | ||
x86_64-darwin9-gcc | x86_64-darwin9-gcc | ||
x86-darwin9-gcc | x86-darwin9-gcc | ||
x86_64-linux-gcc | |||
x86-linux-gcc | x86-linux-gcc | ||
x86-win32-vs8 | x86-win32-vs8 |