Skip to content

Preliminary Linux-OpenBSD cross-compile support. #60823

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

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

3405691582
Copy link
Member

@3405691582 3405691582 commented Aug 28, 2022

With a properly prepared sysroot and toolchain file, these changes permit
cross-compilation of Swift as well as LLVM, CMark, and Dispatch (picking,
as usual, swiftlang/swift-corelibs-libdispatch#556) from a Linux host
generating OpenBSD binaries.

The toolchain file must be specified as an environment variable to
build-script and discussion on how to properly set up the sysroot and
toolchain file will be handled later.

With a properly prepared sysroot and toolchain file, these changes permit
cross-compilation of Swift as well as LLVM, CMark, and Dispatch (picking,
as usual, swiftlang/swift-corelibs-libdispatch#556) from a Linux host
generating OpenBSD binaries.

The toolchain file must be specified as an environment variable to
`build-script` and discussion on how to properly set up the sysroot and
toolchain file will be handled later.
@kateinoigakukun
Copy link
Member

@swift-ci Please smoke test

@compnerd
Copy link
Member

CC: @etcwilde

Co-authored-by: Saleem Abdulrasool <[email protected]>
@compnerd
Copy link
Member

@swift-ci please smoke test

@compnerd compnerd merged commit 1eb294d into swiftlang:main Aug 31, 2022
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.

3 participants