Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Enable multithreaded xz compression
Browse files Browse the repository at this point in the history
  • Loading branch information
socram8888 committed Apr 25, 2019
1 parent 488aab7 commit 2940dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-rom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ buildVariant() {
make WITHOUT_CHECK_API=true BUILD_NUMBER=$rom_fp installclean
make WITHOUT_CHECK_API=true BUILD_NUMBER=$rom_fp -j$jobs systemimage
make WITHOUT_CHECK_API=true BUILD_NUMBER=$rom_fp vndk-test-sepolicy
xz -c $OUT/system.img > release/$rom_fp/system-${2}.img.xz
xz -c $OUT/system.img -T$jobs > release/$rom_fp/system-${2}.img.xz
}

repo manifest -r > release/$rom_fp/manifest.xml
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ buildVariant() {
make BUILD_NUMBER=$rom_fp installclean
make BUILD_NUMBER=$rom_fp -j8 systemimage
make BUILD_NUMBER=$rom_fp vndk-test-sepolicy
xz -c $OUT/system.img > release/$rom_fp/system-${2}.img.xz
xz -c $OUT/system.img -T0 > release/$rom_fp/system-${2}.img.xz
}

repo manifest -r > release/$rom_fp/manifest.xml
Expand Down

0 comments on commit 2940dbb

Please sign in to comment.