Rebuild with Clang toolchain

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-11-05 15:44:27 +02:00
parent 1ca1fba290
commit 3867a191df
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 4 additions and 3 deletions

View File

@ -7,9 +7,7 @@
# We are building with clang for faster/lower memory LTO builds.
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_macros
%ifnarch riscv64
%global toolchain clang
%endif
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
@ -111,7 +109,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
Release: 1.1.riscv64%{?dist}
Release: 1.2.riscv64%{?dist}
Summary: The Low Level Virtual Machine
License: Apache-2.0 WITH LLVM-exception OR NCSA
@ -620,6 +618,9 @@ fi
%changelog
%{?llvm_snapshot_changelog_entry}
* Sun Nov 05 2023 David Abdurachmanov <davidlt@rivosinc.com> - 17.0.4-1.2.riscv64
- Rebuild with Clang
* Fri Nov 03 2023 David Abdurachmanov <davidlt@rivosinc.com> - 17.0.4-1.1.riscv64
- Disable LTO build
- Build with GCC