Remove -plugin-opt for unittests
[..] /usr/bin/ld: bad -plugin-opt option clang-16: error: linker command failed with exit code 1 (use -v to see invocation) [..] This might require Clang 17. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
bbf69479e8
commit
6f028d56ad
|
@ -84,7 +84,7 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 5.0.riscv64%{?dist}
|
||||
Release: 5.1.riscv64%{?dist}
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||
|
@ -333,8 +333,7 @@ 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_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0"
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF
|
||||
|
||||
# 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
|
||||
|
@ -581,6 +580,9 @@ fi
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Nov 02 2023 David Abdurachmanov <davidlt@rivosinc.com> - 16.0.6-5.1.riscv64
|
||||
- Remove -plugin-opt for unittests
|
||||
|
||||
* Mon Oct 30 2023 David Abdurachmanov <davidlt@rivosinc.com> - 16.0.6-5.0.riscv64
|
||||
- Disable tests on riscv64 for now
|
||||
- Lower memory consumption on riscv64
|
||||
|
|
Loading…
Reference in New Issue