[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how to reduce time of git pulling each time when you do a make world on Xen source


  • To: Patrick Scharrenberg <pittipatti@xxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Sat, 26 Feb 2011 22:16:21 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 26 Feb 2011 08:48:00 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vZqiOasxvaUilZsHR56ZBBXoUzgxwYFOtReu5plABavnpBf3bdJB/v9+s5fAGE8tmO Xgcge0xDYgw113HaKkeVElV1Ap1BQPF+O6EE/ugXrD2NoPz5oFer8YvcCsH0jXZwIlqD cIuFfYcvqPitAWDtqdPUZxx5yTujpmxasUYWg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Wow thanks I was looking for this information only.

On Sat, Feb 26, 2011 at 9:59 PM, Patrick Scharrenberg <pittipatti@xxxxxx> wrote:
> 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
>



-- 
http://mightydreams.blogspot.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.