swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.57k stars 10.35k forks source link

Prevent x86 builds on x64 targets #75636

Open compnerd opened 3 months ago

compnerd commented 3 months ago

Motivation

When building the SDK for x86_64-unknown-windows-msvc, we are building i686-unknown-windows-msvc modules for embedded systems.

Proposed solution

We should build the i686 variants only for i686-unknown-windows-msvc variants.

Alternatives considered

No response

Additional information

No response

compnerd commented 3 months ago

CC: @kubamracek @etcwilde @shahmishal

compnerd commented 3 months ago

This currently increases build times in CI as we end up building unnecessary copies of this target.