From: "Leif Lindholm" <quic_llindhol@quicinc.com>
To: Michael D Kinney <michael.d.kinney@intel.com>, <devel@edk2.groups.io>
Cc: Andrew Fish <afish@apple.com>,
Liming Gao <gaoliming@byosoft.com.cn>,
Zhiguang Liu <zhiguang.liu@intel.com>,
Wei6 Xu <wei6.xu@intel.com>,
Saloni Kasbekar <saloni.kasbekar@intel.com>,
Zachary Clark-williams <zachary.clark-williams@intel.com>
Subject: Re: [edk2-devel] [edk2-stable202402][Patch 1/1] MdePkg: Add SynchronizationLib to MdeLibs.dsc.inc
Date: Wed, 7 Feb 2024 10:37:06 +0100 [thread overview]
Message-ID: <44ffdbe2-0f09-4a2e-8d24-7a38ee075226@quicinc.com> (raw)
In-Reply-To: <20240206183825.1020-1-michael.d.kinney@intel.com>
On 2024-02-06 18:38, Michael D Kinney wrote:
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4675
>
> Add library mapping for the SynchrnizationLib to MdeLibs.dsc.inc
Typo: SynchrnizationLib
> to resolve build failures in the FmpDevicePkg and NetworkPkg for
> missing library mapping.
>
> The following email details why this was missed by EDK II CI
>
> * https://edk2.groups.io/g/devel/message/115185
>
> Local builds of all packages that use -D CONTINUOUS_INTEGRATION
> were performed to verify that this change resolves the missing
> library mapping.
Hmm...
I agree with this as a patch for 202402
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
But I think this exposes a serious antipattern.
Have a look at the SecurityPkg.dsc for CONTINUOUS_INTEGRATION.
The only reason that doesn't break is because SynchronizationLib is
explicitly imported there (which we should really drop after this
addition, but not before the stable tag).
Meanwhile, that same exact CONTINUOUS_INTEGRATION stanza is duplicated
five times in that single file. There must be a better way of doing
this, after the stable tag.
/
Leif
> Cc: Andrew Fish <afish@apple.com>
> Cc: Leif Lindholm <quic_llindhol@quicinc.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Wei6 Xu <wei6.xu@intel.com>
> Cc: Saloni Kasbekar <saloni.kasbekar@intel.com>
> Cc: Zachary Clark-williams <zachary.clark-williams@intel.com>
> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
> ---
> MdePkg/MdeLibs.dsc.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/MdePkg/MdeLibs.dsc.inc b/MdePkg/MdeLibs.dsc.inc
> index deb35c1a185c..d782dbf4ffc6 100644
> --- a/MdePkg/MdeLibs.dsc.inc
> +++ b/MdePkg/MdeLibs.dsc.inc
> @@ -17,3 +17,4 @@ [LibraryClasses]
> CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
> SmmCpuRendezvousLib|MdePkg/Library/SmmCpuRendezvousLibNull/SmmCpuRendezvousLibNull.inf
> SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
> + SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115234): https://edk2.groups.io/g/devel/message/115234
Mute This Topic: https://groups.io/mt/104203786/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2024-02-07 9:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 18:38 [edk2-devel] [edk2-stable202402][Patch 1/1] MdePkg: Add SynchronizationLib to MdeLibs.dsc.inc Michael D Kinney
2024-02-06 18:41 ` Michael D Kinney
2024-02-07 9:37 ` Leif Lindholm [this message]
2024-02-07 19:01 ` Michael D Kinney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44ffdbe2-0f09-4a2e-8d24-7a38ee075226@quicinc.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox