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

[release/9.0-preview7] Ensure linux uses zlib-ng and not system ZLIB #105354

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 23, 2024

Backport of #105352 to release/9.0-preview7

/cc @carlossanlop @am11

Customer Impact

  • Customer reported
  • Found internally

We needed to add logic to cmake that would decide which zlib version to use depending if the CLR_CMAKE_USE_SYSTEM_ZLIB variable was turned on or not. Currently we were always using the in-tree zlib-ng, but there were cases where we needed to turn that variable on via the command line. The fix was to add a generator expression (it's a condition) to select between the system installed zlib and the in-tree zlib-ng. But the condition was malformed, causing us to always select the system installed zlib.

The fix is simply to wrap the CLR_CMAKE_USE_SYSTEM_ZLIB keyword in the condition with ${} so it gets evaluated properly.

Regression

  • Yes
  • No

It was working fine a few days ago until we introduced a malformed generator expression in cmake.

Testing

Manually verified with the local build.

Risk

Low - The build was working correctly until we introduced a malformed generator expression in cmake.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@carlossanlop carlossanlop added the Servicing-consider Issue for next servicing release review label Jul 23, 2024
@carlossanlop carlossanlop self-assigned this Jul 23, 2024
@carlossanlop
Copy link
Member

All failures known and unrelated.

@carlossanlop carlossanlop merged commit 71c3308 into release/9.0-preview7 Jul 24, 2024
158 of 168 checks passed
@carlossanlop carlossanlop deleted the backport/pr-105352-to-release/9.0-preview7 branch July 24, 2024 00:17
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure Servicing-approved Approved for servicing release
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants