Skip to content

[6.0] Fix incorrectly-specified platform list in CMake file. #646

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

grynspan
Copy link
Contributor

Explanation: Correctly sets SWT_NO_EXIT_TESTS on platforms that don't support them when building with CMake.
Scope: Building iOS, watchOS, tvOS, visionOS, WASI from OSS.
Issue: N/A
Original PR: #633
Risk: Low
Testing: Manually tested as we don't have CI using CMake yet.
Reviewer: @compnerd @briancroom

Our CMake file that sets compiler conditionals has the wrong syntax when setting
`SWT_NO_EXIT_TESTS` conditionally. Fix that. (With thanks to @compnerd.)
@grynspan grynspan self-assigned this Aug 27, 2024
@grynspan grynspan added bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support swift-6 wasi/wasm 🧭 WebAssembly support build 🧱 Affects the project's build configuration or process android 🤖 Android support labels Aug 27, 2024
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

#634 was merged to main by mistake (no-op.)

@grynspan grynspan merged commit c619544 into release/6.0 Aug 27, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/misspecified-cmake-SWT_NO_EXIT_TESTS-6.0 branch August 27, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android 🤖 Android support bug 🪲 Something isn't working build 🧱 Affects the project's build configuration or process darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support wasi/wasm 🧭 WebAssembly support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants