Closed Bug 1223925 Opened 9 years ago Closed 9 years ago

Provide OpenH264 v1.5.1 build

Categories

(Release Engineering :: Release Requests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Assigned: Callek)

References

Details

+++ This bug was initially created as a clone of Bug #1217475 +++
Depends on: 1223796, 1223797, 1223798
documenting current instructions for building (since last bug I didn't do quite this well): Linux64: cd /builds/slave/ rm -rf openh264 mkdir openh264 cd openh264/ bash -c 'python /tools/checkouts/build-tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --64 --os linux --use-mock /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --64 --os linux --use-mock --upload Linux32 cd /builds/slave/ rm -rf openh264 mkdir openh264 cd openh264/ bash -c 'python /tools/checkouts/build-tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --32 --os linux --use-mock /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --32 --os linux --use-mock --upload Android (arm) bash -c 'python /tools/checkouts/build-tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' wget -O tooltool.manifest http://hg.mozilla.org/mozilla-central/raw-file/default/mobile/android/config/tooltool-manifests/android/releng.manifest sh /tools/checkouts/build-tools/scripts/tooltool/tooltool_wrapper.sh tooltool.manifest https://api.pub.build.mozilla.org/tooltool/ setup.sh /builds/tooltool.py --authentication-file /builds/relengapi.tok export NDKROOT=`pwd`/android-ndk nano scripts/scripts/openh264_build.py # Apply: # diff -rU6 scripts2/scripts/openh264_build.py scripts/scripts/openh264_build.py # --- scripts2/scripts/openh264_build.py 2015-11-11 17:08:11.000000000 -0800 # +++ scripts/scripts/openh264_build.py 2015-11-11 18:44:17.866578370 -0800 # @@ -147,4 +147,9 @@ # retval.append('ASM=yasm') # # + if self.config.get('operating_system') == 'android': # + retval.append('TARGET=invalid') # + retval.append('NDKLEVEL=9') # + retval.append('NDKROOT=/builds/slave/openh264/android-ndk') # + # return retval /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --os android --use-mock --no-test /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --os android --use-mock --upload ssh -i ~/.ssh/ffxbld_rsa ffxbld@stage.mozilla.org # move the 'android' binary to 'android-arm' Android (x86) bash -c 'python /tools/checkouts/build-tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' wget -O tooltool.manifest http://hg.mozilla.org/mozilla-central/raw-file/default/mobile/android/config/tooltool-manifests/android/releng.manifest sh /tools/checkouts/build-tools/scripts/tooltool/tooltool_wrapper.sh tooltool.manifest https://api.pub.build.mozilla.org/tooltool/ setup.sh /builds/tooltool.py --authentication-file /builds/relengapi.tok export NDKROOT=`pwd`/android-ndk nano scripts/scripts/openh264_build.py # Apply: # diff -rU6 scripts2/scripts/openh264_build.py scripts/scripts/openh264_build.py # --- scripts2/scripts/openh264_build.py 2015-11-11 17:08:11.000000000 -0800 # +++ scripts/scripts/openh264_build.py 2015-11-11 18:44:17.866578370 -0800 # @@ -147,4 +147,10 @@ # retval.append('ASM=yasm') # # + if self.config.get('operating_system') == 'android': # + retval.append('TARGET=invalid') # + retval.append('NDKLEVEL=9') # + retval.append('NDKROOT=/builds/slave/openh264/android-ndk') # + retval.append('ARCH=x86') # + # return retval /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --os android --use-mock --no-test /tools/python27/bin/python scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --os android --use-mock --upload ssh -i ~/.ssh/ffxbld_rsa ffxbld@stage.mozilla.org # move the 'android' binary to 'android-x86' OSX (32) cd /builds/slave/ rm -rf openh264 mkdir openh264 cd openh264/ bash -c 'python /tools/checkouts/build-tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' svn co https://googletest.googlecode.com/svn/trunk/ gtest # press p for "permanently" # ^C rm -rf gtest /tools/python27/bin/python2.7 scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --32 --use-yasm /tools/python27/bin/python2.7 scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --32 --use-yasm --upload OSX (64) cd /builds/slave/ rm -rf openh264 mkdir openh264 cd openh264/ bash -c 'python /tools/checkouts/build-tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' svn co https://googletest.googlecode.com/svn/trunk/ gtest # press p for "permanently" # ^C rm -rf gtest /tools/python27/bin/python2.7 scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --64 --use-yasm /tools/python27/bin/python2.7 scripts/scripts/openh264_build.py --repo https://github.com/cisco/openh264 --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --64 --use-yasm --upload Win (32): # WITH start-msvc10.bat cd /c/builds/moz2_slave mkdir openh264 cd openh264 export PATH=/C/mozilla-build/nsis-2.46u:/C/mozilla-build/python27:/C/mozilla-build/buildbotve/scripts:/C/mozilla-build/msys/local/bin:/c/mozilla-build/wget:/c/mozilla-build/7zip:/c/mozilla-build/blat261/full:/c/mozilla-build/python:/c/mozilla-build/svn-win32-1.6.3/bin:/c/mozilla-build/upx203w:/c/mozilla-build/emacs-22.3/bin:/c/mozilla-build/info-zip:/c/mozilla-build/nsis-2.22:/c/mozilla-build/nsis-2.33u:/c/mozilla-build/nsis-2.46u:/c/mozilla-build/wix-351728:/c/mozilla-build/hg:/c/mozilla-build/python/Scripts:/c/mozilla-build/kdiff3:/c/mozilla-build/yasm:.:/C/mozilla-build/msys/local/bin:/C/mozilla-build/msys/mingw/bin:/C/mozilla-build/msys/bin:/c/windows/system32:/c/windows:/c/windows/System32/Wbem:/c/windows/System32/WindowsPowerShell/v1.0/:/c/mozilla-build:/c/mozilla-build/python27:/c/mozilla-build/python27/Scripts:/C/mozilla-build/msys/bin:/c/mozilla-build/vim/vim72:/c/mozilla-build/wget:/c/mozilla-build/info-zip:/c/CoreUtils/bin:/c/mozilla-build/buildbotve/scripts:/c/Program\ Files\ \(x86\)/Microsoft\ SQL\ Server/100/Tools/Binn/:/c/Program\ Files/Microsoft\ SQL\ Server/100/Tools/Binn/:/c/Program\ Files/Microsoft\ SQL\ Server/100/DTS/Binn/:/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/Windows\ Performance\ Toolkit/:/c/mozilla-build/moztools-x64/bin:/c/mozilla-build/vim/vim72:${PATH}:/c/mozilla-build/Git/bin/ wget -O nasm.zip http://www.nasm.us/pub/nasm/releasebuilds/2.11.05/win32/nasm-2.11.05-win32.zip unzip ./nasm.zip export PATH=${PATH}:/c/builds/moz2_slave/openh264/nasm-2.11.05/ hg clone https://hg.mozilla.org/build/tools tools bash -c 'python tools/buildfarm/utils/archiver_client.py mozharness --repo mozilla-central --rev default --destination scripts --debug' python scripts/scripts/openh264_build.py --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --os msvc --no-checkout-sources --no-build --no-test --no-package --no-upload git clone https://github.com/cisco/openh264.git build/src pushd build/src; git checkout 1539616777fe0f4bd6c3c09e18436e916640c2dd; popd # Edit checkout-sources step in openh264_build.py to not checkout openh264.git so we can get gmp-sources and such. python scripts/scripts/openh264_build.py --rev 1539616777fe0f4bd6c3c09e18436e916640c2dd --os msvc --32 --no-upload scp -i ~/.ssh/ffxbld_rsa build/upload/*.zip ffxbld@stage.mozilla.org:openh264/1539616777fe0f4bd6c3c09e18436e916640c2dd/unsigned/ ================== I also stripped *.so.1 and *.1.dylib from the zip's as per earlier discussions. And signed windows *.dll's E-mail sent to maire, jesup and cullen at cisco.
These binaries are now live to 'nightlytest' update channel for Firefox 39+
This has since been pushed to aurora and beta users, release and esr coming soon.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Summary: Provide OpenH264 v1.5 build → Provide OpenH264 v1.5.1 build
Two random notes: 1) Google Test has moved to GitHub, so you probably want to do: ``` git clone --branch release-1.7.0 https://github.com/google/googletest.git ``` 2) I note that openh264_build.py isn't invoking make with -jN, so the build is going to be slower than necessary. You could do: ``` import multiprocessing jflag = '-j%d' % multiprocessing.cpu_count() ``` and pass `jflag` on the make command line to make your builds faster.
Component: Custom Release Requests → Release Requests
You need to log in before you can comment on or make changes to this bug.