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

Please support building with the swift-6 "static linux sdk" #292

Open
2 tasks
marcelo-paredes opened this issue Oct 10, 2024 · 0 comments
Open
2 tasks

Please support building with the swift-6 "static linux sdk" #292

marcelo-paredes opened this issue Oct 10, 2024 · 0 comments
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@marcelo-paredes
Copy link

Describe the feature

In the context of aws-sdk-swift, swift build --swift-sdk aarch64-swift-linux-musl fails in this module because of including execinfo.h which is not available under musl.

Use Case

building a static executable using the aws-sdk-swift module under macOS or Linux that can be copied and executed in another linux machine without the need to carry dynamic libararies/shared objects with it.

Proposed Solution

detect support building with musl.

Other Information

I just cloned the repository to see if I could provide more information but when I tried to build it I get errors like

/home/marcelo/repo/aws-crt-swift/Source/AwsCommonRuntimeKit/CommonRuntimeKit.swift:1:8: error: no such module 'AwsCEventStream'
 1 | import AwsCEventStream
   |        `- error: no such module 'AwsCEventStream'
 2 | import AwsCAuth
 3 | 

so maybe there's something I'm not doing before executing swift build

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change
@marcelo-paredes marcelo-paredes added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant