Bring back -plugin-opt for unittests

We have Clang 17 available now.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-07 09:05:15 +02:00
parent 6f028d56ad
commit 99df8727c6
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 6 additions and 2 deletions

View File

@ -84,7 +84,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
Release: 5.1.riscv64%{?dist}
Release: 5.2.riscv64%{?dist}
Summary: The Low Level Virtual Machine
License: Apache-2.0 WITH LLVM-exception OR NCSA
@ -333,7 +333,8 @@ export ASMFLAGS=$CFLAGS
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \
-DLLVM_INCLUDE_BENCHMARKS=OFF
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0"
# Build libLLVM.so first. This ensures that when libLLVM.so is linking, there
# are no other compile jobs running. This will help reduce OOM errors on the
@ -580,6 +581,9 @@ fi
%endif
%changelog
* Tue Nov 07 2023 David Abdurachmanov <davidlt@rivosinc.com> - 16.0.6-5.2.riscv64
- Bring back -plugin-opt for unittests
* Thu Nov 02 2023 David Abdurachmanov <davidlt@rivosinc.com> - 16.0.6-5.1.riscv64
- Remove -plugin-opt for unittests