-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add support for cross-compiling Swift stdlib with an external sysroot #79090
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
Closed
xtremekforever
wants to merge
21
commits into
swiftlang:main
from
xtremekforever:#78960-swift-stdlib-cross-compile
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7af4661
Set system processor in Libdispatch.cmake for LINUX sdks
xtremekforever f7f3004
Add ability to compile Swift stdlib with external sysroot
xtremekforever f6f70e1
Add cross-compile-sysroot option to build scripts
xtremekforever 15826c4
Only include CROSS_COMPILE_SYSROOT if cross-compiling
xtremekforever 47403ae
Use lld in product.py if cross_compile_sysroot is used
xtremekforever 726cb18
Use cross_compile_sysroot in get_linux_sysroot if set
xtremekforever a31141d
Fix linting issues
xtremekforever 07f3af1
Merge pull request #78909 from xtremekforever/#75341-fix-swift-build-…
MaxDesiatov d7ee7c8
Find gcc-install-dir in CROSS_COMPILE_SYSROOT for better locating of …
xtremekforever b7d4eef
Open up cross-compilation to all linux- hosts
xtremekforever c045204
Fix tests for llvm_linux_cross_compile support, add more tests
xtremekforever a7d188e
Merge branch 'main' into #78960-swift-stdlib-cross-compile
xtremekforever 47c0498
Find --gcc-install-dir in usr directory of sysroot
xtremekforever 91cad22
Rename cross-compile-sysroot -> cross-compile-sysroots and update wor…
xtremekforever 5bbda49
Remove redundant case for linux-static-*, remove extra whitespace
xtremekforever 3fc1838
Remove --gcc-install-dir and --gcc-toolchain code when using external…
xtremekforever e205a48
Restore original code for setting SWIFT_SDK_LINUX_ARCH_${arch}_TRIPLE…
xtremekforever f046aad
Add SWIFT_ prefix to CROSS_COMPILE_SYSROOTS when passed to Swift cmak…
xtremekforever 6448729
Implement new SWIFT_LIBDISPATCH_C_FLAGS and SWIFT_LIBDISPATCH_CXX_FLA…
xtremekforever c1fb6cb
Update wording for cross-compile-sysroots option
xtremekforever 724757d
Merge branch 'main' into #78960-swift-stdlib-cross-compile
xtremekforever File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.