Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compilation speed for android build #179

Open
wants to merge 2 commits into
base: celadon/s/mr0/apollo
Choose a base branch
from

Commits on Jan 17, 2024

  1. Improve compilation speed for android build

    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 <[email protected]>
    Signed-off-by: Chen, Gang G <[email protected]>
    sgnanase authored and sysopenci committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    8423487 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Remove directory while compressing android images

    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 <[email protected]>
    GangSecurity committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    192055c View commit details
    Browse the repository at this point in the history