Build with clang
This commit is contained in:
parent
e1056b533a
commit
6b3a1ab316
@ -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:
|
# Components enabled if supported by target architecture:
|
||||||
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
|
%define gold_arches %{ix86} x86_64 %{arm} aarch64 %{power64} s390x
|
||||||
%ifarch %{gold_arches}
|
%ifarch %{gold_arches}
|
||||||
@ -64,7 +67,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -85,6 +88,7 @@ Patch2: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
|
|||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: clang
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -545,6 +549,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Oct 08 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-4
|
||||||
- Fix default triple on arm
|
- Fix default triple on arm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user