Android

Safer, smarter, more powerful & sweeter than ever.

メモ

ビルドベンチマーク奴

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_google_marlin" path="device/google/marlin" />
  <project name="LineageOS/android_kernel_google_marlin" path="kernel/google/marlin" />

  <project name="LineageOS/android_device_qcom_common" path="device/qcom/common" />
  <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" />

  <project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" />
  <project name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" />

  <project name="TheMuppets/proprietary_vendor_google" path="vendor/google" />
</manifest>

スペック

part id spec manufacturer
CPU Core i7-2600K 3.40GHz, 4C/8T Intel
RAM W3U1600PS-8G 32GB (8GBx4), DDR3-1600 Panram
SSD0 TS512GSSD370S 512GB, SATA3(6Gbps) Transcend
SSD1 MZ-75E500B 500GB, SATA3 (6Gbps) Samsung
  • ビルド用のディレクトリは SSD1 に作ってるけど、 /tmp はブート用のSSD0を指してるかも。
export CCACHE_DIR=/ssd1/ccache
export USE_CCACHE=1
prebuilts/misc/linux-x86/ccache/ccache -M 30G

結果

  • 初回(ccacheは有効にしたけど空)
  • 2回目、ccache有り(初回のキャッシュが効く)