Skip to content

Commit

Permalink
Move zlib-intel to src/native/external
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Dec 11, 2021
1 parent 7db8138 commit 31c4d33
Show file tree
Hide file tree
Showing 32 changed files with 26 additions and 23 deletions.
6 changes: 6 additions & 0 deletions src/native/external/zlib-intel-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bf103c626c6c0d80580748f6b814ec534614ca52

https://github.com/jtkukunas/zlib/commit/bf103c626c6c0d80580748f6b814ec534614ca52

Note: This library is not using a proper release lifecycle. v1.2.11.1_jtkv6.3 was the last version released in 2019.
Therefore, we are pointing to a random commit from 2021 rather than a version tag.
19 changes: 19 additions & 0 deletions src/native/external/zlib-intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set(ZLIB_SOURCES_BASE
adler32.c
compress.c
crc_folding.c
crc32.c
deflate_medium.c
deflate_quick.c
deflate.c
inffast.c
inflate.c
inftrees.c
match.c
slide_sse.c
trees.c
x86.c
zutil.c
)

addprefix(ZLIB_SOURCES "${CMAKE_CURRENT_LIST_DIR}/zlib-intel" "${ZLIB_SOURCES_BASE}")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 1 addition & 17 deletions src/native/libs/System.IO.Compression.Native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,7 @@ else ()
endif ()

if (CLR_CMAKE_HOST_ARCH_I386 OR CLR_CMAKE_HOST_ARCH_AMD64)
set(ZLIB_SOURCES
zlib-intel/adler32.c
zlib-intel/compress.c
zlib-intel/crc_folding.c
zlib-intel/crc32.c
zlib-intel/deflate_medium.c
zlib-intel/deflate_quick.c
zlib-intel/deflate.c
zlib-intel/inffast.c
zlib-intel/inflate.c
zlib-intel/inftrees.c
zlib-intel/match.c
zlib-intel/slide_sse.c
zlib-intel/trees.c
zlib-intel/x86.c
zlib-intel/zutil.c
)
include(${CLR_SRC_NATIVE_DIR}/external/zlib-intel.cmake)
else ()
include(${CLR_SRC_NATIVE_DIR}/external/zlib.cmake)
endif ()
Expand Down
6 changes: 0 additions & 6 deletions src/native/libs/System.IO.Compression.Native/zlib.md

This file was deleted.

0 comments on commit 31c4d33

Please sign in to comment.