Compare commits

..

2 commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
f7db29652d Enable DFLTCC on s390x
Ensure DFLTCC is enabled on s390x for both deflate and inflate.

(cherry picked from commit c93c81c630)
2025-12-15 10:24:53 -03:00
Packit
9579d95ccf Update to 2.3.2 upstream release
- Resolves: rhbz#2418517

Upstream tag: 2.3.2
Upstream commit: 6d9f3dc0

Commit authored by Packit automation (https://packit.dev/)
2025-12-03 09:00:15 +00:00

View file

@ -98,25 +98,12 @@ cat <<_EOF_
_EOF_
# zlib-ng uses a different macro for library directory.
%global cmake_param %{?with_sanitizers:-DWITH_SANITIZER=ON}
%ifarch riscv64
%global cmake_param %cmake_param -DWITH_RVV=OFF
%endif
%global cmake_param %{?with_sanitizers:-DWITH_SANITIZER=ON} -DWITH_RVV=OFF
%ifarch s390x
%global cmake_param %cmake_param -DWITH_DFLTCC_DEFLATE=ON -DWITH_DFLTCC_INFLATE=ON
%endif
%if 0%{?rhel} >= 10
%ifarch x86_64
# RHEL 10 has x86_64-v3 as baseline, turning the CRC32 Chorba optimization
# unnecessary.
# More info: https://github.com/zlib-ng/zlib-ng/releases/tag/2.3.1
%global cmake_param %cmake_param -DWITH_CRC32_CHORBA=OFF
%endif
%endif
# Setting __cmake_builddir is not necessary in this step, but do it anyway for symmetry.
%global __cmake_builddir %{_vpath_builddir}
%cmake %{cmake_param}