Build with clang

This commit is contained in:
Tom Stellard 2021-04-23 21:10:27 +00:00
parent e1056b533a
commit 6b3a1ab316
1 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,6 @@
# We are building with clang for faster/lower memory LTO builds.
%global toolchain clang
# Components enabled if supported by target architecture:
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
%ifarch %{gold_arches}
@ -64,7 +67,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
Release: 4%{?dist}
Release: 5%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@ -85,6 +88,7 @@ Patch2: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: clang
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: zlib-devel
@ -545,6 +549,9 @@ fi
%endif
%changelog
* Mon Oct 18 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-5
- Build with clang
* Fri Oct 08 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
- Fix default triple on arm