summaryrefslogtreecommitdiff
path: root/scripts/build-all.py
AgeCommit message (Collapse)Author
2020-06-23scripts/build-all: remove pattern-based defconfig detectionBryan Huntsman
All the defconfigs we care about should be in arch/arm[64]/configs/vendor/ so remove the pattern-based detection logic. Change-Id: I1359db11caffb618d8fb44e02ea2c08efb4041fa Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2020-06-23scripts/build-all: look for nested vendor/ defconfig directoriesBryan Huntsman
Look for additional defconfigs in 'arch/arm[64]/configs/vendor/'. Change-Id: I13a1675d8563611eee17a02445e0329ff5f7a215 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2020-06-23scripts/build-all: remove all defconfig manipulation optionsBryan Huntsman
Simplifiy the script by removing all options and code for manipulating defconfigs. Change-Id: Ic8c583d501165501035c2c43b69e5b5c57b97fb0 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org> Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
2020-06-23scripts: build-all.py: update regex to compile all defconfigsJeevan Shriram
Update regex to populate all sdm*_defconfig and compile with build-all script. Change-Id: Ia4aa0f6b684b647b173f0ca18e6979fb0d957149 Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2020-06-23scripts: build-all.py: append llvm to the config fileSatya Durga Srinivasu Prabhala
To detect that the Kernel is being compiled with llvm, append llvm to the config file. Change-Id: Iba2f4f83f5ab091c7906dc66ad11cc88bcdfe2b9 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-06-23scripts: set clang as REAL_CC to support LLVM by defaultSatya Durga Srinivasu Prabhala
To support LLVM by default, set REAL_CC to clang which overrides gcc. Also, white list warnings which are being treated as errors while compiling Kernel with clang compiler. Change-Id: I5df2375cb8a2f424521fdd862d550ab340a34c98 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org> Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
2017-01-01scripts: build_all: build sdm defconfigsNeeraj Upadhyay
Add support for building new sdm defconfigs. Change-Id: I7d1ae9fb0a3888a92ee4df850061afe3d2e378c6 Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-03-23scripts: build-all: Fix the check_kernel for MSMRohit Vaswani
Update the check in the check_kernel function for newer kernel. Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2016-03-23scripts: Call out python2 explicitlyDavid Brown
Many systems these days have both python2 and python3 installed. The unversioned executable `python` may point to either version. Per https://www.python.org/dev/peps/pep-0394/ , scripts that need Python 2 should explicitly call this out in the shebang line. These build scripts are both specific to python 2, so call this out in the shebang line. Change-Id: I11f70c341e484254dc1679db65c2ed5ac61e510f Signed-off-by: David Brown <davidb@codeaurora.org>
2016-03-23scripts: build_all: stop building mdm targetsAbhimanyu Kapur
Stop building mdm based defconfigs until all kernel upgrade issues are resolved. Change-Id: I988ea872c70d5c6645d52ae9d8abc1e1fcb4ec16 Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
2016-03-23scripts: Restore some of the parallism in "all" buildsDavid Brown
The use of min/max should not have been switched, and instead of forcing at least "-j2" for builds, it is enforcing no more than two jobs in parallel. This has drastically reduced the parallelism of the builds. Change this to use "max" as intended so that we do make use of available CPUs, using at least two. Change-Id: Ifad0c98ef0ce56fc6c2368321a6cfd763e81b370 Signed-off-by: David Brown <davidb@codeaurora.org>
2016-03-23scripts: Reduce parallelism in "all" buildsDavid Brown
Kernel builds are a bit asymmetrical in as far as CPU and memory resources go. Compilation itself tends to scale fairly linearly in RAM usage per number of CPUs. However, the link phase tends to use a fairly constant large amount of RAM and generally only one CPU. The existing attempt to build more in parallel has mostly resulted in too many link steps running, which ends up swapping. Instead of dividing the CPUs by the number of targets, just divide it by two, and assume this will at least get us some compilation happening during the link phase of one target build. Change-Id: I0f8cac2d73600700d8ad6cb2a1b98e9529bb53a8 Signed-off-by: David Brown <davidb@codeaurora.org>
2016-03-23scripts: Add build-all.py kernel building utilityDavid Brown
A small script to make it easier to build and test all target configurations. Assumes the cross compiler is in the path, and builds all defconfigs matching certain patterns. Change-Id: Iffe265f417a32101cfc3b054eaf3c6d6a5784ca9 Signed-off-by: David Brown <davidb@codeaurora.org>