|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] how to reduce time of git pulling each time when you do
You can take a look into the Makefile:
there you'll find e.g.:
world:
$(MAKE) clean
$(MAKE) kdelete
$(MAKE) dist
so what a "make world" does is
make clean
make kdelete
and finally
make dist
so if you solely do a "make dist" the build process skips the deletition of
the compiled binary objects (make clean) and skips deleting your checked out
kernel tree (make kdelete)
so a "make dist" after an upgraded working copy (hg pull -u) only compiles the
files which have changed, which saves time.
Please have a look at the Makefile, do a "make help" and take a look at the
README file for further information.
Patrick
> What is the difference between
> make world
> make dist
> make xen ?
>
> On Sat, Feb 26, 2011 at 7:54 PM, Patrick Scharrenberg
>
> <patrick@xxxxxxxxxxxxxxxx> wrote:
> > Maybe "make dist" is what you are looking for?
> >
> > it builds whole xen into a directory "dist" where you will find an
> > "install.sh" for installing xen.
> >
> > Patrick
> >
> >> I am compiling xen from source and each time I do a `make world`
> >> it basically gives some or the other error
> >> my problem are not those errors ( I am trying to debug them)
> >> but the problem is each time when I do a `make world`
> >>
> >> Xen basically pulls things from git repository
> >>
> >> + rm -rf linux-2.6-pvops.git linux-2.6-pvops.git.tmp
> >> + mkdir linux-2.6-pvops.git.tmp
> >> + rmdir linux-2.6-pvops.git.tmp
> >> + git clone -o xen -n
> >> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git
> >> linux-2.6-pvops.git.tmp
> >> Initialized empty Git repository in
> >> /usr/src/xen-4.0.1/linux-2.6-pvops.git.tmp/.git/
> >> remote: Counting objects: 1941611, done.
> >> remote: Compressing objects: 100% (319127/319127), done.
> >> remote: Total 1941611 (delta 1614302), reused 1930655 (delta 1604595)
> >> **Receiving objects: 20% (1941611/1941611), 98.17 MiB | 87 KiB/s,
> >> done.**
> >>
> >>
> >> and if you notice the last line it is still consuming my bandwidth
> >> pulling things from internet.How can I stop this step each time and
> >> use existing git repository?
> >>
> >> --
>
> --
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|