Skip to content

Commit

Permalink
Bump libdeflate (closes #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
astei committed Jul 13, 2024
1 parent 5f2881d commit eb91e25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "libdeflate-java-core/src/main/c/libdeflate"]
path = libdeflate-java-core/src/main/c/libdeflate
url = https://github.com/ebiggers/libdeflate.git
url = https://github.com/ebiggers/libdeflate.git
3 changes: 2 additions & 1 deletion libdeflate-java-core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CFLAGS += -std=c99 -fvisibility=hidden \
$(call cc-option,-Wvla) \
$(call cc-option,-Wimplicit-fallthrough)

SRCS = $(wildcard $(SRC_DIR)/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/arm/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/x86/*.c)
SRCS = $(wildcard $(SRC_DIR)/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/arm/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/x86/*.c) $(wildcard $(SRC_DIR)/libdeflate/lib/riscv/*.c)
OBJS = $(SRCS:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)

.PHONY: directories
Expand All @@ -59,6 +59,7 @@ ${OBJ_DIR}:
mkdir -p $(OBJ_DIR)/libdeflate/lib
mkdir -p $(OBJ_DIR)/libdeflate/lib/x86
mkdir -p $(OBJ_DIR)/libdeflate/lib/arm
mkdir -p $(OBJ_DIR)/libdeflate/lib/riscv

clean:
rm -rf $(LIB_DIR) $(OBJ_DIR)
Expand Down
2 changes: 1 addition & 1 deletion libdeflate-java-core/src/main/c/libdeflate
Submodule libdeflate updated 94 files
+8 −4 .cirrus.yml
+0 −104 .github/workflows/android.yml
+208 −51 .github/workflows/ci.yml
+4 −20 .gitignore
+270 −0 CMakeLists.txt
+0 −417 Makefile
+0 −65 Makefile.msc
+103 −0 NEWS.md
+61 −141 README.md
+149 −48 common_defs.h
+58 −27 lib/adler32.c
+0 −123 lib/adler32_vec_template.h
+269 −173 lib/arm/adler32_impl.h
+39 −9 lib/arm/cpu_features.c
+126 −124 lib/arm/cpu_features.h
+81 −131 lib/arm/crc32_impl.h
+44 −46 lib/arm/crc32_pmull_helpers.h
+25 −14 lib/arm/crc32_pmull_wide.h
+2 −12 lib/arm/matchfinder_impl.h
+2 −3 lib/bt_matchfinder.h
+4 −2 lib/cpu_features_common.h
+4 −5 lib/crc32.c
+85 −37 lib/crc32_multipliers.h
+9 −6 lib/decompress_template.h
+530 −278 lib/deflate_compress.c
+73 −41 lib/deflate_decompress.c
+2 −4 lib/gzip_compress.c
+2 −4 lib/gzip_decompress.c
+2 −3 lib/hc_matchfinder.h
+2 −2 lib/ht_matchfinder.h
+45 −8 lib/lib_common.h
+30 −5 lib/matchfinder_common.h
+97 −0 lib/riscv/matchfinder_impl.h
+14 −26 lib/utils.c
+72 −191 lib/x86/adler32_impl.h
+518 −0 lib/x86/adler32_template.h
+112 −69 lib/x86/cpu_features.c
+104 −99 lib/x86/cpu_features.h
+103 −41 lib/x86/crc32_impl.h
+341 −175 lib/x86/crc32_pclmul_template.h
+16 −8 lib/x86/decompress_impl.h
+1 −3 lib/x86/matchfinder_impl.h
+2 −4 lib/zlib_compress.c
+2 −4 lib/zlib_decompress.c
+3 −0 libdeflate-config.cmake.in
+125 −72 libdeflate.h
+12 −4 libdeflate.pc.in
+105 −0 programs/CMakeLists.txt
+19 −0 programs/config.h.in
+11 −14 programs/gzip.c
+7 −8 programs/prog_util.c
+69 −5 programs/prog_util.h
+3 −3 programs/test_checksums.c
+83 −13 programs/test_custom_malloc.c
+130 −0 programs/test_invalid_streams.c
+1 −1 programs/test_litrunlen_overflow.c
+5 −6 programs/test_trailing_bytes.c
+7 −13 programs/test_util.c
+2 −8 programs/test_util.h
+0 −11 scripts/afl-fuzz/Makefile
+0 −56 scripts/afl-fuzz/deflate_compress/fuzz.c
+0 −28 scripts/afl-fuzz/deflate_decompress/fuzz.c
+0 −151 scripts/afl-fuzz/fuzz.sh
+0 −28 scripts/afl-fuzz/gzip_decompress/fuzz.c
+0 −28 scripts/afl-fuzz/zlib_decompress/fuzz.c
+25 −15 scripts/android_build.sh
+11 −11 scripts/android_tests.sh
+10 −0 scripts/benchmark.sh
+0 −18 scripts/check.sh
+10 −0 scripts/checksum.sh
+133 −43 scripts/checksum_benchmarks.sh
+17 −0 scripts/cmake-helper.sh
+5 −3 scripts/deflate_benchmarks.sh
+0 −63 scripts/detect.sh
+4 −0 scripts/exec_tests.sh
+37 −0 scripts/gen-release-archives.sh
+11 −15 scripts/gen_crc32_multipliers.c
+9 −21 scripts/gen_offset_slot_map.py
+0 −0 scripts/libFuzzer/.gitignore
+ scripts/libFuzzer/deflate_compress/corpus/0
+52 −0 scripts/libFuzzer/deflate_compress/fuzz.c
+0 −0 scripts/libFuzzer/deflate_decompress/corpus/0
+19 −0 scripts/libFuzzer/deflate_decompress/fuzz.c
+108 −0 scripts/libFuzzer/fuzz.sh
+ scripts/libFuzzer/gzip_decompress/corpus/0
+19 −0 scripts/libFuzzer/gzip_decompress/fuzz.c
+0 −0 scripts/libFuzzer/zlib_decompress/corpus/0
+19 −0 scripts/libFuzzer/zlib_decompress/fuzz.c
+0 −19 scripts/make-windows-releases.sh
+0 −3 scripts/msc_test.bat
+0 −23 scripts/pgo_build.sh
+216 −177 scripts/run_tests.sh
+8 −0 scripts/toolchain-i686-w64-mingw32.cmake
+8 −0 scripts/toolchain-x86_64-w64-mingw32.cmake

0 comments on commit eb91e25

Please sign in to comment.