Commit b6a3d95
authored
Add build prebuilts support for any version of swift-syntax. (#8994)
Removes the hardcoding of the contents of the prebuilt libraries.
Adds a --version argument to specify which versions of swift-syntax you
want to build for. You can have multiple of these. We add a sample
build.sh script to the folder to show an example, including finding the
most recent prerelease of 602.
Also removes the hardcoding of the list of products that go into the
library. Instead we ask the package for its list of library products and
add them all.
Finally, removes the header files since SwiftPM now hooks up the include
paths to the CModules from the source in the checkouts.1 parent a4b2da7 commit b6a3d95
File tree
3 files changed
+245
-341
lines changed- Sources/swift-build-prebuilts
3 files changed
+245
-341
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
789 | 792 | | |
790 | 793 | | |
791 | 794 | | |
| |||
0 commit comments