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

Remove -incremental when using -whole-module-optimization #884

Conversation

keith
Copy link
Member

@keith keith commented Jul 19, 2023

Passing both results in noisy remarks when building from the command line like:

remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092

@keith
Copy link
Member Author

keith commented Jul 19, 2023

@swift-ci please test

@keith
Copy link
Member Author

keith commented Jul 19, 2023

@swift-ci please smoke test

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

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

LGTM

keith added a commit to keith/swift-llbuild that referenced this pull request Jul 19, 2023
Passing both results in noisy remarks when building from the command line like:

```
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
```

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092

(cherry picked from commit 0c2e0dd / swiftlang#884)
@keith
Copy link
Member Author

keith commented Jul 19, 2023

a cherry pick for this too #885

@keith keith force-pushed the ks/remove-incremental-when-using-whole-module-optimization branch from 0c2e0dd to b017cca Compare July 19, 2023 20:25
keith added a commit to keith/swift-llbuild that referenced this pull request Jul 19, 2023
Passing both results in noisy remarks when building from the command line like:

```
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
```

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092

(cherry picked from commit 0c2e0dd / swiftlang#884)
@keith
Copy link
Member Author

keith commented Jul 19, 2023

@swift-ci please smoke test

@finagolfin
Copy link
Contributor

finagolfin commented Jul 20, 2023

Looks like there are more tests you will have to modify.

Passing both results in noisy remarks when building from the command line like:

```
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
```

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092
@keith keith force-pushed the ks/remove-incremental-when-using-whole-module-optimization branch from b017cca to d68c791 Compare July 20, 2023 19:37
keith added a commit to keith/swift-llbuild that referenced this pull request Jul 20, 2023
Passing both results in noisy remarks when building from the command line like:

```
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
```

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092

(cherry picked from commit 0c2e0dd / swiftlang#884)
@keith
Copy link
Member Author

keith commented Jul 20, 2023

@swift-ci please smoke test

@keith
Copy link
Member Author

keith commented Jul 20, 2023

@swift-ci please test Windows platform

@keith
Copy link
Member Author

keith commented Jul 21, 2023

Green now! #885 too

@keith
Copy link
Member Author

keith commented Jul 26, 2023

@dmbryson I don't have commit access on this repo, can you land this and potentially review #885 ?

@dmbryson dmbryson merged commit 189b0c4 into swiftlang:main Jul 26, 2023
dmbryson pushed a commit that referenced this pull request Jul 26, 2023
Passing both results in noisy remarks when building from the command line like:

```
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
```

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092

(cherry picked from commit 0c2e0dd / #884)
@keith
Copy link
Member Author

keith commented Jul 26, 2023

Thanks!

@keith keith deleted the ks/remove-incremental-when-using-whole-module-optimization branch July 27, 2023 03:29
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.

4 participants