Compare commits

..

5 commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
c93c81c630 Enable DFLTCC on s390x
Ensure DFLTCC is enabled on s390x for both deflate and inflate.
2025-12-12 10:36:45 -03:00
Packit
d5f7e25717 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:04 +00:00
Tulio Magno Quites Machado Filho
f8484b5212 Do not build CRC32 Chorba optimization on RHEL10+
RHEL 10 requires x86_64-v3. Meanwhile, CRC32 Chorba is used on x86_64-v2
and older processors.

[skip changelog]
2025-11-27 16:03:47 -03:00
Tulio Magno Quites Machado Filho
c8c1c8f78d Stop using riscv64 settings on other architectures
While having this parameter doesn't, it does generate extra warnings to
the build log.

[skip changelog]
2025-11-27 16:03:02 -03:00
Packit
39ebff5723 Update to 2.3.1 upstream release
- Resolves: rhbz#2417595

Upstream tag: 2.3.1
Upstream commit: 68c83bf4

Commit authored by Packit automation (https://packit.dev/)
2025-11-27 17:24:13 +00:00

View file

@ -98,12 +98,25 @@ cat <<_EOF_
_EOF_
# zlib-ng uses a different macro for library directory.
%global cmake_param %{?with_sanitizers:-DWITH_SANITIZER=ON} -DWITH_RVV=OFF
%global cmake_param %{?with_sanitizers:-DWITH_SANITIZER=ON}
%ifarch riscv64
%global cmake_param %cmake_param -DWITH_RVV=OFF
%endif
%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}