Improve compilation speed for android build#179
Open
GangSecurity wants to merge 2 commits intoprojectceladon:celadon/s/mr0/apollofrom
Open
Improve compilation speed for android build#179GangSecurity wants to merge 2 commits intoprojectceladon:celadon/s/mr0/apollofrom
GangSecurity wants to merge 2 commits intoprojectceladon:celadon/s/mr0/apollofrom
Conversation
JeevakaPrabu
approved these changes
Jan 17, 2024
Currently FFTF python script is used for creating flashfiles.zip. It uses ZipWrite python api which is time consuming and adds overhead to build time. Say, flash.json generation, unpacking of target files, installer.cmd generation, etc. This fix helps to optimize build time and involves below changes: - Use tar + pigz combo for faster flashfiles generation. - Make FFTF a bash script as python doesn't directly support tar + pigz - Add use_tar=true flag to "make flashfiles" to enable it. e,g, "make flashfiles -j<N> use_tar=true" - The new script still supports all old functionalities, say, generation of installer.cmd, flash.json, repacking of bootloader.img, etc. Tracked-On: OAM-112083 Signed-off-by: sgnanase <sundar.gnanasekaran@intel.com> Signed-off-by: Chen, Gang G <gang.g.chen@intel.com>
directory is not required in final release packages Test done: make flashfiles use_tar=true uzip flashfile.tar.gz and iso.tar.gz, no directory in extracted files Tracked-On: OAM-115260 Signed-off-by: Chen, Gang G <gang.g.chen@intel.com>
2c201f9 to
192055c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently FFTF python script is used for creating flashfiles.zip. It uses ZipWrite python api which is time consuming and adds overhead to build time. Say, flash.json generation, unpacking of target files, installer.cmd generation, etc.
This fix helps to optimize build time and involves below changes:
Tracked-On: OAM-112083