WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] how to reduce time of git pulling each time when you do

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to reduce time of git pulling each time when you do a make world on Xen source
From: Patrick Scharrenberg <pittipatti@xxxxxx>
Date: Sat, 26 Feb 2011 17:29:15 +0100
Cc: Tapas Mishra <mightydreams@xxxxxxxxx>
Delivery-date: Sat, 26 Feb 2011 08:30:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik-uiYxD7asK-g42poJMqnWS77bwuOjW+5JooFk@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikn3kn59EHmiWWJujNsu3aqGtaKzLf-s8LZD0Af@xxxxxxxxxxxxxx> <201102261524.34974.patrick@xxxxxxxxxxxxxxxx> <AANLkTik-uiYxD7asK-g42poJMqnWS77bwuOjW+5JooFk@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.32-25-generic; KDE/4.6.0; x86_64; ; )
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