From 6b3a1ab316be4b16c0447cca77fe5b16798a0aa1 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 23 Apr 2021 21:10:27 +0000 Subject: [PATCH] Build with clang --- llvm.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 3ff1552..3498a35 100644 --- a/llvm.spec +++ b/llvm.spec @@ -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 - 13.0.0-5 +- Build with clang + * Fri Oct 08 2021 Tom Stellard - 13.0.0-4 - Fix default triple on arm