Skip to content

Conversation

@github-actions
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.

@dotnet-policy-service
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
Contributor

All failures known and unrelated.

@carlossanlop carlossanlop merged commit 71c3308 into release/9.0-preview7 Jul 24, 2024
@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.

4 participants