Skip to content

Commit d28725b

Browse files
committed
Enable LLVM_ENABLE_ZSTD
Fixes rhbz#2321848.
1 parent 578ded7 commit d28725b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

llvm.spec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
#region main package
183183
Name: %{pkg_name_llvm}
184184
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
185-
Release: 1%{?dist}
185+
Release: 2%{?dist}
186186
Summary: The Low Level Virtual Machine
187187

188188
License: Apache-2.0 WITH LLVM-exception OR NCSA
@@ -291,6 +291,7 @@ BuildRequires: cmake
291291
BuildRequires: chrpath
292292
BuildRequires: ninja-build
293293
BuildRequires: zlib-devel
294+
BuildRequires: libzstd-devel
294295
BuildRequires: libffi-devel
295296
BuildRequires: ncurses-devel
296297
# This intentionally does not use python3_pkgversion. RHEL 8 does not have
@@ -974,6 +975,7 @@ popd
974975
-DLLVM_ENABLE_PROJECTS="%{projects}" \\\
975976
-DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload" \\\
976977
-DLLVM_ENABLE_ZLIB:BOOL=ON \\\
978+
-DLLVM_ENABLE_ZSTD:BOOL=FORCE_ON \\\
977979
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{experimental_targets_to_build} \\\
978980
-DLLVM_INCLUDE_BENCHMARKS=OFF \\\
979981
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \\\
@@ -2496,6 +2498,9 @@ fi
24962498

24972499
#region changelog
24982500
%changelog
2501+
* Tue Nov 26 2024 Tulio Magno Quites Machado Filho <[email protected]> - 19.1.4-2
2502+
- Enable LLVM_ENABLE_ZSTD (rhbz#2321848)
2503+
24992504
* Thu Nov 21 2024 Timm Bäder <[email protected]> - 19.1.4-1
25002505
- Update to 19.1.4
25012506

0 commit comments

Comments
 (0)