Skip to content

CMake: Use CMAKE_SYSTEM_NAME STREQUAL "WASI" instead of WASI #700

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

kateinoigakukun
Copy link
Member

The WASI variable is only available in the bleeding-edge CMake and not released versions yet
(https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9659). So, we should use the old way for now.

I forgot to check CMake build in #699 🤦

The `WASI` variable is only available in the bleeding-edge CMake and not
released versions yet
(https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9659).
So, we should use the old way for now.
@stmontgomery
Copy link
Contributor

@swift-ci please test

@grynspan grynspan added bug 🪲 Something isn't working wasi/wasm 🧭 WebAssembly support build 🧱 Affects the project's build configuration or process labels Sep 17, 2024
@kateinoigakukun kateinoigakukun merged commit 4e7dd97 into swiftlang:main Sep 17, 2024
3 checks passed
@grynspan grynspan added this to the Swift 6.1 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working build 🧱 Affects the project's build configuration or process wasi/wasm 🧭 WebAssembly support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants