From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bounce+27952+120973+7686176+12367111@groups.io>
Received: from mail05.groups.io (mail05.groups.io [45.79.224.7])
	by spool.mail.gandi.net (Postfix) with ESMTPS id D4166D81194
	for <rebecca@openfw.io>; Wed,  8 Jan 2025 16:02:07 +0000 (UTC)
DKIM-Signature: a=rsa-sha256; bh=MCfE9NO7hSyqgw/b7UHnxZGfhmNK3s+T9sH6+36hDsc=;
 c=relaxed/simple; d=groups.io;
 h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type;
 s=20240830; t=1736352127; v=1; x=1736611326;
 b=G/zbhBMDakTv5bJwY3eFbLMb8KM8utMYzFFlZ2nfX5Ht0Caq9yiftrC3pPNjHfyXkPvHFpV9
 +7H3SiWRFP9I+qhhuNdDYJMArGzNmj6hGanNnaLZI+GACTFBAbBJ+Cip12gDZPYVpbLyrN2J/ba
 lpLYQc0mPFhLNoe8Gt2xBi8YKcuAWN+TJbJhKL0XKBpRDGw9a/UeG6P6VuJ8TURe/o47mFR19rU
 TeGga/gt3yCMv53tX/EfTwusKgjsiEfRQ5FWl4Qk9fTXVSZ2E3HLYLVoHkMolxBGzoameeLVXzZ
 Jvevm++4cSyqHI2MSYcsOwUJmmAwIZm8wc40vps03Cp+g==
X-Received: by 127.0.0.2 with SMTP id AqkrYY7687511xGqSAJsGVeo; Wed, 08 Jan 2025 08:02:06 -0800
X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131])
 by mx.groups.io with SMTP id smtpd.web10.22896.1736352125582403857
 for <devel@edk2.groups.io>;
 Wed, 08 Jan 2025 08:02:05 -0800
X-Received: from pps.filterd (m0279863.ppops.net [127.0.0.1])
	by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 508BkjHZ007682
	for <devel@edk2.groups.io>; Wed, 8 Jan 2025 16:02:05 GMT
X-Received: from mail-yb1-f199.google.com (mail-yb1-f199.google.com [209.85.219.199])
	by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 441phg8yyb-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
	for <devel@edk2.groups.io>; Wed, 08 Jan 2025 16:02:05 +0000 (GMT)
X-Received: by mail-yb1-f199.google.com with SMTP id 3f1490d57ef6-e399d4ef55cso36998251276.2
        for <devel@edk2.groups.io>; Wed, 08 Jan 2025 08:02:05 -0800 (PST)
X-Gm-Message-State: WTYYKrXh1x1Jbehk6ndvcNptx7686176AA=
X-Gm-Gg: ASbGncuUqflbdSvMxlQWuRbnH5qY4o3ISyNKR3cn2FcX0knpAN0bLXEoKHIDSYA0qWB
	gc1aESNplLwQJipW0vdGkt0Rji7IPbUFsn5Yy1pzF8Izy3DOPlDizuPaNqFxrBXdfvr6ZRak=
X-Received: by 2002:a05:690c:998c:b0:6f4:6ad9:b1a with SMTP id 00721157ae682-6f531304814mr26124577b3.36.1736352123873;
        Wed, 08 Jan 2025 08:02:03 -0800 (PST)
X-Google-Smtp-Source: AGHT+IFpbHhF6mtlataR+7qDq2lzYcwlxNxIntcCmOodliFphxqMkk9o1uVebHNtvz/n/Ddc7dvupPy0p+WwSMYqrr8=
X-Received: by 2002:a05:690c:998c:b0:6f4:6ad9:b1a with SMTP id
 00721157ae682-6f531304814mr26124077b3.36.1736352123558; Wed, 08 Jan 2025
 08:02:03 -0800 (PST)
MIME-Version: 1.0
References: <CAD=n3R2V1_KGrZzDKqXSukiinmyqEJAL6TNSGGoEK48_RVm7dA@mail.gmail.com>
 <2nvp477n4ah4o4tlbw5h3a5tsrrzfbzfmdoeqw2cpmygxzsnhl@3swp7whktlfu>
In-Reply-To: <2nvp477n4ah4o4tlbw5h3a5tsrrzfbzfmdoeqw2cpmygxzsnhl@3swp7whktlfu>
From: "Leif Lindholm via groups.io" <leif.lindholm=oss.qualcomm.com@groups.io>
Date: Wed, 8 Jan 2025 16:01:52 +0000
X-Gm-Features: AbW1kvagQW2X0i5hSAbCE3AS_r0ruFa2XlwlkL1cKGrHfKtYCrSvypErJLfJyGQ
Message-ID: <CAD=n3R2fSm5byjdpBGZKHmZkVbPi6kw5S++eL3vuEMUz8=jsnQ@mail.gmail.com>
Subject: Re: [edk2-devel] Expansion of ARCH in .dsc files
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: devel@edk2.groups.io, Ajan Zhong <ajan.zhong@newfw.com>,
        Ard Biesheuvel <ardb+tianocore@kernel.org>,
        "Kinney, Michael D" <michael.d.kinney@intel.com>,
        Michael Kubacki <mikuback@linux.microsoft.com>
X-Proofpoint-GUID: e_PPu-rSYmvtxFTyTr50Ur1jqhIg0F00
X-Proofpoint-ORIG-GUID: e_PPu-rSYmvtxFTyTr50Ur1jqhIg0F00
Precedence: Bulk
List-Subscribe: <mailto:devel+subscribe@edk2.groups.io>
List-Help: <mailto:devel+help@edk2.groups.io>
Sender: devel@edk2.groups.io
List-Id: <devel.edk2.groups.io>
Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io
Resent-Date: Wed, 08 Jan 2025 08:02:05 -0800
Resent-From: leif.lindholm@oss.qualcomm.com
Reply-To: devel@edk2.groups.io,leif.lindholm@oss.qualcomm.com
List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Unsubscribe: <https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/plugh>
Content-Type: text/plain; charset="UTF-8"
X-GND-Status: LEGIT
Authentication-Results: spool.mail.gandi.net;
	dkim=pass header.d=groups.io header.s=20240830 header.b="G/zbhBMD";
	spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io;
	dmarc=pass (policy=none) header.from=groups.io

On Wed, 8 Jan 2025 at 15:01, Gerd Hoffmann <kraxel@redhat.com> wrote:
> > Because "the list of all architectures being built simultaneously"
> > simply isn't very useful information build-time.
>
> I think this is not intended for building all archs in simultaneously
> (even though that often works too), but for firmware images using code
> from multiple architectures.  That is (or used to be?) common in the x86
> world, where firmware can run the PEI phase in 32-bit mode (aka IA32)
> and the DXE phase in 64-bit mode (aka X64).
>
> See OvmfPkg/OvmfPkgIa32X64.dsc

Yes, indeed.
It feels like a bit of a hack introduced specifically for that
specific case (but not documented as such).

So, Ajan - I guess that means arguably the CI job should be reworked
to call the different arch builds independently. Then the problem
would go away even without the Defines.$ARCH change.

/
    Leif


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120973): https://edk2.groups.io/g/devel/message/120973
Mute This Topic: https://groups.io/mt/110483263/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-