Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace --ignore-if-missing with local file check #184

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

xtremekforever
Copy link
Contributor

@xtremekforever xtremekforever commented Feb 14, 2025

This fixes #138.

Tested this locally by building SDKs. It works for building the SDK for armv7 using my build artifacts:

swift run swift-sdk-generator make-linux-sdk --swift-version 6.0.3-RELEASE --host x86_64-unknown-linux-gnu --target armv7-unknown-linux-gnueabihf --target-swift-package-path ~/Downloads/swift-6.0.3-RELEASE-ubuntu-jammy-armv7-install

And also building an SDK for aarch64 using official swift.org artifacts:

swift run swift-sdk-generator make-linux-sdk --swift-version 6.0.3-RELEASE --host x86_64-unknown-linux-gnu --target aarch64-unknown-linux-gnu

@MaxDesiatov @euanh

 - optional is also a keyword
@MaxDesiatov
Copy link
Contributor

@swift-ci test

@MaxDesiatov MaxDesiatov changed the title Fix #138 by replacing --ignore-if-missing with local file check for optional paths in target swift package Replace --ignore-if-missing with local file check Feb 16, 2025
@MaxDesiatov
Copy link
Contributor

@swift-ci test

@MaxDesiatov MaxDesiatov requested a review from euanh February 16, 2025 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating an AmazonLinux2 Swift SDK fails
2 participants