Skip to content

track SDK dependencies (rdar://115777026) #7172

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 4 commits into from
Jan 18, 2024
Merged

Conversation

pusukuri
Copy link
Contributor

@pusukuri pusukuri commented Dec 8, 2023

Compiler commands need to track SDK dependencies to trigger rebuilds when the SDK changes rdar://115777026

Motivation:

track SDK dependencies to avoid triggering rebuilds when the SDK changes rdar://115777026

@pusukuri
Copy link
Contributor Author

pusukuri commented Dec 8, 2023

@swift-ci test

@pusukuri pusukuri changed the title track SDK dependencies track SDK dependencies (rdar://115777026) Dec 8, 2023
@pusukuri
Copy link
Contributor Author

pusukuri commented Dec 8, 2023

@swift-ci test macos

@pusukuri
Copy link
Contributor Author

pusukuri commented Dec 8, 2023

@swift-ci test

@pusukuri
Copy link
Contributor Author

pusukuri commented Dec 9, 2023

@swift-ci test

@MaxDesiatov
Copy link
Contributor

@pusukuri would mind resolving conflicts? No need to rebase and force push, merge commits in the PR branch are fine too, as long as you squash and merge in the end.

@pusukuri
Copy link
Contributor Author

@swift-ci test

1 similar comment
@pusukuri
Copy link
Contributor Author

@swift-ci test

@@ -29,6 +29,9 @@ public struct BuildParameters: Encodable {
/// The path to the data directory.
public var dataPath: AbsolutePath

/// The path to the SDKROOT directory.
public var sdkPath: AbsolutePath?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already sdkRootPath available on the var toolchain: Toolchain property below. Is this any different from that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @MaxDesiatov I addressed your comment.

@pusukuri
Copy link
Contributor Author

@swift-ci test

Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A single nit for the comment, otherwise LGTM, thanks!

@pusukuri
Copy link
Contributor Author

@swift-ci test

@neonichu
Copy link
Contributor

@swift-ci test windows

@MaxDesiatov MaxDesiatov added bug build system Changes to interactions with build systems labels Jan 17, 2024
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) January 17, 2024 17:44
@pusukuri
Copy link
Contributor Author

@swift-ci test windows

@pusukuri
Copy link
Contributor Author

@swift-ci test macos

1 similar comment
@MaxDesiatov
Copy link
Contributor

@swift-ci test macos

@MaxDesiatov
Copy link
Contributor

@swift-ci test windows

@pusukuri
Copy link
Contributor Author

@swift-ci test macos

1 similar comment
@MaxDesiatov
Copy link
Contributor

@swift-ci test macos

@pusukuri
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor

@swift-ci test windows

1 similar comment
@pusukuri
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor

Windows failures seem unrelated

@pusukuri
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit cdceff5 into swiftlang:main Jan 18, 2024
@pusukuri
Copy link
Contributor Author

Thank you @MaxDesiatov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug build system Changes to interactions with build systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants