utils: support building android SDKs on Windows#72014
Conversation
This adds the ability to build the Android SDKs as part of the Windows build.
There was a problem hiding this comment.
Did the trick I suggested with Isolate-EnvVars and Invoke-VsDevShell not work?
There was a problem hiding this comment.
I need to try to implement them. Diff welcome of course :)
There was a problem hiding this comment.
The $LibraryRoot\icu-69.1\usr\lib\$Platform\$ShortArch prefix is worth extracting before this block to keep it looking line just a set of assignments
c22f85f to
41533ef
Compare
e0c89db to
bb92d76
Compare
|
adding latest changes today |
|
@compnerd @tristanlabelle made some updates. could you take another look please? also updated foundation - swiftlang/swift-corelibs-foundation#4889 |
|
@compnerd addressed your review comments |
|
@swift-ci please tst |
|
@swift-ci please test |
|
@swift-ci please build toolchain |
|
@swift-ci please test windows platform |
1 similar comment
|
@swift-ci please test windows platform |
|
@swift-ci please test windows platform |
…dSDKs are specified when running build.ps1
|
@swift-ci please test windows platform |
|
@swift-ci please build windows toolchain |
|
@swift-ci please test |
|
@swift-ci please build toolchain |
|
@swift-ci please test |
|
@swift-ci please test source compatibility |
|
This is ready! |
|
@swift-ci please test |
|
@swift-ci please build toolchain |
There was a problem hiding this comment.
Wait, this is the host ... I was wrong. I'm confused, why are we not passing in the Arch for the host arch sdk? Could we not cross-compile to more than one arch?
There was a problem hiding this comment.
because there's only one host arch?
There was a problem hiding this comment.
Ah right, this is the host SDK for the toolchain, not an arbitrary host SDK. I think that generalising this to Get-SwiftSDK($Arch) might be nice as it currently makes me think that it is getting the Swift SDK for a particular host (which is true, it's just that the particular host happens to be the host that we are building the toolchain for). But, lets leave that for a follow up, I'd like to get this in.
|
@swift-ci please test |
|
@swift-ci please build toolchain |
|
@swift-ci please test source compatibility |
This adds the ability to build the Android SDKs as part of the Windows build.