Skip to content

Commit 39cf29b

Browse files
authored
preset: build with no assertion for swiftpm on linux (#81217)
To work around #81144, build the Swift PM linux pseudo-toolchain without assertion <!-- If this pull request is targeting a release branch, please fill out the following form: https://github.com/swiftlang/.github/blob/main/PULL_REQUEST_TEMPLATE/release.md?plain=1 Otherwise, replace this comment with a description of your changes and rationale. Provide links to external references/discussions if appropriate. If this pull request resolves any GitHub issues, link them like so: Resolves <link to issue>, resolves <link to another issue>. For more information about linking a pull request to an issue, see: https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue --> <!-- Before merging this pull request, you must run the Swift continuous integration tests. For information about triggering CI builds via @swift-ci, see: https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md#swift-ci Thank you for your contribution to Swift! -->
1 parent cc11a9b commit 39cf29b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/build-presets.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,7 +1945,9 @@ mixin-preset=mixin_swiftpm_linux_platform
19451945

19461946
# Build Release without debug info, because it is faster to build.
19471947
release
1948+
# work around https://github.com/swiftlang/swift/issues/81144
19481949
assertions
1950+
no-swift-stdlib-assertions
19491951

19501952
# Downstream projects that import llbuild+SwiftPM.
19511953
sourcekit-lsp
@@ -1957,6 +1959,7 @@ skip-test-toolchain-benchmarks
19571959

19581960
skip-test-llbuild
19591961

1962+
19601963
#===------------------------------------------------------------------------===#
19611964
# Test llbuild on macOS builder
19621965
#===------------------------------------------------------------------------===#

0 commit comments

Comments
 (0)