Skip to content

Align swift sdk configuration subcommand with proposal text#7535

Merged
MaxDesiatov merged 10 commits into
mainfrom
maxd/align-se-0387
May 8, 2024
Merged

Align swift sdk configuration subcommand with proposal text#7535
MaxDesiatov merged 10 commits into
mainfrom
maxd/align-se-0387

Conversation

@MaxDesiatov

@MaxDesiatov MaxDesiatov commented May 7, 2024

Copy link
Copy Markdown
Contributor

Per the proposal text:

swift sdk configure <identifier> <target-triple>, which allows users to provide additional search paths and toolsets to be used subsequently when building with a given Swift SDK. Specifically, multiple --swift-resources-path, --include-search-path, --library-search-path, and --toolset options with corresponding paths can be provided, which then will be stored as configuration for this Swift SDK. swift sdk configure <identifier> --show-configuration will print currently set paths, while swift sdk configure <identifier> --reset will reset all of those at once.

@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) May 7, 2024 21:13
@MaxDesiatov MaxDesiatov added the needs tests This change needs test coverage label May 7, 2024
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test linux

@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test windows

Per [the proposal text](https://github.com/apple/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md#swift-sdk-installation-and-configuration):

> swift sdk configure <identifier> <target-triple>`, which allows users to provide additional search paths and toolsets to be used subsequently when building with a given Swift SDK. Specifically, multiple `--swift-resources-path`, `--include-search-path`, `--library-search-path`, and `--toolset` options with corresponding paths can be provided, which then will be stored as configuration for this Swift SDK. `swift sdk configure <identifier> --show-configuration` will print currently set paths, while `swift sdk configure <identifier> --reset` will reset all of those at once.
@MaxDesiatov MaxDesiatov force-pushed the maxd/align-se-0387 branch from 95ccd14 to 46aec78 Compare May 8, 2024 15:13
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov removed the needs tests This change needs test coverage label May 8, 2024
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test windows

@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov requested review from xedin and removed request for xedin May 8, 2024 20:46
@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@MaxDesiatov

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov merged commit 4a6660a into main May 8, 2024
@MaxDesiatov MaxDesiatov deleted the maxd/align-se-0387 branch May 8, 2024 23:37
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…ang#7535)

Per [the proposal text](https://github.com/apple/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md#swift-sdk-installation-and-configuration):

> `swift sdk configure <identifier> <target-triple>`, which allows users to provide additional search paths and toolsets to be used subsequently when building with a given Swift SDK. Specifically, multiple `--swift-resources-path`, `--include-search-path`, `--library-search-path`, and `--toolset` options with corresponding paths can be provided, which then will be stored as configuration for this Swift SDK. `swift sdk configure <identifier> --show-configuration` will print currently set paths, while `swift sdk configure <identifier> --reset` will reset all of those at once.
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…ang#7535)

Per [the proposal text](https://github.com/apple/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md#swift-sdk-installation-and-configuration):

> `swift sdk configure <identifier> <target-triple>`, which allows users to provide additional search paths and toolsets to be used subsequently when building with a given Swift SDK. Specifically, multiple `--swift-resources-path`, `--include-search-path`, `--library-search-path`, and `--toolset` options with corresponding paths can be provided, which then will be stored as configuration for this Swift SDK. `swift sdk configure <identifier> --show-configuration` will print currently set paths, while `swift sdk configure <identifier> --reset` will reset all of those at once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants