From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA705C433F5 for ; Thu, 4 Nov 2021 16:35:07 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7189961213 for ; Thu, 4 Nov 2021 16:35:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7189961213 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.221747.383607 (Exim 4.92) (envelope-from ) id 1mifhW-0006Kw-8Y; Thu, 04 Nov 2021 16:34:54 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 221747.383607; Thu, 04 Nov 2021 16:34:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mifhW-0006Kp-5a; Thu, 04 Nov 2021 16:34:54 +0000 Received: by outflank-mailman (input) for mailman id 221747; Thu, 04 Nov 2021 16:34:53 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mifhU-0006Kh-St for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 16:34:52 +0000 Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 212f1e32-3d8d-11ec-9787-a32c541c8605; Thu, 04 Nov 2021 17:34:51 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 212f1e32-3d8d-11ec-9787-a32c541c8605 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1636043691; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=sIiHA2DT0X+lF9plIQCW1ff7vReUXq9RTxSmnPMpEYk=; b=ZZVfSdrqtlXwRqaGn63KTpAJFvNcB1CS3y4xUVbo45K0KI67n08RJtz7 ALKPR5NJfPhi66mYxqZQKbyH/Qv8QmvDlxOml+11Haf3jmlyGSiQW1nz1 YuO2Fq51UNy+uW4ANSlYYsEWkY7xA8Su6diFo2xHQ/KtxGLmooldHc/nT M=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: Q+XJI9wdNLIj148Q7AjLHyTgOVp1XL789t9Y5BN1Bk6u6cgeHcikVqdHT4fOfTWCTy70ZsnMBO ALPuVPqQLrjgqYoWcR3JQqUeKcQT94FOlMw7Jb/duX0ujqdGn+8E1vEq8rGKdvC9XnpMkbGf11 RNfU33UwLFPkPLC/GTefjkj9I+N2CmFNIsXopK1KT84pllCKB2IobDRyxGBWIeozvtn0iwxWFU wLJfzLOspDyb0GywIkIpIOB+0N02m1ao/IX5O9soM7+EqFdTcKp+hydC0PYk2o7r8evra1WcsR rqth1ApE5lfLYlB5oA61tG5b X-SBRS: 5.1 X-MesageID: 56630957 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.83 X-Policy: $RELAYED IronPort-Data: A9a23:az+to6mEGKpheC+s68wW0zLo5gykI0RdPkR7XQ2eYbSJt1+Wr1Gzt xIWUDqPPf/YZzSnf9p0YYvn8kgEucPdy99mHQtkqn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A9a23:1u8FxayjkUUJsUURfG/GKrPwFL1zdoMgy1knxilNoRw8SK2lfu SV7ZMmPHjP+VAssRAb6LS90ca7LU80maQb3WBVB8baYOCEghrMEGgB1/qA/9SIIUSXnYQx6U 4jSdkdNDSZNykDsS+Q2mmF+rgbruW6zA== X-IronPort-AV: E=Sophos;i="5.87,209,1631592000"; d="scan'208";a="56630957" Date: Thu, 4 Nov 2021 16:34:41 +0000 From: Anthony PERARD To: Alex =?iso-8859-1?Q?Benn=E9e?= CC: Roger Pau =?iso-8859-1?Q?Monn=E9?= , Kevin Tian , George Dunlap , Ian Jackson , Connor Davis , Bob Eshleman , Alistair Francis , "Tim Deegan" , Jun Nakajima , Tamas K Lengyel , Doug Goldstein , Jan Beulich , Konrad Rzeszutek Wilk , "Julien Grall" , Alexandru Isaila , "Stefano Stabellini" , Ross Lagerwall , Petre Pircalabu , Paul Durrant , Daniel De Graaf , "Daniel P. Smith" , Volodymyr Babchuk , Wei Liu , Andrew Cooper , Lukasz Hawrylko , Subject: Re: [XEN PATCH v7 00/51] xen: Build system improvements, now with out-of-tree build! Message-ID: References: <20210824105038.1257926-1-anthony.perard@citrix.com> <871r3vkiok.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871r3vkiok.fsf@linaro.org> On Thu, Nov 04, 2021 at 03:49:36PM +0000, Alex Bennée wrote: > > Anthony PERARD writes: > > > Patch series available in this git branch: > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fxenbits.xen.org%2Fgit-http%2Fpeople%2Faperard%2Fxen-unstable.git&data=04%7C01%7Canthony.perard%40citrix.com%7C85bb0d32a72542aa9f6108d99fad9607%7C335836de42ef43a2b145348c2ee9ca5b%7C0%7C0%7C637716390172120458%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WWS4yPu9%2BJxBkBiM5SBrH7kDtHkUzMGuKSSdPcgEYII%3D&reserved=0 br.build-system-xen-v7 > > > > v7: > > Out-of-tree build! > > > > This mean many more patches. Everything after patch 27 is new. > > > > There's a few new patch before that, but otherwise are rework of > > v6. > > This is something I've been looking forward to but obviously my QEMU > focused mind meant I did it wrong. Generally I create a builds subdir in > my tree with subdirs for each build flavour. So with: > > /home/alex/lsrc/xen/xen.git/builds/native > > And executing: > > ➜ ../../configure Thanks for testing, but the patch series only focus on a subset of the repository, that is the hypervisor "xen.git/xen/". The rest of xen.git isn't ready for out-of-tree build unfortunately. A lot more work is needed. > In "build: adding out-of-tree support to the xen build" you describe the > Linux kernel style which works well where the config can be done after > the fact but I wonder if the configure approach is better suited to > something that needs a bunch of checks running. Is the configure script > pure autoconf? This should work out of the box IIRC. "xen.git/xen/" does use a build system similar to Linux's, we use Linux's Kconfig for example. For the rest of the repository, it is indeed autoconf for the configuration phase. So yes running ./configure would be mostly ok, but it doesn't take care of Makefiles at the moment and I found one bug in our autoconf macros. Beyond that, our Makefiles aren't ready. xen.git isn't a single build system, they are several (at least one foreach of xen/ stubdom/ tools/) Cheers, -- Anthony PERARD