File tree 2 files changed +32
-0
lines changed 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -2026,3 +2026,34 @@ debug-foundation
2026
2026
2027
2027
[preset: buildbot_linux,foundation=release]
2028
2028
mixin-preset =buildbot_linux
2029
+
2030
+ # ===------------------------------------------------------------------------===#
2031
+ # Standalone Stdlib
2032
+ # ===------------------------------------------------------------------------===#
2033
+
2034
+ [preset: stdlib_RA,standalone,notest]
2035
+ release
2036
+ assertions
2037
+
2038
+ # We do not want to build llvm, cmark, or benchmarks. We will still build a
2039
+ # small part of llvm and configure both llvm/cmark.
2040
+ skip-build-llvm
2041
+ skip-build-cmark
2042
+ skip-build-benchmarks
2043
+
2044
+ # Then we inject two cmake arguments that cause us not to build tools and to
2045
+ # assume we are working with the host compiler.
2046
+ extra-cmake-options =-DSWIFT_INCLUDE_TOOLS =NO -DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER =YES
2047
+
2048
+ # Then set the paths to our native tools. If compiling against a toolchain,
2049
+ # these should all be the ./usr/bin directory.
2050
+ native-swift-tools-path =%(toolchain_path)s
2051
+ native-llvm-tools-path =%(toolchain_path)s
2052
+ native-clang-tools-path =%(toolchain_path)s
2053
+
2054
+ [preset: stdlib_RA,standalone]
2055
+ mixin-preset =stdlib_RA,standalone,notest
2056
+
2057
+ test
2058
+ validation-test
2059
+ only-executable-test
Original file line number Diff line number Diff line change 42
42
'symbols_package' : '/path/to/symbols/package' ,
43
43
'ndk_path' : '/path/to/ndk' ,
44
44
'arm_dir' : '/path/to/arm' ,
45
+ 'toolchain_path' : '/tmp/toolchain' ,
45
46
}
46
47
47
48
SAMPLE_PRESET = """
You can’t perform that action at this time.
0 commit comments