Skip to content

Bug: PreferredToolArchitecture x64 should default, not override, conditionally for x86 #1302

@Scottj1s

Description

@Scottj1s

Version

No response

Summary

PreferredToolArchitecture is currently set to x64 to address out of memory issues due to large PCH files, when targeting x86. Using the x64 toolchain to cross compile for x86 allows much larger memory use and reduces these OOMs. This is a problem for ARM/ARM64 builds, causing underbuilds. These architectures should use their own native toolchains. PreferredToolArchitecture should be set to x64 for x86 only as a conditional default.

Reproducible example

No response

Expected behavior

No response

Actual behavior

No response

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions