lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors.
It joins all compressors into a single executable. At the beginning, an
input file is read to memory. Then all compressors are used to compress
and decompress the file and decompressed file is verified.
This approach has a big advantage of using the same compiler with the same
optimizations for all compressors. The disadvantage is that it requires
source code of each compressor (therefore Slug or lzturbo are not included).
===> The following configuration options are available for lzbench-2.3:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
benchmarks/lzbench: update the port to the latest version 2.1
- Source code had been reorganized upstream, so the paths to
various files we patch had changed
- The `pithy' codec had been removed because it is very bad
with incompressible data (doesn't fit to allocated buffers)
Reported by: portscout
benchmarks/lzbench: try to unbreak the port's build against newer Clang
As of September 2023 (llvmorg-18.1.0-rc1) /usr/include/c++/v1/__config
no longer includes <sys/endian.h>, because both Clang and GCC always
define __BYTE_ORDER__ macro. This had accidentally revealed a problem
in Kanzi data compressor which was including <machine/endian.h> to no
avail. Replace it with <sys/endian.h> to obtain bswap??() definitions.
Reported by: pkg-fallout
PR: 285285
LLVM commit: https://github.com/llvm/llvm-project/commit/0a97720
benchmarks/lzbench: the port had been updated to version 2.0.1
Adjust preprocessor logic for the fact that FreeBSD has proper
directory(3) and nanosleep(2) support.
PR: 284231
Reported by: portscout
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
benchmarks/lzbench: fix the port's build on ARM and RISC-V
While here, mute the compiler when it is being called inside the
GNU make's $(shell ...) context: these errors do not cause build
failures (they are not propagated to the caller) but can confuse
careless readers of the build log.
PR: 260625
- Update `benchmarks/lzbench' to version 1.7.4
- Install README.md file as part of documentation
- Garbage-collect no longer useful patches
Reported by: portscout
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Unbreak the build against Clang 6.0.0 by allowing certain warnings while I'm
not in the mood for fixing them (technically, `-Wno-c++11-narrowing' is only
required for Clang 6 and later, but since it does not apparently upset other
compilers, pass it unconditionally rather than complicate Makefile logic).
Add a port of lzbench, an in-memory benchmark of open-source LZ77/LZSS/LZMA
compressors. It joins all compressors into a single executable. At the
beginning, an input file is read to memory. Then all compressors are used
to compress and decompress the file and decompressed file is verified.
WWW: https://github.com/inikep/lzbench
Add a port of libdeflate, a library for fast, whole-buffer DEFLATE-based
compression and decompression.
WWW: https://github.com/ebiggers/libdeflate
Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1515146810 which corresponds to commit 6c4ad37 tagged
as this release.