Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Swift Toolchain Preset that I uses
[preset: HikariSwift]
ios
tvos
watchos
lldb
llbuild
swiftpm
playgroundsupport
# Build with debug info, this allows us to symbolicate crashes from
# production builds.
release
compiler-vendor=apple
dash-dash
lldb-no-debugserver
lldb-use-system-debugserver
lldb-build-type=Release
verbose-build
build-ninja
build-swift-static-stdlib
build-swift-static-sdk-overlay
build-swift-stdlib-unittest-extra
playgroundsupport-build-type=Release
skip-test-ios-host
skip-test-tvos-host
skip-test-watchos-host
skip-test-ios
skip-test-tvos
skip-test-watchos
skip-test-osx
skip-test-cmark
skip-test-lldb
skip-test-swift
skip-test-llbuild
skip-test-swiftpm
skip-test-xctest
skip-test-foundation
skip-test-libdispatch
skip-test-playgroundsupport
skip-test-libicu
install-swift
install-lldb
install-llbuild
install-swiftpm
install-playgroundsupport
install-destdir=%(install_destdir)s
darwin-install-extract-symbols
# Path where debug symbols will be installed.
install-symroot=%(install_symroot)s
# Path where the compiler, the runtime and the standard libraries will be
# installed.
install-prefix=%(install_toolchain_dir)s/usr
# Executes the lit tests for the installable package that is created
# Assumes the swift-integration-tests repo is checked out
test-installable-package
# If someone uses this for incremental builds, force reconfiguration.
reconfigure
swift-install-components=compiler;clang-builtin-headers;stdlib;swift-syntax;sdk-overlay;license;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror-headers
llvm-install-components=libclang;libclang-headers
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
# Path to the .tar.gz symbols package
symbols-package=%(symbols_package)s
# Info.plist
darwin-toolchain-bundle-identifier=%(darwin_toolchain_bundle_identifier)s
darwin-toolchain-display-name=%(darwin_toolchain_display_name)s
darwin-toolchain-display-name-short=%(darwin_toolchain_display_name_short)s
darwin-toolchain-name=%(darwin_toolchain_xctoolchain_name)s
darwin-toolchain-version=%(darwin_toolchain_version)s
darwin-toolchain-alias=%(darwin_toolchain_alias)s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.