The AOSP master source tree is >100GB on disk (though likely less due to
compression when downloading via git). You do need the full tree in order
to run a build.

If you aren't using it, the `--partial-clone` option to `repo init` can
help reduce the amount you need to download at first, though it does mean
that some git operations will need network access to fetch missing objects
on demand. If you don't care about the history, an alternative to that is
`--depth=1` (there can be issues around updating a tree that's created like
that, so in general I don't suggest it)

- Dan

On Thu, Apr 13, 2023 at 10:44 AM Artin Kennedy <artin.kennedy...@gmail.com>
wrote:

>  Hi all,
> I am new in android. I want to use from m and mm macros. After googling I
> found that must  execute envsetup.sh.
>
> This is my main challenge.
>
> before getting build aosp, I get manifest with repo.  when runing "repo
> sync" after 6 hours, has downloaded 50G data and not stop downloading! Is
> it reasonable?
>
> How can I execute build/envsetup.sh?
>
> --
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/562bdfc7-0f9f-4ebd-9766-98125e7c6f40n%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/562bdfc7-0f9f-4ebd-9766-98125e7c6f40n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdmFNX%2BGEQz_Uk0EbdXcj-%3D_MKLWDyh%3DpPFHJbO5WDaivg%40mail.gmail.com.

Reply via email to