Skip to content

Commit 383ddac

Browse files
committed
build-presets.ini: add wasm_stdlib,macos for at-desk development
There are no non-incremental presets currently available for macOS in `build-presets.ini`, and existing non-incremental presets only cross-compile to Wasm on Linux. Let's add one for macOS to make development on that platform easier.
1 parent e34eb33 commit 383ddac

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

utils/build-presets.ini

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3270,6 +3270,60 @@ install-swift-testing
32703270
install-swift-testing-macros
32713271
install-xctest
32723272

3273+
[preset: wasm_stdlib,macos]
3274+
3275+
mixin-preset=mixin_buildbot_install_components_with_clang
3276+
llbuild
3277+
swiftpm
3278+
swift-driver
3279+
swiftsyntax
3280+
skip-test-swiftpm
3281+
; swift-testing
3282+
; swift-testing-macros
3283+
3284+
release
3285+
build-ninja
3286+
3287+
build-embedded-stdlib-cross-compiling
3288+
3289+
# Don't build the benchmarks
3290+
skip-build-benchmarks
3291+
3292+
install-llvm
3293+
install-swift
3294+
install-llbuild
3295+
install-swiftpm
3296+
install-swift-driver
3297+
install-swiftsyntax
3298+
install-wasmkit
3299+
install-destdir=%(install_destdir)s
3300+
#
3301+
# Path where the compiler, the runtime and the standard libraries will be
3302+
# installed.
3303+
install-prefix=%(install_toolchain_dir)s/usr
3304+
3305+
# Executes the lit tests for the installable package that is created
3306+
# Assumes the swift-integration-tests repo is checked out
3307+
3308+
; test-installable-package
3309+
3310+
# If someone uses this for incremental builds, force reconfiguration.
3311+
reconfigure
3312+
3313+
# Path to the .tar.gz package we would create.
3314+
installable-package=%(installable_package)s
3315+
3316+
# Info.plist
3317+
darwin-toolchain-bundle-identifier=%(darwin_toolchain_bundle_identifier)s
3318+
darwin-toolchain-display-name=%(darwin_toolchain_display_name)s
3319+
darwin-toolchain-display-name-short=%(darwin_toolchain_display_name_short)s
3320+
darwin-toolchain-name=%(darwin_toolchain_xctoolchain_name)s
3321+
darwin-toolchain-version=%(darwin_toolchain_version)s
3322+
darwin-toolchain-alias=%(darwin_toolchain_alias)s
3323+
darwin-toolchain-require-use-os-runtime=0
3324+
3325+
build-subdir=wasm_stdlib
3326+
32733327
# For local use only. This allows quickly rebuilding and testing Wasm stdlib
32743328
# end-to-end without rebuilding the whole toolchain.
32753329
[preset: wasm_stdlib_incremental]
@@ -3301,6 +3355,7 @@ skip-build-swift
33013355
skip-early-swift-driver
33023356
skip-build-cmark
33033357
install-destdir=%(install_destdir)s
3358+
build-subdir=wasm_stdlib_incremental
33043359

33053360
[preset: wasm_stdlib_incremental,macos]
33063361

0 commit comments

Comments
 (0)