Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d8731e0
Include xz library in the repo
rzikm Jan 23, 2026
2b5700f
Link lzma to System.IO.Compression.Native
rzikm Jan 23, 2026
6b2729e
Remove unnecessary xz repo files
rzikm Feb 9, 2026
9e22f20
Don't copy unnecessary files during install
rzikm Feb 9, 2026
b577d95
Attempt to fix build on linux
rzikm Feb 9, 2026
829ad77
Fix newlines at the end of file
rzikm Feb 9, 2026
daf697d
Fix build on Linux
rzikm Feb 10, 2026
4a58132
Remove libgnu workaround
rzikm Feb 10, 2026
29847da
Update src/native/external/xz.version
rzikm Feb 10, 2026
5abc214
Update src/native/external/xz.cmake
rzikm Feb 10, 2026
1e018ef
More build fixes
rzikm Feb 11, 2026
9b95844
Fix NativeAoT build integration
rzikm Feb 11, 2026
598453d
Fix platform manifest entry name
rzikm Feb 11, 2026
1fa0b01
Remove C4996 warning suppression and _CRT_SECURE_NO_WARNINGS from lib…
rzikm Feb 12, 2026
e1b3ace
Fix C4057 warning in liblzma: cast uint32_t* to int* for __cpuid
rzikm Feb 12, 2026
bdf4e75
Fix C4267 warnings in liblzma: add explicit casts for size_t to uint3…
rzikm Feb 12, 2026
4a35bcf
Fix C4242 warnings in liblzma: add explicit casts for narrowing conve…
rzikm Feb 12, 2026
54d96e2
Fix C4244 warnings in liblzma: add explicit casts for data loss conve…
rzikm Feb 12, 2026
340d547
Add patch file
rzikm Feb 12, 2026
ebbf71a
More x86 fixes
rzikm Feb 17, 2026
4107e59
Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Nativ…
rzikm Feb 18, 2026
2ab542a
Minor fixes
rzikm Feb 18, 2026
85ba08b
remove more unnecessary code, add copyright notice
rzikm Feb 19, 2026
8aa31aa
Restore scripts folder
rzikm Feb 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,28 @@ freely, subject to the following restrictions:

3. This notice may not be removed or altered from any source distribution.

License notice for liblzma from XZ Utils
-------------------------------

https://tukaani.org/xz/

Only the liblzma component of XZ Utils is used. liblzma is distributed
under the BSD Zero Clause License (0BSD).

Copyright (C) The XZ Utils authors and contributors

Permission to use, copy, modify, and/or distribute this
software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

License notice for opentelemetry-dotnet
---------------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<!-- Use libbrotlicommon.a as the sentinel for the three brotli libs. -->
<UseSystemBrotli Condition="'$(UseSystemBrotli)' == '' and !Exists('$(IlcFrameworkNativePath)libbrotlicommon.a')">true</UseSystemBrotli>
<UseSystemZstd Condition="'$(UseSystemZstd)' == '' and !Exists('$(IlcFrameworkNativePath)libzstd.a')">true</UseSystemZstd>
<UseSystemLzma Condition="'$(UseSystemLzma)' == '' and !Exists('$(IlcFrameworkNativePath)liblzma.a')">true</UseSystemLzma>

<FullRuntimeName>libRuntime.WorkstationGC</FullRuntimeName>
<FullRuntimeName Condition="'$(ServerGarbageCollection)' == 'true' or '$(IlcLinkServerGC)' == 'true'">libRuntime.ServerGC</FullRuntimeName>
Expand Down Expand Up @@ -188,6 +189,11 @@ The .NET Foundation licenses this file to you under the MIT license.
<NativeLibrary Condition="'$(UseSystemZstd)' != 'true'" Include="$(IlcFrameworkNativePath)libzstd.a" />
</ItemGroup>

<ItemGroup>
<!-- lzma must be added after System.IO.Compression.Native due to dependency. -->
<NativeLibrary Condition="'$(UseSystemLzma)' != 'true'" Include="$(IlcFrameworkNativePath)liblzma.a" />
</ItemGroup>

<ItemGroup Condition="'$(StaticICULinking)' == 'true' and '$(NativeLib)' != 'Static' and '$(InvariantGlobalization)' != 'true'">
<NativeLibrary Include="$(IntermediateOutputPath)libs/System.Globalization.Native/build/libSystem.Globalization.Native.a" />
<DirectPInvoke Include="System.Globalization.Native" />
Expand Down Expand Up @@ -228,6 +234,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<NativeSystemLibrary Include="z" Condition="'$(UseSystemZlib)' == 'true'" />
<NativeSystemLibrary Include="brotlienc;brotlidec;brotlicommon" Condition="'$(UseSystemBrotli)' == 'true'" />
<NativeSystemLibrary Include="zstd" Condition="'$(UseSystemZstd)' == 'true'" />
<NativeSystemLibrary Include="lzma" Condition="'$(UseSystemLzma)' == 'true'" />
<NativeSystemLibrary Include="rt" Condition="'$(_IsApplePlatform)' != 'true' and '$(_linuxLibcFlavor)' != 'bionic'" />
<NativeSystemLibrary Include="log" Condition="'$(_linuxLibcFlavor)' == 'bionic'" />
<NativeSystemLibrary Include="icucore" Condition="'$(_IsApplePlatform)' == 'true'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<NativeLibrary Include="$(IlcSdkPath)brotlienc$(LibFileExt)" />
<NativeLibrary Include="$(IlcSdkPath)brotlidec$(LibFileExt)" />
<NativeLibrary Include="$(IlcSdkPath)zstd_static$(LibFileExt)" />
<NativeLibrary Include="$(IlcSdkPath)lzma$(LibFileExt)" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@
<!-- zstd-specific files -->
<PlatformManifestFileEntry Include="libzstd.a" IsNative="true" />
<PlatformManifestFileEntry Include="zstd_static.lib" IsNative="true" />
<!-- xz/lzma-specific files -->
<PlatformManifestFileEntry Include="liblzma.a" IsNative="true" />
<PlatformManifestFileEntry Include="lzma.lib" IsNative="true" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions src/native/external/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
"$schema": "https://json.schemastore.org/component-detection-manifest.json",
"version": 1,
"registrations": [
{
"component": {
"type": "git",
"git": {
"repositoryUrl": "https://github.com/tukaani-project/xz",
"commitHash": "3d078b52adbff566ccfc51067dfbf742ecf3ef86"
}
},
"developmentDependency": false
},
{
"component": {
"type": "git",
Expand Down
Loading
Loading