- Update to r196487 from release_34 branch to get compiler_rt fixes
- Depend on glibc-devel-32bit on x86 to fix test-suite failures - Ship cmake files for llvm (needed for lldb and such) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=313
This commit is contained in:
committed by
Git OBS Bridge
parent
19733f4c44
commit
519f6712cb
12
llvm.spec
12
llvm.spec
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define _revision 196371
|
||||
%define _revision 196487
|
||||
%define _release_version 3.4
|
||||
|
||||
Name: llvm
|
||||
@@ -45,7 +45,6 @@ Patch8: aarch64-suse-support.patch
|
||||
Patch9: arm-remove-xfails.diff
|
||||
# PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest
|
||||
Patch10: asan-disable-hugemalloctest.patch
|
||||
Patch11: asan-sse2.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@@ -64,6 +63,10 @@ BuildRequires: groff
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: python-base
|
||||
%ifarch %{ix86}
|
||||
# Needed for compiler_rt tests
|
||||
BuildRequires: glibc-devel-32bit
|
||||
%endif
|
||||
Requires: libLLVM = %{version}-%{release}
|
||||
# llvm does not work on ppc, only ppc64
|
||||
ExcludeArch: ppc
|
||||
@@ -164,7 +167,6 @@ This package contains the Python bindings to clang (C language) frontend for LLV
|
||||
%patch8 -p1
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
||||
# We hardcode i586
|
||||
rm tools/clang/test/Driver/x86_features.c
|
||||
@@ -396,9 +398,6 @@ rm %{buildroot}%{_libdir}/LLVMHello.*
|
||||
rm %{buildroot}%{_libdir}/libgtest*
|
||||
rm %{buildroot}%{_mandir}/man1/lit.1
|
||||
|
||||
# Remove cmake files
|
||||
rm -rf %{buildroot}/usr/share/llvm/cmake
|
||||
|
||||
%fdupes -s %{buildroot}%{_docdir}/%{name}
|
||||
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
|
||||
|
||||
@@ -483,6 +482,7 @@ rm -rf %{buildroot}/usr/share/llvm/cmake
|
||||
%doc %{_mandir}/man1/%{name}-config.1%{ext_man}
|
||||
%{_includedir}/%{name}/
|
||||
%{_includedir}/%{name}-c/
|
||||
%{_datadir}/%{name}/cmake/
|
||||
%doc %{_docdir}/%{name}
|
||||
|
||||
%files vim-plugins
|
||||
|
Reference in New Issue
Block a user