Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build without swift host tools #77815

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Nov 22, 2024

  1. Configuration menu
    Copy the full SHA
    af826bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a3ffb0 View commit details
    Browse the repository at this point in the history
  3. Parse #isolation as CurrentContextIsolationExpr when we don't have …

    …swift-syntax
    
    When building without swift-syntax, we don't have the ability to handle
    macros. However, the concurrency runtime makes use of `#isolation` in
    a number of places. To continue supporting building without
    swift-syntax, parse `#isolation` directly into the otherwise-unspellable
    CurrentContextIsolationExpr but *only* when swift-syntax is not available.
    DougGregor committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    05abdad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52401c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2024

  1. [build-script] Add buildbot_linux,without_host_swift preset

    Based on a patch from Evan Wilde, introduce a new preset that disables
    the features that require Swift host tools. This involves disabling
    early swift-syntax (used in the compiler for macros et al) and early
    swift-driver.
    DougGregor committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    e333144 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2692805 View commit details
    Browse the repository at this point in the history
  3. Disable @_noLocks annotations when we don't have a host Swift compiler

    These annotations require optimization passes that are written in
    Swift, so we need a host Swift compiler to properly process them. Use
    `hasFeature(Macros)` as a way to gate the annotations.
    DougGregor committed Nov 23, 2024
    Configuration menu
    Copy the full SHA
    6fa348e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    66a5ae5 View commit details
    Browse the repository at this point in the history