From 4da44423ea389fb9632632db134a1ebfded6db08 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 6 Jun 2018 22:47:00 +0000 Subject: [PATCH] Revert "Reduce the number of enabled targets based on the architecture" This reverts commit b772b3b219546d9bfaadfc2f715a446914088187. This breaks the ABI, so backing this out until the 7.0.0 release. --- llvm.spec | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/llvm.spec b/llvm.spec index 2170159..5c8de0b 100644 --- a/llvm.spec +++ b/llvm.spec @@ -12,25 +12,9 @@ %global rc_ver 1 -%ifarch s390x -%global llvm_targets SystemZ;BPF -%endif -%ifarch ppc64 ppc64le -%global llvm_targets PowerPC;AMDGPU;BPF -%endif -%ifarch %ix86 x86_64 -%global llvm_targets X86;AMDGPU;NVPTX;BPF -%endif -%ifarch aarch64 -%global llvm_targets AArch64;AMDGPU;BPF -%endif -%ifarch %{arm} -%global llvm_targets ARM;BPF -%endif - Name: llvm Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 0.2.rc%{rc_ver}%{?dist} +Release: 0.3.rc%{rc_ver}%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -127,7 +111,7 @@ cd _build -DLLVM_LIBDIR_SUFFIX= \ %endif \ - -DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \ + -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;ARM;Mips;BPF" \ -DLLVM_ENABLE_LIBCXX:BOOL=OFF \ -DLLVM_ENABLE_ZLIB:BOOL=ON \ -DLLVM_ENABLE_FFI:BOOL=ON \ @@ -226,6 +210,9 @@ fi %{_libdir}/cmake/llvm/LLVMStaticExports.cmake %changelog +* Wed Jun 06 2018 Tom Stellard - 6.0.1-0.3.rc1 +- Re-enable all targets to avoid breaking the ABI. + * Mon Jun 04 2018 Tom Stellard - 6.0.1-0.2.rc1 - Reduce the number of enabled targets based on the architecture