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-devel

Re: [Xen-devel] How to minimize the compilation time of the XEN code

To: "Wen.Tian" <tyd126723@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How to minimize the compilation time of the XEN code
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 01 Sep 2009 10:41:19 +0100
Cc:
Delivery-date: Tue, 01 Sep 2009 02:41:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <00ec01ca2adb$ca8293c0$5a9a460a@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acoq3Alyfoy9UDoPQ6uN+PjdHBtZUgADFIXt
Thread-topic: [Xen-devel] How to minimize the compilation time of the XEN code
User-agent: Microsoft-Entourage/12.20.0.090605
On 01/09/2009 09:11, "Wen.Tian" <tyd126723@xxxxxxxxxx> wrote:

> During my xen development, sometimes I modify just the xen code, and sometimes
> just the domain0 code, or sometime both.
>  
> For the just xen code modification case, I tested in my machine and it took
> about 15 minutes.(My cpu is intel dual 1.6GHZ and I run the compile through
> the make dist command on the vmware on the windows XP platform). It's a too
> long waiting time for me............
>  
> Is there any optimized option avaiable on the "make" command then it will cost
> least time in the above 3 case respectively?  (I always use the "make dist"
> now).

You can use the -j option to make to build in parallel, which speeds things
up quite a bit. Also there are build targets 'xen' and e.g.,
'linux-2.6-xen0-build' to build Xen and a 2.6.18 dom0, respectively.
E.g., 'make -j8 xen', 'make -j8 linux-2.6-xen0-build'

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>