Compile with Clang

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-10-09 07:46:13 +03:00
parent 2085265540
commit debf7e21e4
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,6 @@
# 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
# Components enabled if supported by target architecture:
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
@ -78,7 +76,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Release: 1.1.riscv64%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@ -571,6 +569,9 @@ fi
%endif
%changelog
* Tue Oct 04 2022 David Abdurachmanov <davidlt@rivosinc.com> - 15.0.0-1.1.riscv64
- Compile with Clang
* Tue Oct 04 2022 David Abdurachmanov <davidlt@rivosinc.com> - 15.0.0-1.0.riscv64
- Disable tests on riscv64 for now
- Disable LTO on riscv64 (there is no thin LTO in GCC)