Accepting request 78647 from devel:tools:compiler
- Update to r137452 * Fix problems found by PVS-Studio * More AVX fixes * Many C++ fixes - Add assume-opensuse.patch to remove dependency on openSUSE-release OBS-URL: https://build.opensuse.org/request/show/78647 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm?expand=0&rev=8
This commit is contained in:
commit
465ba1b569
12
assume-opensuse.patch
Normal file
12
assume-opensuse.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- tools/clang/lib/Driver/ToolChains.cpp 2011-08-12 11:19:35.000000000 +0200
|
||||||
|
+++ tools/clang/lib/Driver/ToolChains.cpp 2011-08-12 12:10:47.733446958 +0200
|
||||||
|
@@ -1346,8 +1346,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
static bool IsOpenSuse(enum LinuxDistro Distro) {
|
||||||
|
- return Distro == OpenSuse11_3 || Distro == OpenSuse11_4 ||
|
||||||
|
- Distro == OpenSuse12_1;
|
||||||
|
+ return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
static bool IsDebian(enum LinuxDistro Distro) {
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8ae70fae97209d33a1c69522d71f7b94eec12512a18918365994ff24d40d90e2
|
|
||||||
size 12090920
|
|
3
llvm-2.9.99.svn20110812.tar.xz
Normal file
3
llvm-2.9.99.svn20110812.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8fb480c2b5b6ed1510e8e440b6d445190e206ddb870b3e9f34a158dda95206bd
|
||||||
|
size 12116392
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 12 09:22:18 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
- Update to r137452
|
||||||
|
* Fix problems found by PVS-Studio
|
||||||
|
* More AVX fixes
|
||||||
|
* Many C++ fixes
|
||||||
|
- Add assume-opensuse.patch to remove dependency on openSUSE-release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 3 11:18:31 UTC 2011 - idonmez@novell.com
|
Wed Aug 3 11:18:31 UTC 2011 - idonmez@novell.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _sharedir %{_prefix}/share
|
%define _sharedir %{_prefix}/share
|
||||||
%define _revision 136773
|
%define _revision 137452
|
||||||
%define _release_version 3.0
|
%define _release_version 3.0
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1200
|
%if 0%{?suse_version} >= 1200
|
||||||
@ -27,7 +27,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 2.9.99.svn20110803
|
Version: 2.9.99.svn20110812
|
||||||
Release: 1
|
Release: 1
|
||||||
License: NCSA
|
License: NCSA
|
||||||
Summary: Low Level Virtual Machine
|
Summary: Low Level Virtual Machine
|
||||||
@ -39,6 +39,8 @@ Source100: %{name}-rpmlintrc
|
|||||||
Patch1: set-revision.patch
|
Patch1: set-revision.patch
|
||||||
# PATCH-FIX-OPENSUSE set-revision.patch idoenmez@suse.de -- Use correct lib prefix
|
# PATCH-FIX-OPENSUSE set-revision.patch idoenmez@suse.de -- Use correct lib prefix
|
||||||
Patch2: clang-cmake-lib.patch
|
Patch2: clang-cmake-lib.patch
|
||||||
|
# PATCH-FIX-OPENSUSE assume-opensuse.patch idoenmez@suse.de -- Always enable openSUSE/SUSE features
|
||||||
|
Patch3: assume-opensuse.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -51,7 +53,6 @@ BuildRequires: flex
|
|||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: openSUSE-release
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: tk-devel
|
BuildRequires: tk-devel
|
||||||
@ -135,6 +136,7 @@ This package contains vim plugins for LLVM like syntax highlighting.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3
|
||||||
sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
|
sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -274,6 +276,7 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.*
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc *.TXT *.txt
|
%doc *.TXT *.txt
|
||||||
%{_bindir}/bugpoint
|
%{_bindir}/bugpoint
|
||||||
|
%{_bindir}/diagtool
|
||||||
%{_bindir}/llc
|
%{_bindir}/llc
|
||||||
%{_bindir}/lli
|
%{_bindir}/lli
|
||||||
%{_bindir}/macho-dump
|
%{_bindir}/macho-dump
|
||||||
|
Loading…
x
Reference in New Issue
Block a user