{"push_id":814389972,"size":1,"distinct_size":1,"ref":"refs/heads/android-5.1","head":"82007ef27d453530701c6584fa82cdc45603825f","before":"759f8c5b9c55710f66f9069263bd3caaf7c2b9ff","commits":[{"sha":"82007ef27d453530701c6584fa82cdc45603825f","author":{"email":"be9be9284cab0e59714993ff29886a62da8b2ca8@gmail.com","name":"Paul Beeler"},"message":"Saberize v5 (3/5)\n\nAdded -O3 modular optimizations.  To switch on use O3_OPTIMIZATIONS := true\nhost gcc 4.8 is now default.  seems silly to have 4.6 as default.  To use host 4.6, set USE_LEGACY_GCC := true\nAdd the updated version of graphite that works and set it on by default (top sabermod feature)\ncutomize arm neon to export flags to kernel\n\nChange-Id: I692f17c61029bc395910f4c976e4bc9bae7fdf50\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\narm: compile all thumb with -mthumb-interwork and cleanup -O3\n\nTo enable this option use ENABLE_ARM_THUMB_INTERWORK := true\n\nThis may slightly increase binary size but will include more arm\ninstructions for increased performance.\n\nhttps://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html\n\nChange-Id: I0ba0a2d34b84e34309c20ce0cbb85ea3ee6dda15\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nAdd Global posix thread aka pthread Support (1/2)\n\nthis flag enables multithread support much like what I did in kitkat.\n\nhttps://github.com/SaberMod/android_build-OLD/commit/93d376380dffae1ec96eeb0ef00a7e663d107ca4\n\nChange-Id: Id5559ec460b2ba84ed9cfe7a47b0ac59544e1d61\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\npthread:  Make optional, disabled by default:\n\nThis can cause high system RAM usage\n\nChange-Id: Ib038926b9c0b8ae150bc41f03afe20cb72b5d221\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nCleanup armv7-a-neon.mk for arm64 since AOSP has this hacked into armv7-a\n\nChange-Id: Icf85460fe2e508719ef996a35cb064a153f21305\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nlibtinycompress: use kernel headers when used as a shared lib\n\nChange-Id: Ib6ceff06cf8f9b2780523b673f46b6dba6f46320\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\ncore combo linux-arm: filter TARGET_SM_AND to set gcc version\n\nChange-Id: If2619b5df2f305c31eeaae3780114c17758b5b33\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nAllow NDK to be overrided with TARGET_NDK_VERSION\n\nChange-Id: Ic62b6ec76013bb93e82fba9578fbc61faf6d5cd0\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nRevert \"libtinycompress: use kernel headers when used as a shared lib\"\n\nThis reverts commit d944e7ad15801b7e79fed5b20f6ff4f433e8487a.\n\nUpdate binary.mk\n\nChange-Id: I7b398c3f08d4c33a882d2bdd086ca4f5c93af13f\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nGCC Freedom v3 for arm and arm64\n\nChange-Id: I3469aee460a95ab112f6fcd06738d46d92571822\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nGcc Freedom v3:  Fixup path for aarch64 in envsetup.sh\n\nChange-Id: I2435536e281245380e8787bed89c495dae172292\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\narm64: update changes in preperation of new toolchain's:\n\n-Much like arm, for kernel toolchains remove linux and android for\n the toolchain path and binary prefixes.\n\nChange-Id: I270e25eda27401039ecb663d28409954f3ccbd86\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nGCC freedom v3: Fixup TARGET_KERNEL_TOOLS_PREFIX:\n\nThis path isn't really used in the rest of the ROM other than the\nkernel makefiles.  Remove path.\n\nChange-Id: I64fdbbb98cc04235c7fabd1f0d09f8e6d3f72a94\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nARM: Allow arm64 filter to override the ROM toolchain version\n\nChange-Id: Ieb34a6063d59bfa6b6039e42d2023354e48236c0\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nMOAR SaberMod flags (2/3)\n\nChange-Id: I213b582f5b2d3249c9e1d59135f54ad59c07326b\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nARM: Enable -fno-builtin-sin and -fno-strict-volatile-bitfields by default:\n\nNo one uses anything less than gcc 4.6 anymore so stop using a\nredundant filter for it...\n\nChange-Id: Ib5cce3fe4d67f59a13542148de807487961cfcb3\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nARM: NDK library selection options\n\n-Make default 4.8 if no sabermod toolchain is used\n-If TARGET_NDK_VERSION is not set default to 4.8. If a sabermod\n toolchain is used, default to the sabermod toolchain version.\n Note that going this route is not a good option if you use\n non-standard names and path's for your toolchains such as SM-4.9\n etc etc... In such cases setting TARGET_NDK_VERSION or\n 2ND_TARGET_NDK_VERSION (in case of flounder) if a better route to\n go with.\n-Allow a second arch to override the NDK library selection\n\nChange-Id: Icdbaf544423104956b231e7a000c948c38ef40cb\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nARM: Fix typo: Fogot a \"t\"\n\nChange-Id: I69c6c578b55fdd84b2cb7c3759a5853dd7d0e46e\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nMore message fixups...\n\nChange-Id: I9961268e46ba3514a078df07df1d61d0df3428f0\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nextra sabermod flags binary mode: separate gcc from clang completely\n\nChange-Id: I90c9d143632126282c9c7dc72c7867442be23546\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nAdd some basic host optimizations (2/2)\n\nThis is mostly beneficial when used with -O3 optimizations\n\nChange-Id: I53bab4e9edba04046a6e5f726749bba483ed92a9\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nCleanup graphite:  LOCAL_CFLAGS will be used for CPP flags\n\nChange-Id: Ida6dd67dbfb257b8c86bda3a1ead320d68847643\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\n-O3 optimzations: More improvements (2/2)\n\n-Give a option to disable -O3 optimizations thumb.\n Some people feel this hinders performance and there was no\n solution found before to disable -O3 in binary mode previously.\n This patch allows this option, see description in binary.mk for more info.\n\n-Make extra loop flags dependent on LOCAL_O3_OPTIMIZATIONS_MODE := on\n We shouldn't really be performing extra loop optimizations unless -O3\n is enabled locally.\n And since these are not really considered -O3 flags according to gcc,\n they should remain in extra.mk (extra sabermod flags).\n\nChange-Id: Ie96aa4daddcea287f427ae3b3336b45e7faa152a\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\nCc: @frap129\nCc: @ImTheReas0n\nCc: @pbeeler\nCc: Everyone else that wants notifications :)\n\nInclude sm_clear_vars.mk\n\nChange-Id: I21263efc50823f8f49f9cf3acfbf8553df5eb88a\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nsm.mk: Bug fix for aosp and strict-aliasing (2/2)\n\n-For people have \"other\" strict-aliasing binary mode implimentations,\n then this is only needed when strict-aliasing is not set on.  In\n cases of \"other\" implimentations, this should be dependent on that\n being disabled.\n\nChange-Id: I613debaa3039ce6c601aa129911a314bc7c1eb80\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nSaberMod ARM Mode (2/2)\n\nOnly tested on user build for now.\n\nChange-Id: I1d92b2fe5ba4bbaa5bf662ffef32210a09521d92\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nsmall cleanup\n\nChange-Id: I337869199a70c5fad0ac6ce39a511b46b8dbee82\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nRewrite SaberMod ARM Mode to fix build for arm64:\n\nARM uses thumb by default and arm64 uses arm64 for default.\n\nChange-Id: Ie2addac9f8698928cba84690b812d48448900d0d\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nFind more strict-aliasing flags in arm mode\n\nChange-Id: Ibd039056c81548b3d43ade70c90b00d7e28cde3d\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nARM: Make strict-aliasing optional\n\nChange-Id: I98f37ebec82b0a45ba575102937d3f1cd299cd74\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nARM: Remove -funswitch-loops from arm mode flags\n\nThis is a -O3 optimization flag, so no need for it to be default.\n\nChange-Id: I7225144e236448a6b2e9f504f19c357f2f93e6db\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nMore flag fixes...\n\nChange-Id: Ibc621edd6ba5b1897831e0989b0df621a23a3b6e\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nsm.mk: code shrink\n\nChange-Id: Ie2b71913bba7bf8557a4fb9b4b22896eeb0c7ca3\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nstrict derp:  Make optional for real this time.\n\nChange-Id: I681d2a196b39571870b146883b3109e18f4168c0\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nRemove extra clang -O3 flags\n\nChange-Id: Id691564dacde1f5f21877c0bbd341b5c7e5c8808\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nCreate dumpvar.mk\n\nChange-Id: I33a262757d32eba377389abca58690edf668e566\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nstrict: one more fix..\n\nChange-Id: I108b5eaa196a8b8f6b27064466a189df66b9f354\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nFix strict-aliasing being enabled thanks to Alessandro\n\nChange-Id: I0dcf318621a5f806987e2e9e16990b42b81d1a6c\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nAdd a option to disable vectorization flags (2/2)\n\nChange-Id: I2bd7a1a554b0680faa2da36be1866e8f57e0166c\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nUpdate for vendor changes\n\nChange-Id: I16418f4d80cc9ba4cdd557fe748d9d5d594401eb\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nNo optimizations for bluetooth modules\n\nChange-Id: If5b5b115be5e4affff55aa275055dcda61dffc3d\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nFix pthread not being able to be disabled\n\nChange-Id: I2193f0733243b70c32f3a9e092d937482f7a28f9\nSigned-off-by: Paul Beeler <sparksco@gmail.com>\n\nRemove customized prefix tools naming:\n\nThis causes linker errors in some cases.\n\nChange-Id: Ie02b65a288fd50f0204cddc19348f5278f4ce91b\nSigned-off-by: Paul Beeler <sparksco@gmail.com>\n\nI'm not happy with strict\n\nChange-Id: I769f69ccd7ab06029d03f5e8c616afe6aa078481\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nExtra sabermod flags:  Enable the gcc memory leak detector\n\nChange-Id: Ie93210f6d78dcd2b901aba1b714cf99be13a6d21\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nRemove debugging from optimizations:\n\ndebuggering for bugs with optimizations is complete for now.\n\nChange-Id: I69ccc273e0e88651827c81eb36b988bf1a1c63b7\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nstrict: more fixups (1/2)\n\nChange-Id: Ie018e1364d8695c9021750226ae168cbc9944b55\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nstrict: more arm64 support\n\nChange-Id: I71c6d7376204f816345a85d400aff49a732e3688\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\n[arm,arm64]: support for openmp\n\nCredits to Benzo ROM\n\nChange-Id: I399d0cc0e91bc72ac4077ea7a2501a25f35681ed\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nRemove pthread support.  OpenMP is much better. (1/2)\n\nChange-Id: I86827dc4806e8e5c39f5f673d31129fabdddd3ca\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nOpenMP: Add libs to C/CPP flags\n\nChange-Id: I56846e6b2c0da946eb0527e3083fc04956c4817f\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nRemove kernel.mk\n\nChange-Id: Ic68da487645ddc6d580c3e55a1388e597a2db298\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nDisable OpenMP for arm64 until the issues are resolved...\n\nChange-Id: I1447ca2269ef8c43efe33430c5f3faabb08d8a86\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\n[extra] Make -fsanitize=leak a C only flag\n\nChange-Id: I6981f51d9106af53eb0d54d298ff275d636a9562\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>\n\nMove sabermod related files to vendor/sm [2/2]\n\nChange-Id: I567005fe8797895eb257438af467d850c690edda\nSigned-off-by: Paul Beeler <pbeeler80@gmail.com>","distinct":true,"url":"https://api.github.com/repos/SaberOmni/android_build/commits/82007ef27d453530701c6584fa82cdc45603825f"}]}