Files
bpfire/lfs/zstd
Adolf Belka 51c7cfed81 zstd: Update to version 1.5.5
- Update from version 1.5.4 to 1.5.5
- Update of rootfile
- Changelog
    v1.5.5 (Apr 2023)
	fix: fix rare corruption bug affecting the high compression mode, reported by @danlark1 (#3517, @terrelln)
	perf: improve mid-level compression speed (#3529, #3533, #3543, @yoniko and #3552, @terrelln)
	lib: deprecated bufferless block-level API (#3534) by @terrelln
	cli: mmap large dictionaries to save memory, by @daniellerozenblit
	cli: improve speed of --patch-from mode (~+50%) (#3545) by @daniellerozenblit
	cli: improve i/o speed (~+10%) when processing lots of small files (#3479) by @felixhandte
	cli: zstd no longer crashes when requested to write into write-protected directory (#3541) by @felixhandte
	cli: fix decompression into block device using -o, reported by @georgmu (#3583)
	build: fix zstd CLI compiled with lzma support but not zlib support (#3494) by @Hello71
	build: fix cmake does no longer require 3.18 as minimum version (#3510) by @kou
	build: fix MSVC+ClangCL linking issue (#3569) by @tru
	build: fix zstd-dll, version of zstd CLI that links to the dynamic library (#3496) by @yoniko
	build: fix MSVC warnings (#3495) by @embg
	doc: updated zstd specification to clarify corner cases, by @Cyan4973
	doc: document how to create fat binaries for macos (#3568) by @rickmark
	misc: improve seekable format ingestion speed (~+100%) for very small chunk sizes (#3544) by @Cyan4973
	misc: tests/fullbench can benchmark multiple files (#3516) by @dloidolt

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-05-03 07:52:26 +00:00

89 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 1.5.5
THISAPP = zstd-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
ifeq "$(TOOLCHAIN)" "1"
TARGET = $(DIR_INFO)/$(THISAPP)-tools
PREFIX = $(TOOLS_DIR)
CC = $(CROSSTARGET)-gcc
else
TARGET = $(DIR_INFO)/$(THISAPP)
PREFIX = /usr
CC = gcc
endif
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 7680e27a0adacfb809d9fc81e06d3f99bf74df30374d3b5cb2d58f667dd1b7d5c41697e608592709e17c0e32277f20a6d615edee409b5d7cdcb15da2799a2350
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && make CC=$(CC) $(MAKETUNING)
cd $(DIR_APP) && make prefix=$(PREFIX) install
@rm -rf $(DIR_APP)
@$(POSTBUILD)