rules_swift icon indicating copy to clipboard operation
rules_swift copied to clipboard

Auto-download Linux toolchains when possible

Open allevato opened this issue 7 years ago • 3 comments

The repository rule on Linux should detect if the Swift toolchain is not already on the path; if that's the case, and if the user is running one of the Ubuntu versions for which swift.org hosts prebuilt toolchains, the rule should download that repository and use the toolchain from there.

Although this doesn't prevent the user from having to install clang, ICU, and some other components externally, it still improves ramp-up time, and makes it easy to switch between toolchains.

allevato avatar Jun 06 '18 22:06 allevato

No near term plans to handle this.

keith avatar Aug 11 '20 00:08 keith

Reopening since this would help some cases https://github.com/bazelbuild/rules_swift/issues/665

keith avatar Aug 08 '21 19:08 keith

For CI https://github.com/bazelbuild/rules_swift/pull/672 is probably good enough

keith avatar Aug 12 '21 19:08 keith