mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
.pytool/Plugin/HostUnitTestCompilerPlugin: Allow non VS20xx IA32
Allow IA32 builds of host-based unit tests for environments that support IA32. The VS20xx tool chains do not support IA32 due to limitations in the code coverage tool OpenCppCoverage. All other tool chains should be allowed to use IA32. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
8ca4de0982
commit
947bb30b1f
1 changed files with 4 additions and 0 deletions
|
|
@ -62,6 +62,10 @@ class HostUnitTestCompilerPlugin(ICiBuildPlugin):
|
|||
## change once IA32 issues resolved host.append("IA32")
|
||||
if GetHostInfo().bit == '64':
|
||||
host.append("X64")
|
||||
# VS20xx IA32 builds have known issues using OpenCppCoverage
|
||||
# Only enable IA32 builds on 64bit hosts when using clang or gcc
|
||||
if not environment.GetValue("TOOL_CHAIN_TAG").startswith('VS'):
|
||||
host.append("IA32")
|
||||
elif GetHostInfo().arch == 'ARM':
|
||||
if GetHostInfo().bit == '64':
|
||||
host.append("AARCH64")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue