Skip to content

Instantly share code, notes, and snippets.

@imnuts
Created October 18, 2012 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imnuts/3909819 to your computer and use it in GitHub Desktop.
Save imnuts/3909819 to your computer and use it in GitHub Desktop.
Script that will go through and cherry-pick commits to enable building with strict-aliasing and -O3 ala Linaro
#!/bin/bash
#
# Script to go through and merge in Linaro fixes after a repo sync
#
# Where are we?
WORKING_DIR=`pwd`
# We move into each project, cherry-pick Linaro commits
# and go to the next project
cd $WORKING_DIR/bionic
git cherry-pick 3bc331e
git cherry-pick acd2cb6
git cherry-pick 0278b18
cd $WORKING_DIR/external/clang
git cherry-pick fbc05c5
cd $WORKING_DIR/external/dnsmasq
git cherry-pick bc50039
cd $WORKING_DIR/external/e2fsprogs
git cherry-pick 51c9ae0
git cherry-pick ad1396a
cd $WORKING_DIR/external/openssl
git cherry-pick 4f7d0c7
cd $WORKING_DIR/external/skia
git cherry-pick 50e5890
git cherry-pick 3833e24
git cherry-pick 787aa58
cd $WORKING_DIR/external/stlport
git cherry-pick a8ff4c3
cd $WORKING_DIR/frameworks/av
git cherry-pick cac4bba
git cherry-pick 8eab103
git cherry-pick cd7da17
git cherry-pick 5ebe9b8
git cherry-pick b9015a5
git cherry-pick 7300518
git cherry-pick 5a928e0
cd $WORKING_DIR/frameworks/compile/slang
git cherry-pick c2848c8
cd $WORKING_DIR/frameworks/ex
git cherry-pick c4976fa
cd $WORKING_DIR/frameworks/rs
git cherry-pick e7ed413
cd $WORKING_DIR/frameworks/wilhelm
git cherry-pick 9bb432e
cd $WORKING_DIR/hardware/ti/omap4xxx
git cherry-pick 7cc40a3
git cherry-pick e2b9c4f
cd $WORKING_DIR/libcore
git cherry-pick f9066c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment