Skip to content

Commit

Permalink
compressor/zlib: CMakeLists adaptation with isa-l v2.29.0
Browse files Browse the repository at this point in the history
Signed-off-by: Hang Li <[email protected]>
  • Loading branch information
Hang Li authored and rosinL committed Mar 10, 2020
1 parent 441aa36 commit b51f49b
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions src/compressor/zlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,42 @@ if(HAVE_INTEL_SSE4_1 AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
set(zlib_sources
CompressionPluginZlib.cc
ZlibCompressor.cc
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/crc32_gzip.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/crc32_gzip_base.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/detect_repeated_char.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/encode_df.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/encode_df_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/flatten_ll.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/huff_codes.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/hufftables_c.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/hufftables_c.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_base.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_body_01.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_body_02.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_body_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_finish.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_base.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_body_01.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_body_02.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_body_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/adler32_base.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/flatten_ll.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/encode_df.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_body.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_inflate.c
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/huff_codes.c
${CMAKE_SOURCE_DIR}/src/isa-l/crc/crc_base_aliases.c
${CMAKE_SOURCE_DIR}/src/isa-l/crc/crc_base.c
${CMAKE_SOURCE_DIR}/src/isa-l/crc/crc64_base.c
)
list(APPEND zlib_sources
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_body.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_finish.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_body_h1_gr_bt.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_icf_finish.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/rfc1951_lookup.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/adler32_sse.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/adler32_avx2_4.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_multibinary.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_update_histogram_01.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_update_histogram_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_decode_block_stateless_01.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_decode_block_stateless_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_inflate_multibinary.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/encode_df_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/encode_df_06.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/proc_heap.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/rfc1951_lookup.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_deflate_hash.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_gen_icf_map_lh1_06.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_gen_icf_map_lh1_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_set_long_icf_fg_04.asm
${CMAKE_SOURCE_DIR}/src/isa-l/igzip/igzip_set_long_icf_fg_06.asm
)
else(HAVE_INTEL_SSE4_1 AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
set(zlib_sources
Expand Down

0 comments on commit b51f49b

Please sign in to comment.