You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add swift toolchain header file on CI to build runtime part on CI #104
Clone the swiftlang/swift and swiftlang/llvm repo.
Specify a configuration to make a header-only build. (Only produce the def and header file, skip the actual .o build)
Update some scripts to make the CI build's OPENGRAPH_SWIFT_TOOLCHAIN_PATH variable points to the toolchain dir.
Possible 2:
Generate the necessary header for macOS, iOS, Linux locally and then store the headers in another git repo. (Update it when new Swift version is released)
Clone the toolchain header repo
Update some scripts to make the CI build's OPENGRAPH_SWIFT_TOOLCHAIN_PATH variable points to the toolchain dir.
@Kyle-Ye I recently got this working on Compute's repo. I don't think OpenAttributeGraph would have any different requirements.
The only thing that needs to be built is CMakeConfig.h, which just defines SWIFT_VERSION_MAJOR and SWIFT_VERSION_MINOR. I ended up just writing it out manually, which means I didn't have to build anything.
Activity
Kyle-Ye commentedon May 11, 2025
Hi @Lancelotbronner, this is an easy and help wanted one for contributing to OpenGraph.
If you want try it or need some help, feel free to comment below.
Lancelotbronner commentedon May 29, 2025
I don't know much about CIs but I can start learning!
Kyle-Ye commentedon Nov 24, 2025
Would you be interested on this? @jcmosc Maybe we can share a common workflow job with Compute here.
eg.
jcmosc commentedon Nov 27, 2025
@Kyle-Ye Yes a common job to pull in an artifact repo would be perfect
jcmosc commentedon Jan 13, 2026
@Kyle-Ye I recently got this working on Compute's repo. I don't think OpenAttributeGraph would have any different requirements.
The only thing that needs to be built is CMakeConfig.h, which just defines SWIFT_VERSION_MAJOR and SWIFT_VERSION_MINOR. I ended up just writing it out manually, which means I didn't have to build anything.
You can see the GitHub action here:
https://github.com/jcmosc/Compute/blob/main/.github/actions/checkout-swift-headers/action.yml