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] Remove last vestiges of ICU for anything other than Foundation #40659

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

finagolfin
Copy link
Member

This is a follow-on to #40340 and the Android-specific pull #40625, removing a little remaining build-related config, adjusting the doc, and enabling a few tests.

Two instances I was unsure about:

@Azoy, I don't know if you were planning to remove these soon, thought I'd help chuck it out. 😃

# Don't add the icucore target.
set(SWIFTLIB_SINGLE_LINK_LIBRARIES_WITHOUT_ICU)
foreach(item ${SWIFTLIB_SINGLE_LINK_LIBRARIES})
if(NOT "${item}" STREQUAL "icucore")
Copy link
Member Author

Choose a reason for hiding this comment

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

I think this was only needed because of this?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, this was for filtering out icucore which was being added. Removing the filtering is fine.

@compnerd
Copy link
Member

The referenced bits for Windows I think need to stay for a little bit as it may potentially interact with dispatch. I'll look into that separately.

@Azoy
Copy link
Contributor

Azoy commented Dec 21, 2021

This looks awesome, thank you so much!

"Path to a directory containing headers icui18n for ${sdk}")
endforeach()
endforeach()

Copy link
Member

Choose a reason for hiding this comment

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

I thought that @Azoy removed this in the initial pass?

Copy link
Member Author

@finagolfin finagolfin Dec 24, 2021

Choose a reason for hiding this comment

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

Looks like he just left this definition in because otherwise all these build-script-related inputs that you told him not to worry about wouldmay have errored, which I'm now finally removing.

@compnerd
Copy link
Member

@swift-ci please test

@@ -98,7 +97,6 @@ def get_dependencies(cls):
return [cmark.CMark,
llvm.LLVM,
libcxx.LibCXX,
libicu.LibICU,
Copy link
Member Author

Choose a reason for hiding this comment

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

Hold up, I made a mistake: this still needs libicu because it builds Foundation. I'll push a fix.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed now.

@finagolfin
Copy link
Member Author

@MaxDesiatov, would you run the CI and merge?

@CodaFi
Copy link
Contributor

CodaFi commented Jan 5, 2022

@swift-ci test

@swift-ci
Copy link
Contributor

swift-ci commented Jan 5, 2022

Build failed
Swift Test Linux Platform
Git Sha - 2890d15

@finagolfin
Copy link
Member Author

finagolfin commented Jan 5, 2022

Linux test failures appear unrelated, maybe caused by #40720 that was just merged a couple hours priorsome other flakiness?

@CodaFi
Copy link
Contributor

CodaFi commented Jan 5, 2022

Perhaps we just need a clean run at it

@swift-ci please clean test Linux

@swift-ci
Copy link
Contributor

swift-ci commented Jan 5, 2022

Build failed
Swift Test Linux Platform
Git Sha - 2890d15

@finagolfin
Copy link
Member Author

Single new test failure on the linux CI this time, looks like another flake.

@CodaFi
Copy link
Contributor

CodaFi commented Jan 5, 2022

We know of this one internally as rdar://86041709. I will disable this test shortly.

@finagolfin
Copy link
Member Author

@artemcm, would you run the linux CI again?

@artemcm
Copy link
Contributor

artemcm commented Jan 6, 2022

@swift-ci please test Linux platform

@finagolfin
Copy link
Member Author

@CodaFi, passed CI, ready for merge.

@CodaFi CodaFi merged commit 9429514 into swiftlang:main Jan 7, 2022
@finagolfin finagolfin deleted the stdlib-remove-icu branch January 7, 2022 08:46
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.

6 participants