Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: swiftlang/swift-driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: swift-6.0.2-RELEASE
Choose a base ref
...
head repository: swiftlang/swift-driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: swift-6.0.3-RELEASE
Choose a head ref
  • 12 commits
  • 11 files changed
  • 4 contributors

Commits on Jun 21, 2024

  1. Test: Check clang overrides

    Check that the clang override environment variables actually do
    something. Note that clang++ is only used to link on non-Darwin
    platforms when the interop mode is swift-5.9.
    etcwilde committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    3a35503 View commit details
    Browse the repository at this point in the history
  2. Allow setting the clang++ environment variable

    '+' isn't allowed in environment variable names so it's impossible to
    set the Clang++ executable at the moment. Replace `+` with `X` so that
    we can set `SWIFT_DRIVER_CLANGXX_EXEC` to set the clang++ executable.
    etcwilde committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    c0383d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Fix CachingBuildTests: testSeparateModuleJob & testModuleOnlyJob

    Do not always hard-code a macOS triple and pass in explicit stdlib paths to the driver invocations
    artemcm committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    8f3f7ba View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Only pass a versioned prebuilt-modules for Mac Catalyst if it exists.

    Some clients still have unversioned prebuilt modules, but SwiftDriver assumed
    that the versioned path would always exist for macOS (at least for the purposes
    of passing it when compiling for Mac Catalyst).
    
    This change duplicates some logic from the Swift frontend to check for the
    existence of the versioned macOS prebuilt modules directory before passing it,
    optionally stripping off trailing `.0` version components.
    
    This change also updates the driver so that it passes a prebuilt modules directory
    relative to the resource directory rather than relative to the compiler binary, also
    matching the Swift frontend's behavior.
    
    This addresses <rdar://problem/136047054>.
    
    (cherry picked from commit b1573ef)
    cwakamo committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    d1a0119 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Merge pull request #1697 from cwakamo/dev/check-for-existence-before-…

    …passing-Catalyst-prebuilt-modules-6.0
    
    [6.0] Only pass a versioned prebuilt-modules for Mac Catalyst if it exists.
    cwakamo authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2e92299 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Update Generic Unix linker selection

    Not all generic-"unix" environments have the Gold linker available to
    them, and in some cases, the vendor of the toolchain may provide their
    own linker. In these cases, the driver should be internally consistent
    with the toolchain that it is shipped with.
    
    Now that we have the clang-linker, we can lean on the linker selection
    in the clang-linker to determine a default linker. If the clang-linker,
    and thus, the swift compiler driver, are part of a specific toolchain,
    that clang-linker should be built for that platform with the appropriate
    linker defaults set. If someone overrides the linker with
    `-use-ld`, we should still honour that, but should otherwise be
    consistent with the appropriate toolchain linker.
    
    Fixes: rdar://123061492
    etcwilde committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    3cb1bc4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07a5afc View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Merge pull request #1638 from etcwilde/ewilde/6.0-clangxx-env-var

    🍒[Swift 6.0] Allow overriding clang++ with an environment variable
    etcwilde authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    ac0b93f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1595 from etcwilde/ewilde/swift-6.0-linker-selection

    🍒[Swift 6.0]: Update Generic Unix linker selection
    etcwilde authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    1540247 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. fuse-ld only takes one dash

    Fixing the number of dashes
    etcwilde committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    7e5de78 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1725 from etcwilde/ewilde/6.0-fix-dashes-in-fuse-ld

    [🍒 Swift-6.0.x] fuse-ld only takes one dash
    etcwilde authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    2f500f2 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. Disable in-process target-info and supported-features queries using l…

    …ibSwiftScan
    
    When building the compiler toolchain, there is currently a race condition which makes it so that the 'libSwiftScan.dylib' is not ready by the time the driver is used to begin compilation of the Swift standard library. For now, disable in-process queries altogether.
    
    On 'main', this is resolved with swiftlang/swift#77606, which seems to be a challenge to backport to 6.0.
    artemcm committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    72e785e View commit details
    Browse the repository at this point in the history
Loading