public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v5 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF
@ 2023-04-21 17:14 Rebecca Cran
  2023-04-21 17:14 ` [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains Rebecca Cran
                   ` (14 more replies)
  0 siblings, 15 replies; 26+ messages in thread
From: Rebecca Cran @ 2023-04-21 17:14 UTC (permalink / raw)
  To: devel, Liming Gao, Bob Feng, Yuwei Chen, Michael D Kinney,
	Michael Kubacki, Sean Brogan, Chasel Chiu, Nate DeSimone,
	Star Zeng, Andrew Fish
  Cc: Rebecca Cran, Ray Ni, Leif Lindholm, Zhiguang Liu, Jian J Wang,
	Xiaoyu Lu, Guomin Jiang, Gua Guo, Ard Biesheuvel, Pedro Falcato,
	Gerd Hoffmann, Marvin Häuser

Update the toolchain definitions:

- Delete the CLANG35 and CLANG38 toolchains, and replace CLANG38 with
  CLANGDWARF, updating it to support ARM and AARCH64 in addition to X64
and IA32.

- Mark GCC48, GCC49 and GCC5 as deprecated.

- Add GCC and GCCNOLTO toolchain definitions.

- Remove VS2008, VS2010, VS2012 and VS2013.

- Remove EBC compiler definitions. Full removal of EBC support from the
  various packages etc. will be done in a follow-up patch series.

- Remove unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS definitions.

- Remove unused CYGWIN_ definitions.

Personal GitHub PR: https://github.com/tianocore/edk2/pull/4240
GitHub branch: https://github.com/bcran/edk2/tree/clangdwarf

Note: CI is now passing.

Changes from v1 to v2
=====================

- Added a commit to delete GCC48 and GCC49, rename GCC5 to GCC and
  update the flags for other toolchains to work with the new GCC
  definitions.

- Bumped VERSION from 2.00 to 3.00 to inform users that they should
  update their Conf/tools_def.txt.

Changes from v2 to v3
=====================

- Keep GCC48, GCC49 and GCC5 but mark them deprecated, including with
  warnings at the start and end of running a build.

- Dropped the commit fixing the IA32 build of UefiPayloadPkg, because it
  causes CI to fail due to building both IA32 and X64 at the same time:

  "Module built under multiple ARCHs [IA32, X64]. Not able to determine which output to put into flash for Module..."

- Added more information to the VERSION section in tools_def.template.

- Various fixes to the CLANGDWARF flags.

Changes from v3 to v4
=====================

- Use lld for -a ARM -t CLANGDWARF.

Changes from v4 to v5
=====================

- Fixed CLANGDWARF on Windows when llvm is installed with the llvm.org
  installer and isn't installed in Visual Studio: use llvm-objcopy and the
  tools prefix.

- Added flags for GCCNOLTO to UnitTestFrameworkPkgHost.dsc.inc

- Added GCC flags to CryptoPkg/Library/OpensslLib/*.inf

Rebecca Cran (13):
  BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains
  BaseTools: Remove VS2008, 2010, 2012 and 2013 toolchain definitions
  BaseTools: Remove VS2008-VS2013 remnants
  MdePkg: Remove VS2008-VS2013 remnants
  edksetup.bat: Remove VS2008-VS2013 remnants
  BaseTools: Remove unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS defs
  BaseTools: Remove EBC (EFI Byte Code) compiler definitions
  BaseTools: Update VS toolchain descriptions in tools_def.txt.template
  BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains
  BaseTools: Only call LoadConfiguration once in build.py
  BaseTools: Add a deprecation warning for GCC48,GCC49,GCC5 to build.py
  BaseTools/Conf/tools_def.template: Add section for deprecated
    toolchains
  BaseTools/Conf/tools_def.template: Bump VERSION to 3.00

 UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc       |    4 ++++
 IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc                     |    9 ++++++++-
 CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf             |    3 +--
 CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf              |    3 +--
 CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf          |    3 +--
 CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf              |    3 +--
 CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf              |    3 +--
 CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf |    3 +--
 CryptoPkg/Library/OpensslLib/OpensslLib.inf                 |    4 ++--
 CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf            |    4 ++--
 CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf           |    4 ++--
 CryptoPkg/Library/OpensslLib/OpensslLibFull.inf             |    4 ++--
 CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf        |    5 +++--
 EmulatorPkg/Unix/Host/Host.inf                              |    2 ++
 MdePkg/Include/Ia32/ProcessorBind.h                         |    8 ++------
 MdePkg/Include/X64/ProcessorBind.h                          |    8 ++------
 BaseTools/Conf/tools_def.template                           | 1993
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------
 BaseTools/Scripts/SetVisualStudio.bat                       |   22 +---------------------
 BaseTools/Scripts/ShowEnvironment.bat                       |   44 --------------------------------------------
 BaseTools/Source/Python/build/build.py                      |   18 +++++++++++++++---
 BaseTools/get_vsvars.bat                                    |   13 -------------
 BaseTools/set_vsprefix_envs.bat                             |   64 ----------------------------------------------------------------
 BaseTools/toolsetup.bat                                     |   24 +-----------------------
 edksetup.bat                                                |    6 +-----
 24 files changed, 635 insertions(+), 1619 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-04-28  1:40 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 17:14 [PATCH v5 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF Rebecca Cran
2023-04-21 17:14 ` [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains Rebecca Cran
2023-04-24 11:28   ` Bob Feng
2023-04-24 13:33     ` Rebecca Cran
2023-04-21 17:14 ` [PATCH v5 02/13] BaseTools: Remove VS2008, 2010, 2012 and 2013 toolchain definitions Rebecca Cran
2023-04-21 17:14 ` [PATCH v5 03/13] BaseTools: Remove VS2008-VS2013 remnants Rebecca Cran
2023-04-21 17:14 ` [PATCH v5 04/13] MdePkg: " Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 05/13] edksetup.bat: " Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 06/13] BaseTools: Remove unused IPHONE_TOOLS and SOURCERY_CYGWIN_TOOLS defs Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 07/13] BaseTools: Remove EBC (EFI Byte Code) compiler definitions Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 08/13] BaseTools: Update VS toolchain descriptions in tools_def.txt.template Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 10/13] BaseTools: Only call LoadConfiguration once in build.py Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 11/13] BaseTools: Add a deprecation warning for GCC48,GCC49,GCC5 to build.py Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 12/13] BaseTools/Conf/tools_def.template: Add section for deprecated toolchains Rebecca Cran
2023-04-21 17:15 ` [PATCH v5 13/13] BaseTools/Conf/tools_def.template: Bump VERSION to 3.00 Rebecca Cran
2023-04-24  5:04 ` 回复: [PATCH v5 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF gaoliming
2023-04-24  6:14 ` Michael D Kinney
2023-04-24 18:13   ` Rebecca Cran
2023-04-25 13:10   ` [edk2-devel] " Rebecca Cran
2023-04-25 15:26     ` Michael D Kinney
2023-04-26 13:27       ` Rebecca Cran
2023-04-26 15:09         ` Michael D Kinney
2023-04-26 17:12           ` Rebecca Cran
2023-04-27 19:56           ` Michael D Kinney
2023-04-28  1:40             ` Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox