Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
Summary(pl.UTF-8): Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
Name: llvm
-Version: 3.2
-Release: 4
+Version: 3.3
+Release: 1
License: University of Illinois/NCSA Open Source License
Group: Development/Languages
#Source0Download: http://llvm.org/releases/download.html
Source0: http://llvm.org/releases/%{version}/%{name}-%{version}.src.tar.gz
-# Source0-md5: 71610289bbc819e3e15fdd562809a2d7
-Source1: http://llvm.org/releases/%{version}/clang-%{version}.src.tar.gz
-# Source1-md5: 3896ef4334df08563b05d0848ba80582
+# Source0-md5: 40564e1dc390f9844f1711c08b08e391
+Source1: http://llvm.org/releases/%{version}/cfe-%{version}.src.tar.gz
+# Source1-md5: 8284891e3e311829b8e44ac813d0c9ef
Patch0: %{name}-config.patch
# Data files should be installed with timestamps preserved
Patch1: %{name}-2.6-timestamp.patch
Patch2: %{name}-tld.patch
-# R600 target support from git://people.freedesktop.org/~tstellar/llvm
-Patch3: %{name}-r600.patch
URL: http://llvm.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.9.6
%prep
%setup -q -a1 -n %{name}-%{version}.src
-mv clang-*.* tools/clang
+mv cfe-%{version}.src tools/clang
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
# configure does not properly specify libdir
%{__sed} -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}|g' Makefile.config.in
--with-pic
%{__make} \
+ VERBOSE=1 \
REQUIRES_RTTI=1 \
OPTIMIZE_OPTION="%{rpmcflags} %{rpmcppflags}"
%attr(755,root,root) %{_bindir}/llvm-rtdyld
%attr(755,root,root) %{_bindir}/llvm-size
%attr(755,root,root) %{_bindir}/llvm-stress
+%attr(755,root,root) %{_bindir}/llvm-symbolizer
%attr(755,root,root) %{_bindir}/llvm-tblgen
%attr(755,root,root) %{_bindir}/macho-dump
%attr(755,root,root) %{_bindir}/opt
%{_mandir}/man1/llvm-nm.1*
%{_mandir}/man1/llvm-prof.1*
%{_mandir}/man1/llvm-ranlib.1*
+%{_mandir}/man1/llvm-readobj.1*
%{_mandir}/man1/llvm-stress.1*
+%{_mandir}/man1/llvm-symbolizer.1*
%{_mandir}/man1/opt.1*
%{_mandir}/man1/tblgen.1*
%files libs
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libLLVM-%{version}svn.so
+%attr(755,root,root) %{_libdir}/libLLVM-%{version}.so
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/clang
%attr(755,root,root) %{_bindir}/clang++
%attr(755,root,root) %{_bindir}/clang-check
+%attr(755,root,root) %{_bindir}/clang-format
%attr(755,root,root) %{_bindir}/clang-tblgen
%attr(755,root,root) %{_libdir}/libclang.so
%{_libdir}/clang