Skip to content

Conversation

etcwilde
Copy link
Member

@etcwilde etcwilde commented Oct 7, 2025

Doing some housekeeping and cleanups.

Updating the Todo comments on SwiftCore to be more accurate about where things stand. Really the main thing remaining are the embedded builds.

Then doing some cleanups regarding the swift module emission. The swiftmodule directory was being used in several places so I factored that out into a separate variable to make things a bit more readable. Also added the supplemental module outputs to the list of cleanup files so that running ninja clean will work without warning about the swiftmodule directory containing files.

This is a small refactor to rename the build module directory,
"${CMAKE_CURRENT_BINARY_DIR}/${module_name}.swiftmodule" to
"${module_directory}" to make it more concise.
Adding the additional driver outputs in the cleanup files. This cleans
up the warnings from `ninja clean`.

```
Cleaning... ninja: error: remove(clang/_Builtin_float.swiftmodule): Directory not empty
```
@etcwilde
Copy link
Member Author

etcwilde commented Oct 7, 2025

@swift-ci please smoke test

Updating the todo list comments.

 - Windows builds are already using the runtime build system to build
   the runtimes so we can remove that from the todo list.

 - The Android SDK on Windows is currently cross-compiled with the new
   runtime build.

 - Catalyst builds have been going for a bit now, generating the
   necessary bits.

 - We moved things to a nested swiftmodule structure, which installs the
   entire directory, containing all of the emitted products.

The Glibc Linux builds should be coming soon.
We still have embedded to work on.
@etcwilde etcwilde force-pushed the ewilde/runtimes-fix-cleanups branch from 69cf313 to 989b3be Compare October 7, 2025 22:16
@etcwilde
Copy link
Member Author

etcwilde commented Oct 7, 2025

@swift-ci please smoke test

@etcwilde etcwilde merged commit 5088eb5 into swiftlang:main Oct 9, 2025
3 checks passed
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