Revert "Reduce the number of enabled targets based on the architecture"
This reverts commit b772b3b219
.
This breaks the ABI, so backing this out until the 7.0.0 release.
This commit is contained in:
parent
b772b3b219
commit
4da44423ea
23
llvm.spec
23
llvm.spec
@ -12,25 +12,9 @@
|
|||||||
|
|
||||||
%global rc_ver 1
|
%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
|
Name: llvm
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
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
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -127,7 +111,7 @@ cd _build
|
|||||||
-DLLVM_LIBDIR_SUFFIX= \
|
-DLLVM_LIBDIR_SUFFIX= \
|
||||||
%endif
|
%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_LIBCXX:BOOL=OFF \
|
||||||
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
||||||
-DLLVM_ENABLE_FFI:BOOL=ON \
|
-DLLVM_ENABLE_FFI:BOOL=ON \
|
||||||
@ -226,6 +210,9 @@ fi
|
|||||||
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
|
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 06 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.3.rc1
|
||||||
|
- Re-enable all targets to avoid breaking the ABI.
|
||||||
|
|
||||||
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
|
* Mon Jun 04 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-0.2.rc1
|
||||||
- Reduce the number of enabled targets based on the architecture
|
- Reduce the number of enabled targets based on the architecture
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user