Skip to content

preset: build with no assertion for swiftpm on linux #81217

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

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Apr 30, 2025

To work around #81144, build the Swift PM linux pseudo-toolchain without assertion

@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 30, 2025

@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

@swift-ci smoke test macos

@bkhouri bkhouri marked this pull request as ready for review May 1, 2025 11:52
@bkhouri bkhouri enabled auto-merge (squash) May 1, 2025 11:55
To work around swiftlang#81144, do not
build swift with assertions for the SwiftPM on linux.
@bkhouri bkhouri force-pushed the t/main/swiftpm_no-assertion-on-linux branch from 985cef5 to 3c363d5 Compare May 1, 2025 15:15
@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

#81217

@swift-ci smoke test

@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

#81217

@swift-ci smoke test macOS

@bnbarham
Copy link
Contributor

bnbarham commented May 1, 2025

It's not really clear to me that we want to do this 🤔 We should fix the underlying bug, I'm surprised we don't have any failing jobs for this (unless we do?)

@bkhouri
Copy link
Contributor Author

bkhouri commented May 1, 2025

This is currently blocking SwiftPM from converting tests to Swift Testing. I completely agree we should fix the root cause, and #81144 was open to track this.

But to unblock us, we opted to not build swift with assertions as the released toolchains are not.

@bkhouri bkhouri requested a review from etcwilde May 1, 2025 22:51
@bkhouri
Copy link
Contributor Author

bkhouri commented May 2, 2025

#81217

@swift-ci smoke test macOS

@bkhouri bkhouri merged commit 39cf29b into swiftlang:main May 2, 2025
3 checks passed
bkhouri added a commit to swiftlang/swift-package-manager that referenced this pull request May 2, 2025
…g) (#8450)

Convert posted test from XCTest to Swift Testing, while updating to
ensuring we mark the tests that currently fail on windows.

Tests/BasicsTests/FileSystem/FileSystemTests.swift
Tests/BasicsTests/FileSystem/PathShimTests.swift
Tests/BasicsTests/FileSystem/PathTests.swift
Tests/BasicsTests/FileSystem/TemporaryFileTests.swift
Tests/BasicsTests/FileSystem/VFSTests.swift

Depends on swiftlang/swift#81217
Partially Addresses: #8433
Issue: rdar://148248105
@bkhouri bkhouri deleted the t/main/swiftpm_no-assertion-on-linux branch May 2, 2025 16:10
bkhouri added a commit that referenced this pull request May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants