You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.
I thought one obvious reason to specify those was to provide toolset executables for multiple hosts, but there doesn't appear to be any way to specify the different hosts in swift-sdk.json or the toolset files.
For example, if I want to specify a different cCompiler in the toolset for linux x86_64, I can configure that. However, if the same Swift SDK bundle is used on linux AArch64 or macOS x86_64, there doesn't appear to be a way to specify alternate paths for those executables also.
@MaxDesiatov, an oversight in the Swift SDK bundle spec?
Expected behavior
The doc to provide a way to specify multiple host-platform-specific executables in a Swift SDK bundle
Actual behavior
I see no info on this.
Steps to reproduce
Not implemented
Swift Package Manager version/commit hash
All
Swift & OS version (output of swift --version ; uname -a)
All
The text was updated successfully, but these errors were encountered:
MaxDesiatov
changed the title
SDK bundle: no way to pass different toolset paths based on host supportedTriples?
Swift SDK bundle: no way to pass different toolset paths based on host supportedTriples?
Oct 15, 2024
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
The Swift SDK Bundle spec provides a way to specify the host triples supported in
info.json
, but then doesn't seem to use that info anywhere.I thought one obvious reason to specify those was to provide toolset executables for multiple hosts, but there doesn't appear to be any way to specify the different hosts in
swift-sdk.json
or the toolset files.For example, if I want to specify a different
cCompiler
in the toolset for linux x86_64, I can configure that. However, if the same Swift SDK bundle is used on linux AArch64 or macOS x86_64, there doesn't appear to be a way to specify alternate paths for those executables also.@MaxDesiatov, an oversight in the Swift SDK bundle spec?
Expected behavior
The doc to provide a way to specify multiple host-platform-specific executables in a Swift SDK bundle
Actual behavior
I see no info on this.
Steps to reproduce
Not implemented
Swift Package Manager version/commit hash
All
Swift & OS version (output of
swift --version ; uname -a
)All
The text was updated successfully, but these errors were encountered: