mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Activate all backend targets
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1689031
This commit is contained in:
parent
2be43deb2e
commit
8af8d081f9
1 changed files with 5 additions and 18 deletions
23
llvm.spec
23
llvm.spec
|
@ -15,22 +15,6 @@
|
|||
%global patch_ver 1
|
||||
#%%global rc_ver 3
|
||||
|
||||
%ifarch s390x
|
||||
%global llvm_targets SystemZ;BPF
|
||||
%endif
|
||||
%ifarch ppc64 ppc64le
|
||||
%global llvm_targets PowerPC;AMDGPU;BPF
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
# ARM/AARCH64 enabled due to rhbz#1627500
|
||||
%global llvm_targets X86;AMDGPU;NVPTX;BPF;ARM;AArch64
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
%global llvm_targets AArch64;AMDGPU;BPF
|
||||
%endif
|
||||
%ifarch %{arm}
|
||||
%global llvm_targets ARM;AMDGPU;BPF
|
||||
%endif
|
||||
|
||||
%if 0%{?compat_build}
|
||||
%global pkg_name llvm%{maj_ver}.%{min_ver}
|
||||
|
@ -55,7 +39,7 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||
Release: 3%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||
Release: 4%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
License: NCSA
|
||||
|
@ -201,7 +185,7 @@ cd _build
|
|||
%endif
|
||||
%endif
|
||||
\
|
||||
-DLLVM_TARGETS_TO_BUILD="%{llvm_targets}" \
|
||||
-DLLVM_TARGETS_TO_BUILD=all \
|
||||
-DLLVM_ENABLE_LIBCXX:BOOL=OFF \
|
||||
-DLLVM_ENABLE_ZLIB:BOOL=ON \
|
||||
-DLLVM_ENABLE_FFI:BOOL=ON \
|
||||
|
@ -451,6 +435,9 @@ fi
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Mar 18 2019 sguelton@redhat.com - 7.0.1-4
|
||||
- Activate all backends (rhbz#1689031)
|
||||
|
||||
* Tue Feb 12 2019 Tom Stellard <tstellar@redhat.com> - 7.0.1-3
|
||||
- Remove unnecessary flags from llvm-config
|
||||
|
||||
|
|
Loading…
Reference in a new issue