GitHub PushEvent at 2014-05-04 10:50:33
Repository: android_build
Actor: t-rex600
Payload: {"shas":[["d8fecc8ad7797184a4b53b5ca457a78c9ad4bc15","61a37d9a98fcfaa1878d7597e31140aacb58d1df@Hotmail.com"," 4.8 GCC, Strict Aliasing=3, -O3 CFLAG, Opt Flags!!\n\nFor those of you who are building cm-11.0 with the neofy script,\nnone of this stuff applies to you as the script did it all for you ;)\n\nTo everyone else:\nWith this commit, you will be heavily modifying your build environment. What this\nwill do, is allow you the freedom of using any custom toolchain of your choice,\nprovided you follow two simple rules:\n\nRULE #1: Both the androideabi and armeabi toolchain folders of your choice HAVE to\nbe named like the following:\n\nfor androideabi, the folder has to be prefixed with: arm-linux-androideabi-\nand for arm-eabi, the folder has to be prefixed with: arm-eabi-\n\nex:\n\nIf you want to use GCC-4.8 as your toolchain of choice, both the androideabi and\narmeabi folders have to look like this:\n\narm-linux-androideabi-4.8\narm-eabi-4.8\n\nif you want them to be different, say, 4.8 for the arm-eabi and 4.9 for androideabi,\nthen they should look like this:\n\narm-eabi-4.8\narm-linux-androideabi-4.9\n\nTake note, that if usining linaro, you will have to clone in the toolchain twice as\nthis method requires two different folders (the way it should be IMO). You would need\nto rename one of the clones to arme-abi- and the other to arm-linux-androideabi-.\n\nSECTION 2\nRULE #2: The default configuration I've set is to build with GCC 4.8 for androideabi and 4.8 for\narmeabi by default (in core/combo/TARGET_linux-arm.mk lines 50-51) unless you specify an alternate\ntarget chain on those two lines! So if you want to use a different chain, you'll\nneed to change the build numbers on those two lines. for Example:\n\nSay you wanted to use a 4.7 chain instead for armeabi and 4.8 for androideabi.. You would\nchange lines 50 and 51 to the following:\n\nTARGET_GCC_VERSION_ARM := 4.7\nTARGET_GCC_VERSION_AND := 4.8\n\nNotice at the end of each line one is for ARM and one is for AND which hints at armeabi\nand androideabi and the only thing you're changing is the number.\n\nYou also need to make sure rule number 1 is observed if you do this.. Can't build with\nan alternate chain if one is not present ;) Personally, I've found the following two\ntoolchains to be the best without any drawback to rom (sans ART) courtesy of sparksco:\n\nhttps://github.com/SaberMod/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-eabi-4.8\nhttps://github.com/SaberMod/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-linux-androideabi-4.8\n\nMAKE SURE YOU PULL BOTH FROM THE sm-kk-mr1 BRANCH IF YOU DECIDE TO USE THESE CHAINS!\n\nThis build commit also changes your global compiler ARM flags to -O3. -O3 is an option\nthat enables all -O1 and -O2 flag options as well as some heavy -O3 flag options that build\nfor optimized performance!\n\nThis commit also adds a few optimization flags that I've pre-selected for added performance.\n\nThis commit also builds the entire rom using a Strict Aliasing rule set at the highest level\nof =3 and set to error on every strict aliasing issue. Make sure that you have all the\nproper strict aliasing commits needed! If you can't find them, they will be\navailable to you on my github account at https://github.com/IAmTheOneTheyCallNeo\n\nto make your search for all those needed easier, you can find all of them in the following script:\nhttps://github.com/vigor/android/blob/cm-11.0/neofy.sh\n\nContact me if you have any issues and I will help you when and if I can.\n\n-Neo\n\nConflicts:\n\tcore/combo/TARGET_linux-arm.mk\n\tcore/combo/select.mk\n\tcore/tasks/kernel.mk\n\tenvsetup.sh\n\nConflicts:\n\tcore/combo/TARGET_linux-arm.mk\n\tcore/combo/select.mk\n\tenvsetup.sh","David Eddlemon",true],["60d89abb0d815010c9037d4736aee1c415b13a43","d2c1ea436cf7bb5507de6eb338f37b07bf05be01@gmail.com","Merge branch 'kk' of https://github.com/TeamTREX/android_build into kk\n\nConflicts:\n\tenvsetup.sh","t-rex600",true]],"size":2,"ref":"refs/heads/kk","head":"60d89abb0d815010c9037d4736aee1c415b13a43"}