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

Update to ICU 75.1 #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Update to ICU 75.1 #2

wants to merge 5 commits into from

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Aug 31, 2024

Note that I did this stepwise (i.e. each commit updates to a newer version; we may want to also keep these, or not). I run x64 and x86 builds and didn't notice any issues with the ext/intl test suite up to ICU 74.2.

ICU 75.1, however, required more adjustments. First, the ICU 75.1 build failed because stdalign.h is not available with Windows SDKs < 10.0.20348.0; that might be just an issue with the internal tests suite, but still it might make sense to switch to using a newer SDK (see https://news-web.php.net/php.internals.win/1281 for some additional info and discussion). I did this in the cmb/sdk branch, and building ICU 75.1 succeeded. To actually be able to build PHP with this ICU version, I had to add CFLAGS=/std:c++17, since ICU 75.1 now requires C++17. Running the ext/intl test suite (PHP 8.2), I've got to failing tests, but from a quick glance, these look like minor version dependent issues, so the tests need to be adapted.

@cmb69
Copy link
Contributor Author

cmb69 commented Aug 31, 2024

Note that the cmb/sdk branch is likely not needed, since we probably don't want to update ICU for stable PHP versions, and for PHP 8.4, winlibs/winlib-builder#7 would already use Windows SDK 10.0.20348.0.

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.

1 participant