Skip to content

[Preset] Add linux crosscompile wasm preset #39183

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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions utils/build-presets.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,15 @@ mixin-preset=buildbot_incremental_linux,long_test
indexstore-db=0
sourcekit-lsp=0

# TODO: This does not build stdlib for wasm32 for now.
# Enable stdlib cross-compile after build-script will support it.
[preset: buildbot_incremental_linux_crosscompile_wasm]
mixin-preset=buildbot_incremental_linux_base
llvm-targets-to-build=X86;ARM;AArch64;WebAssembly
# Ensure single-thread-mode is not broken because it's used
# by stdlib for wasm32 in SwiftWasm fork.
swift-stdlib-single-threaded-runtime=1

#===------------------------------------------------------------------------===#
# OS X Package Builders
#===------------------------------------------------------------------------===#
Expand Down