-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Migrate to zlib-ng, part 3: Remove zlib and zlib-intel source code and license mentions #104399
Conversation
Tagging subscribers to this area: @dotnet/area-system-io-compression |
You should be also able to delete zlib-dev package from the Linux build prereqs at https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md#toolchain-setup |
Questions:
|
From the doc: "These instructions are written assuming the current Ubuntu LTS.". armv6, android, ios, tvos and maccatalyst concerns are not relevant for this doc.
Yes - if the target platform is configured to system zlib. I cannot think about any docs where it would need to be mentioned. |
I found one for android coreclr cross building, but couldn't find one for the apple mobile platforms: https://github.com/dotnet/runtime/blob/898ffc5f74fad1593ed4036a69da039937224f99/docs/workflow/building/coreclr/android.md I also found a general one for coreclr cross building: https://github.com/dotnet/runtime/blob/898ffc5f74fad1593ed4036a69da039937224f99/docs/workflow/building/coreclr/cross-building.md The mono build document is very generic but has links to android and ios testing (not cross building): https://github.com/dotnet/runtime/tree/898ffc5f74fad1593ed4036a69da039937224f99/docs/workflow/building/mono Do any of those look good for mentioning the system zlib requirement? |
@jkotas Oh, the first doc you shared has a cross build section a few lines below, we could move |
OK I see that azurelinux is the only distro we split depending on the .NET 9.0 version. I mention this because I see zlib-devel and zlib1g-dev being installed in most of the other Dockerfiles but they should remain untouched as these images are shared by all the servicing branches. |
Can't merge this yet because part 2 was just reverted: #104414 I'm working on a fix for wasm and will come back to this PR after the fix is merged. |
@jkotas I removed the |
This is removing dead code + adding some markdown changes. The previous CI runs passed (the dead code removal does not affect the build), and the latest comment simply fixed a couple of markdown files. I'll fast merge this. |
In the previous run there was only one failure that did not get linked to a KnownBuildIssue because an issue did not exist at the moment: |
@carlossanlop After this PR we are getting build failures on a clean ubuntu-22 image:
This is when running |
Okay, I'm reverting it to avoid blocking today's snap. |
@jakobbotsch reverted, sorry about the noise. |
Is this another case where folks are using scripts that aren't represented in our actual build process? Or is it a public build vs CI validation thing? |
It's probably not represented, yes, but it follows the official build doc. Basically, a clean new Azure VM with Ubuntu 22.04 (either x64 or arm64): eng/./install-native-dependencies.sh
./build.sh Clr+Libs -c Release fails with the error posted above ^, after I added a manual |
We would run into the same build break in the CI and official builds once dotnet/dotnet-buildtools-prereqs-docker#1125 is merged and propagates through the system.
We have two documented Linux build instructions: https://github.com/dotnet/runtime/blob/main/docs/workflow/building/coreclr/linux-instructions.md:
|
Contributes to: #101465
Split in commits for easier review.