| #
c0d9a071
|
| 08-Apr-2026 |
Xin LI <delphij@FreeBSD.org> |
MFV: zstd 1.5.7.
MFC after: 2 weeks Relnotes: yes
|
| #
9c401bf1
|
| 06-Jan-2026 |
Lexi Winter <ivy@FreeBSD.org> |
zstd: Move to a new zstd package
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 n
zstd: Move to a new zstd package
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
show more ...
|
| #
e9ac4169
|
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
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
|
| #
4101bcfa
|
| 22-Aug-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libzstd: Explicitly define ZSTD_DISABLE_ASM
On FreeBSD, ZSTD_ASM_SUPPORTED is defined as 0, but on macOS and Linux it is defined as 1, yet we don't build any of the assembly sources. Rather than add
libzstd: Explicitly define ZSTD_DISABLE_ASM
On FreeBSD, ZSTD_ASM_SUPPORTED is defined as 0, but on macOS and Linux it is defined as 1, yet we don't build any of the assembly sources. Rather than add them just for bootstrapping on non-FreeBSD, explicitly define ZSTD_DISABLE_ASM so they're not needed and everything is consistent.
This fixes building a bootstrap LLVM toolchain on non-FreeBSD amd64 (the only architecture with assembly available).
Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D41543
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
5f2aca83
|
| 08-Feb-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.c:889:25: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical] (BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
While the warning is benign, it should ideally be fixed upstream and then vendor-imported, but for now silence it selectively.
MFC after: 3 days
show more ...
|
| #
98689d0f
|
| 03-Jan-2021 |
Conrad Meyer <cem@FreeBSD.org> |
libprivatezstd: Restrict symbol visibility similar to upstream
We have to relax three symbols to dynamically link zstd(1), but the rest are the same.
|
| #
6cd88fe0
|
| 12-Nov-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Move libprivatezstd from utilities to runtime
libarchive depends on it by default and tar uses libarchive. So on a update : 1/ runtime contain tar 2/ runtime have libarchive in shlibs_requi
pkgbase: Move libprivatezstd from utilities to runtime
libarchive depends on it by default and tar uses libarchive. So on a update : 1/ runtime contain tar 2/ runtime have libarchive in shlibs_required 3/ libarchive packages depends on utilities 4/ utilities depends on runtime 5/ kaboom
All users of libprivatezstd (libarchive related stuff and objcopy/ar) are already in utilities.
Discussed with: bapt
show more ...
|
| #
ecebb3cc
|
| 11-Sep-2020 |
Kyle Evans <kevans@FreeBSD.org> |
Only set WARNS if not defined
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_WE
Only set WARNS if not defined
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
show more ...
|
| #
37f1f268
|
| 23-May-2020 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.4.5
As usual, the full release notes are found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.5
Notable changes include:
* Improved decompress performance o
Update to Zstandard 1.4.5
As usual, the full release notes are found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.5
Notable changes include:
* Improved decompress performance on amd64 and arm (5-10% and 15-50%, respectively). * '--patch-from' zstd(1) CLI option, which provides something like a very fast version of bspatch(1) with slightly worse compression. See release notes.
In this update, I dropped the 3-year old -O0 workaround for an LLVM ARM bug; the bug was fixed in LLVM SVN in 2017, but we didn't remove this workaround from our tree until now.
MFC after: I won't, but feel free Relnotes: yes
show more ...
|
| #
4d3f1eaf
|
| 08-Aug-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.4.2
The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.1 https://github.com/facebook/zstd/rele
Update to Zstandard 1.4.2
The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.1 https://github.com/facebook/zstd/releases/tag/v1.4.2
These are mostly minor updates; 1.4.1 purportedly brings something like 7% faster decompression speed.
Relnotes: yes
show more ...
|
| #
a0483764
|
| 29-Dec-2018 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.3.8
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 p
Update to Zstandard 1.3.8
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
show more ...
|
| #
c6879c6c
|
| 23-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339015 through r339669.
|
| #
0f743729
|
| 22-Oct-2018 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.3.7
Relnotes: yes Sponsored by: Dell EMC Isilon
|
| #
9c401bf1
|
| 06-Jan-2026 |
Lexi Winter <ivy@FreeBSD.org> |
zstd: Move to a new zstd package
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 n
zstd: Move to a new zstd package
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
show more ...
|
| #
e9ac4169
|
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
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
|
| #
4101bcfa
|
| 22-Aug-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
libzstd: Explicitly define ZSTD_DISABLE_ASM
On FreeBSD, ZSTD_ASM_SUPPORTED is defined as 0, but on macOS and Linux it is defined as 1, yet we don't build any of the assembly sources. Rather than add
libzstd: Explicitly define ZSTD_DISABLE_ASM
On FreeBSD, ZSTD_ASM_SUPPORTED is defined as 0, but on macOS and Linux it is defined as 1, yet we don't build any of the assembly sources. Rather than add them just for bootstrapping on non-FreeBSD, explicitly define ZSTD_DISABLE_ASM so they're not needed and everything is consistent.
This fixes building a bootstrap LLVM toolchain on non-FreeBSD amd64 (the only architecture with assembly available).
Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D41543
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
5f2aca83
|
| 08-Feb-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.c:889:25: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical] (BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
While the warning is benign, it should ideally be fixed upstream and then vendor-imported, but for now silence it selectively.
MFC after: 3 days
show more ...
|
| #
98689d0f
|
| 03-Jan-2021 |
Conrad Meyer <cem@FreeBSD.org> |
libprivatezstd: Restrict symbol visibility similar to upstream
We have to relax three symbols to dynamically link zstd(1), but the rest are the same.
|
| #
6cd88fe0
|
| 12-Nov-2020 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Move libprivatezstd from utilities to runtime
libarchive depends on it by default and tar uses libarchive. So on a update : 1/ runtime contain tar 2/ runtime have libarchive in shlibs_requi
pkgbase: Move libprivatezstd from utilities to runtime
libarchive depends on it by default and tar uses libarchive. So on a update : 1/ runtime contain tar 2/ runtime have libarchive in shlibs_required 3/ libarchive packages depends on utilities 4/ utilities depends on runtime 5/ kaboom
All users of libprivatezstd (libarchive related stuff and objcopy/ar) are already in utilities.
Discussed with: bapt
show more ...
|
| #
ecebb3cc
|
| 11-Sep-2020 |
Kyle Evans <kevans@FreeBSD.org> |
Only set WARNS if not defined
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_WE
Only set WARNS if not defined
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
show more ...
|
| #
37f1f268
|
| 23-May-2020 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.4.5
As usual, the full release notes are found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.5
Notable changes include:
* Improved decompress performance o
Update to Zstandard 1.4.5
As usual, the full release notes are found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.5
Notable changes include:
* Improved decompress performance on amd64 and arm (5-10% and 15-50%, respectively). * '--patch-from' zstd(1) CLI option, which provides something like a very fast version of bspatch(1) with slightly worse compression. See release notes.
In this update, I dropped the 3-year old -O0 workaround for an LLVM ARM bug; the bug was fixed in LLVM SVN in 2017, but we didn't remove this workaround from our tree until now.
MFC after: I won't, but feel free Relnotes: yes
show more ...
|
| #
4d3f1eaf
|
| 08-Aug-2019 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.4.2
The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.1 https://github.com/facebook/zstd/rele
Update to Zstandard 1.4.2
The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github:
https://github.com/facebook/zstd/releases/tag/v1.4.1 https://github.com/facebook/zstd/releases/tag/v1.4.2
These are mostly minor updates; 1.4.1 purportedly brings something like 7% faster decompression speed.
Relnotes: yes
show more ...
|
| #
a0483764
|
| 29-Dec-2018 |
Conrad Meyer <cem@FreeBSD.org> |
Update to Zstandard 1.3.8
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 p
Update to Zstandard 1.3.8
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
show more ...
|