Re: [android-building] Build duration of AOSP

2018-12-17 Thread SZ Lee
Thank you for the reply. 
Measured time is showed as seconds as you queried.
I also thought that the build system was not quite related with the build 
time but I wanted to have checking with other experts here.

Thanks.
SZ

2018년 12월 15일 토요일 오후 5시 25분 0초 UTC+9, Dan Willemsen 님의 말:
>
> I don't believe the Soong transition is directly causing the increase -- 
> in fact, as part of the transition we've enabled a number of optimizations. 
> In addition to a growing codebase, the build has gotten more complicated, 
> especially as Treble has been isolating the system and vendor partitions 
> (and Soong has enabled some of this).
>
> We expect most developers to be using incremental builds, which are far 
> more reliable than they were a few years ago. On our CI systems, I saw the 
> times roughly double between Lollipop and Pie, but incremental builds on 
> average are faster than the Lollipop builds were (HW upgrades make it 
> difficult to make comparisons over time though).
>
> Just interested, what are the units on the vertical axis? Seconds?
>
> - Dan
>
> On Fri, Dec 14, 2018 at 11:45 AM SZ Lee > 
> wrote:
>
>> Hi all
>>
>>
>> As the below picture shows the build time of aosp_arm64-eng on my build 
>> machine,
>>
>> the full build time of Android Pie becomes longer than those of previous 
>> versions.
>>
>> And latest master branch takes even longer time than pie release.
>>
>>
>> Could any one know the reason of the increase of the build time of aosp?
>>
>> Is it related with the build system change(make -> soong/bp) or is aosp 
>> getting complex with more features?
>>
>>
>>
>>
>> [image: buildtime.png]
>> Thanks
>>
>> SZ
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-buildi...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/android-building?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Building" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-buildi...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Re: Unable to build kernel. No clear error info in log

2018-12-17 Thread soham1
Have the same problem:

[ 13% 8664/62914] build /scratch/soham/android-x86/output/android-x86-source
> /target/product/x86/obj/kernel/arch/x86/boot/bzImage
> FAILED: /scratch/soham/android-x86/output/android-x86-source/target/
> product/x86/obj/kernel/arch/x86/boot/bzImage 
> /bin/bash -c "make -j16 -C kernel 
> O=/scratch/soham/android-x86/output/android-x86-source/target/product/x86/obj/kernel
>  
> ARCH=x86 CROSS_COMPILE=\" 
> /scratch/soham/android-x86/android-x86-source/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-\"
>  
>  bzImage modules"
> make: Entering directory 
> `/scratch/soham/android-x86/android-x86-source/kernel'
> make[1]: Entering directory `/research/quest/soham/android-x86-dummy/
> output/android-x86-source/target/product/x86/obj/kernel'
>   GEN ./Makefile
> scripts/kconfig/conf  --syncconfig Kconfig
>
>

On Tuesday, September 25, 2018 at 1:23:15 PM UTC-4, Tomasz Witke wrote:
>
> Hi,
>
> While building kernel, the compilation proces ends with error. I'm usure 
> what's a actual error message:
>
> [  0% 16/47250] build /Volumes/AOSP/out/target/product/x86/obj/kernel/arch
> /x86/boot/bzImage
>
> FAILED: /Volumes/AOSP/out/target/product/x86/obj/kernel/arch/x86/boot/
> bzImage 
>
> /bin/bash -c "make -j2 -j\$(sysctl -n hw.ncpu) -l\$((\$(sysctl -n 
> hw.ncpu)+2)) -C kernel O=/Volumes/AOSP/out/target/product/x86/obj/kernel 
> ARCH=x86 
> CROSS_COMPILE=\"/Volumes/AOSP/prebuilts/misc/darwin-x86/ccache/ccache 
> /Volumes/AOSP/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-\"
>  
>   bzImage modules"
>
>   CHK include/config/kernel.release
>
>   GEN ./Makefile
>
>   CHK include/generated/uapi/linux/version.h
>
>   CHK scripts/mod/devicetable-offsets.h
>
>   Using /Volumes/AOSP/kernel as source for kernel
>
>   CHK include/generated/utsrelease.h
>
>   CHK include/generated/timeconst.h
>
>   CHK include/generated/bounds.h
>
>   CHK include/generated/asm-offsets.h
>
>   CALL/Volumes/AOSP/kernel/scripts/checksyscalls.sh
>
>   CHK include/generated/compile.h
>
>   CHK kernel/config_data.h
>
> CFG80211 API is prefered for this kernel version
>
> Using CFG80211 API
>
>   RELOCS  arch/x86/boot/compressed/vmlinux.relocs
>
> empty (sub)expressionmake[3]: *** [arch/x86/boot/compressed/vmlinux.relocs
> ] Error 1
>
> make[2]: *** [arch/x86/boot/compressed/vmlinux] Error 2
>
> make[1]: *** [bzImage] Error 2
>
> make: *** [sub-make] Error 2
>
> make: INTERNAL: Exiting with 6 jobserver tokens available; should be 4!
>
> [  0% 17/47250] //art/compiler:libart-compiler clang++ 
> linker/x86/relative_patcher_x86.cc [darwin]
>
> ninja: build stopped: subcommand failed.
>
> 18:48:07 ninja failed with: exit status 1
>
>
>
>  failed to build some targets (03:29 (mm:ss)) 
>
> I'm building on macOS 10.14 with Xcode 10. I'm slowly (two weeks of trying 
> right now) collecting patches to compile AOSP on this build platform, which 
> I'll make public after successfull build. I'm trying to figure out 
> everything on my own. Please guide me what could be wrong this time, 
> because I'm in doubt.
>
> Thanks,
> Tom.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.