aboutsummaryrefslogtreecommitdiff
path: root/tools/libdeflate
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2024-04-05 14:29:50 +0200
committerRobert Marko <robimarko@gmail.com>2024-04-06 11:24:18 +0200
commited149717eec3bfe42d4cc32ee1d74cc53a19bad5 (patch)
tree0f6e076a0d54f06f5ff83e23dfbe123acce30186 /tools/libdeflate
parent4b920e799fba445c450d9bc86843c0a37e202e7f (diff)
tools: zstd: override max safe compression level
ZTSD limits the safe compression level to a max of 19 as 20 to 22 cause increased RAM usage. Higher levels require --ultra arg passed. There isn't currently a way to set --ultra using ENV options similar to ZSTD_CLEVEL and ZSTD_CLEVEL is limited to 19. To fix this, we can increase the max safe compression level by providing a custom ZSTDCLI_CLEVEL_MAX value with CFLAGS. The max safe level is increased to 20. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'tools/libdeflate')
0 files changed, 0 insertions, 0 deletions