Skip to content

Deprecate toolchain installation #5604

Closed
@kateinoigakukun

Description

@kateinoigakukun

Motivation

We now have Swift SDK, and it's going to be the default recommended installation way for its standard.
Maintaining two different installation methods costs a lot, and removing toolchain builds and only maintaining SDK builds allows us a much simpler build workflow and saves CI costs.

Outcome

Reducing build variants allows:

  • Faster development iterations
  • Speeds up upstreaming work
  • Having more experimental build variations (e.g. +tail-call, LTO?)

Steps

  • Install SDK instead of toolchain in the carton auto installer
  • Update setup-swiftwasm to install SDK instead of toolchain
  • Rename release tag convention to use the same tag name with the upstream
    • The reason why we included -wasm- part in our tag was just to distinguish toolchain versions of ours and upstream's in swiftenv, so we no longer need to include it. Let's just align with the upstream to make things simpler.
    • Postpone it to keep having control to apply patches upon swiftlang/swift
  • Update book.swiftwasm.org
  • Remove toolchain build from swiftwasm-build CI
  • Remove "Releasing swiftwasm/swiftwasm-docker" step from our release workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions