summaryrefslogtreecommitdiff
path: root/usr.bin/zstd
AgeCommit message (Collapse)Author
13 dayszstd: Move to a new zstd packageLexi Winter
Zstd is a discrete, self-contained system component. To match how we package zlib, bzip2 and xz, move it to its own package, with a separate lib package. Add the new package to the minimal set, since this is a core component that users expect to be installed. This change adds a new package to the system so, until we have a proper policy on how to handle this in release/stable branches, it should not be MFC'd. MFC after: never Reviewed by: bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53603
2025-02-11src: Use gnu17 as the default C standard for userland instead of gnu99Minsoo Choo
Tracking newer versions of C (and C++) permits assuming newer language features in the base system. Some C11 extensions are already used in the base system but implemented on top of GNU C extensions such as _Alignas and _Static_assert. In some cases the fallback versions in cdefs.h are more limited than the native C11 extensions. Even though C11 is the next major version of C, C17 is chosen instead since C17 does not add new features to C but merely fixes defects in C11. It is also well supported by a wide range of clang (7.0.0+) and GCC (8.1+) versions. Along with changing the default, this change also removes explicit requests for c11 via the CSTD variable in various Makefiles. Libraries and binaries for ZFS continue to use c99. PR: 284039 (exp-run) Reviewed by: imp, arichardson, emaste Differential Revision: https://reviews.freebsd.org/D43237
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-04-18Update/fix Makefile.depend for userlandSimon J. Gerraty
2023-01-27MFV: zstd 1.5.2Allan Jude
Merge commit 'b3392d84da5bf2162baf937c77e0557f3fd8a52b' into zstd_1.5.2 full changelog: https://github.com/facebook/zstd/compare/v1.4.8...v1.5.2 Updated sys/kern/subr_compressor.c to new API MFC after: 3 days Relnotes: yes Sponsored by: Klara, Inc.
2022-03-01zstd: build with C11Mateusz Guzik
This enables thread-aware timers which in turn fixes benchmark result reports. Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D34238
2020-09-11Only set WARNS if not definedKyle Evans
This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. MFC after: 1 week Notes: svn path=/head/; revision=365631
2019-04-19Update to Zstandard 1.4.0Conrad Meyer
The full release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.0 Relnotes: yes Notes: svn path=/head/; revision=346364
2018-12-29Update to Zstandard 1.3.8Conrad Meyer
This merge brings in a couple new files, which needed to be attached to the build; a new dependency on <limits.h>, which must be stubbed; and a name change in the Context parameter constants, from ZSTD_p_foo to ZSTD_c_foo. Significantly, it fixes a kernel build error with GCC where floating-point functions were included in the kernel build, by hiding them under the same compile-time #ifdef that already covered their invocation. That issue was introduced to FreeBSD in the 1.3.7 update and tracked upstream here: https://github.com/facebook/zstd/issues/1386 The full 1.3.8 release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.3.8 Relnotes: yes Notes: svn path=/head/; revision=342598
2018-04-25Use a script wrapper for <compress>grepBaptiste Daroussin
Import the wrapper script from zstdgrep (written by wiz@netbsd.org) Modify it to support more than just zstd (adding support for gzip, lzma, xz and bzip2) Write a simple manpage dedicated for it. Only use that new wrapper both for gnu grep and bsd grep Next step will be removing code related to compression format from bsdgrep Reviewed by: kevans Approved by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15193 Notes: svn path=/head/; revision=332993
2017-11-14Move zstd from contrib to sys/contrib so it can be used in theWarner Losh
kernel. Adjust the Makefiles that referenced it to the new path. Sponsored by: Netflix OK'd by: cem@ and AllanJude@ Notes: svn path=/head/; revision=325792
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2017-05-09DIRDEPS_BUILD: Connect new directories.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=317999
2017-05-06Build zstandard with threading enabledBaptiste Daroussin
Notes: svn path=/head/; revision=317879
2017-05-06Add a zstdmt which is equivalent as running zstd -T0Baptiste Daroussin
Notes: svn path=/head/; revision=317878
2017-05-06Import Zstandard 1.2.0Baptiste Daroussin
Among new things it is now threaded by default, use zstd -T# to chose the number of threads not that -T0 will automatically determine the number of threads based on the number of CPU online. Notes: svn path=/head/; revision=317877
2017-04-15Install the zstdgrep shell wrapperBaptiste Daroussin
Notes: svn path=/head/; revision=316985
2017-04-15Add forgotten links for zstdcat and unzstdBaptiste Daroussin
Notes: svn path=/head/; revision=316983
2017-04-15Import zstandard 1.1.4 in baseBaptiste Daroussin
zstandard is a new compression library/tool which is very fast at compression/decompression For now import as a private library Notes: svn path=/head/; revision=316978