Skip to content

Fold Incremental External Dependency Nodes Into External Dependency Nodes #35741

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

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Feb 3, 2021

Remove this distinction without a difference. Originally, the thought
was to

  1. Isolate the cross-module build infrastructure
  2. Provide a signal to the driver that a dependency had swiftdeps info in it

But the driver need only notice swiftmodule files as external
dependencies and try to extract that information if it can to divine the
signal it needs. Additionally, we can give it fingerprints as priors to
let it know there might be incremental info to be had.

…odes

Remove this distinction without a difference. Originally, the thought
was to
1) Isolate the cross-module build infrastructure
2) Provide a signal to the driver that a dependency had swiftdeps info
   in it

But the driver need only notice swiftmodule files as external
dependencies and try to extract that information if it can to divine the
signal it needs. Additionally, we can give it fingerprints as priors to
let it know there might be incremental info to be had.
@CodaFi
Copy link
Contributor Author

CodaFi commented Feb 3, 2021

@swift-ci smoke test

@CodaFi
Copy link
Contributor Author

CodaFi commented Feb 3, 2021

@swift-ci smoke test Linux

@shahmishal
Copy link
Member

@swift-ci build toolchain

@CodaFi
Copy link
Contributor Author

CodaFi commented Feb 3, 2021

@swift-ci smoke test macOS

@swift-ci
Copy link
Contributor

swift-ci commented Feb 4, 2021

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - 764df6d

Install command
tar zxf swift-PR-35741-536-ubuntu16.04.tar.gz
More info

@CodaFi
Copy link
Contributor Author

CodaFi commented Feb 4, 2021

@swift-ci smoke test macOS

@CodaFi CodaFi merged commit 1884e38 into swiftlang:main Feb 4, 2021
@shahmishal
Copy link
Member

@CodaFi macOS build toolchain PR bot failed due to this error:

04:34:06.520 /Users/buildnode/jenkins/workspace/swift-PR-toolchain-osx/branch-main/swift-driver/Sources/SwiftDriver/IncrementalCompilation/IncrementalCompilationState.swift:663:25: error: variable declared in 'guard' condition is not usable in its body
04:34:06.520         report(message, path?.file)
04:34:06.520                         ^

https://ci.swift.org/job/swift-PR-toolchain-osx/851/

@CodaFi CodaFi deleted the a-distinction-without-a-difference branch February 5, 2021 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants