Open gdrparker opened 2 months ago
Hi, thanks. You're not the first one to ask this and the answer is the same - it's not a secret - the script that generates the framework is in this repository (https://github.com/sjavora/swift-syntax-xcframeworks/blob/main/.github/bootstrap.sh). The whole thing is set up using github actions so once 6.0 comes out, I just trigger it and a new version gets build automatically. 5.10 isn't even the first version - this project started with 5.9 :)
Hi Simon,
Thanks for the quick response…I’ll take a look at the bootstrap and see if I can generate the framework for v6+.
IMHO, your project is extremely important for anyone working with Swift Macros.
My project now compiles in seconds instead of minutes. More importantly, the constant re-indexing due to the massive-code introduced by the swift-syntax dependency has gone away. The re-indexing was a major impediment to productivity as it often ‘hung’ my build; forcing a full re-build, which was painful as all the swift-syntax code had to be rebuilt.
Keep up the amazing work,
Most Appreciatively,
David Parker
On Sep 8, 2024, at 9:28 AM, Šimon Javora @.***> wrote:
Hi, thanks. You're not the first one to ask this and the answer is the same - it's not a secret - the script that generates the framework is in this repository (https://github.com/sjavora/swift-syntax-xcframeworks/blob/main/.github/bootstrap.sh). The whole thing is set up using github actions so once 6.0 comes out, I just trigger it and a new version gets build automatically. 5.10 isn't even the first version - this project started with 5.9 :)
— Reply to this email directly, view it on GitHub https://github.com/sjavora/swift-syntax-xcframeworks/issues/6#issuecomment-2336744721, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATHY5YAOPTNL5PGHL2X6V2LZVR3JPAVCNFSM6AAAAABN3DTJRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG42DINZSGE. You are receiving this because you authored the thread.
Maybe bootstrap.sh debug should be replaced by release, thus allowing runtime optimised code for macros execution when Xcode / swiftc uses them
HI Simon, I was considering a similar strategy when I stumbled on your project. Great work...impressive. Are you willing to share the process you went through to generate the swift-syntax-xcframeworks so the Framework can be updated as new versions are released of swift-syntax?