X-Git-Url: https://git.tld-linux.org/?p=packages%2Fllvm.git;a=blobdiff_plain;f=llvm.spec;fp=llvm.spec;h=85d3135315184b97fd0d534d9adbe00574652a94;hp=e70eec545bdc3348c4a1f8209eb99e5ac45a81fe;hb=24ef46b2ee28d9cfc27e8ee824e32abc76ccf67c;hpb=cd83bbc0833500036d5e66f05dd9389d679c608c diff --git a/llvm.spec b/llvm.spec index e70eec5..85d3135 100644 --- a/llvm.spec +++ b/llvm.spec @@ -17,21 +17,19 @@ 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 @@ -267,11 +265,10 @@ Dokumentacja HTML wiązania OCamla do LLVM-a. %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 @@ -318,6 +315,7 @@ bash ../%configure \ --with-pic %{__make} \ + VERBOSE=1 \ REQUIRES_RTTI=1 \ OPTIMIZE_OPTION="%{rpmcflags} %{rpmcppflags}" @@ -418,6 +416,7 @@ rm -rf $RPM_BUILD_ROOT %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 @@ -436,13 +435,15 @@ rm -rf $RPM_BUILD_ROOT %{_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) @@ -476,6 +477,7 @@ rm -rf $RPM_BUILD_ROOT %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