diff --git a/llvm-2.9.99.svn20110929.tar.xz b/llvm-2.9.99.svn20110929.tar.xz deleted file mode 100644 index 7574f22..0000000 --- a/llvm-2.9.99.svn20110929.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7185712fe90d068a6531c1c48500f6a09bcfd683d8dd9a4d28d5ea22f009e385 -size 12291320 diff --git a/llvm-2.9.99.svn20111025.tar.bz2 b/llvm-2.9.99.svn20111025.tar.bz2 new file mode 100644 index 0000000..889da4f --- /dev/null +++ b/llvm-2.9.99.svn20111025.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76dd6a41deaa9e18b14c7b65424d2e84f479879714be91f57c03230d746b2cc1 +size 13937253 diff --git a/llvm.changes b/llvm.changes index 49101c2..e47c502 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Tue Oct 25 07:13:47 UTC 2011 - idonmez@suse.com + +- Update to r142912 llvm-3.0 branch + * Fixes to python bindings + +------------------------------------------------------------------- +Fri Oct 21 06:57:07 UTC 2011 - idonmez@suse.com + +- Update to r142641 + * llvm/clang 3.0 rc1 + +------------------------------------------------------------------- +Thu Oct 20 17:56:08 UTC 2011 - idonmez@suse.com + +- Enable ARM code generation + +------------------------------------------------------------------- +Wed Oct 19 15:47:10 UTC 2011 - idonmez@suse.com + +- Fix libdir on x86_64 + +------------------------------------------------------------------- +Tue Oct 18 10:42:09 UTC 2011 - idonmez@suse.com + +- Update to r142341 + * First build from 3.0 branch + * -Wc++98-compat warnings for the lexer + * Add flags for the remaining shift related warnings + (-Wshift-count-negative, -Wshift-count-overflow). + * Only warn in -Wliteral-conversion if the conversion + loses information + * Added clang_getCompletionAnnotation and + clang_getCompletionNumAnnotations to retrieve annotations + from completion string. + * Add support for -std=gnu90 and -std=c++03, for compatibility + with modern gcc. +- Switch to tar.bz2 and remove xz dependency + ------------------------------------------------------------------- Thu Sep 29 08:10:42 UTC 2011 - idonmez@suse.com diff --git a/llvm.spec b/llvm.spec index 751461c..0c41feb 100644 --- a/llvm.spec +++ b/llvm.spec @@ -16,7 +16,7 @@ # -%define _revision 140782 +%define _revision 142912 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -26,13 +26,13 @@ %endif Name: llvm -Version: 2.9.99.svn20110929 +Version: 2.9.99.svn20111025 Release: 1 License: NCSA Summary: Low Level Virtual Machine Url: http://www.llvm.org Group: Development/Languages/Other -Source0: %{name}-%{version}.tar.xz +Source0: %{name}-%{version}.tar.bz2 Source100: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE set-revision.patch idoenmez@suse.de -- Allow us to set revision Patch1: set-revision.patch @@ -55,7 +55,6 @@ BuildRequires: libtool BuildRequires: python-devel BuildRequires: tcl-devel BuildRequires: tk-devel -BuildRequires: xz # Code10 does not have libffi %if 0%{?suse_version} > 1100 @@ -141,7 +140,7 @@ cd stage1 cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLLVM_ENABLE_ASSERTIONS=TRUE \ - -DLLVM_TARGETS_TO_BUILD=X86 \ + -DLLVM_TARGETS_TO_BUILD="ARM;X86" \ .. make %{?_smp_mflags} @@ -181,6 +180,11 @@ cd stage2 %makeinstall cd .. +# Fixup libdir for x86-64 +%ifarch x86_64 +sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config +%endif + # cleanup file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d file %{buildroot}/%{_libdir}/%{name}/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d @@ -243,6 +247,8 @@ mv utils/vim/README utils/vim/README.vim # Create man pages because cmake buildsystem doesn't do for us install -m 755 -d %{buildroot}%{_mandir}/man1 +# tblgen is not installed anymore. +rm docs/CommandGuide/tblgen.pod for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do page=`echo $i|awk -F"/" '{print $(NF)}'|sed s,.pod,,` && pod2man -s1 $i %{buildroot}%{_mandir}/man1/$page.1; @@ -263,9 +269,9 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %fdupes -s %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir}/%{name}-doc -%post -p /sbin/ldconfig +%post -n llvm-clang-devel -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n llvm-clang-devel -p /sbin/ldconfig %files %defattr(-,root,root) @@ -292,7 +298,6 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %{_bindir}/clang %{_bindir}/clang-* %{_bindir}/clang++ -%{_bindir}/tblgen %{_bindir}/c-index-test %{_bindir}/ccc-analyzer %{_bindir}/c++-analyzer @@ -304,7 +309,6 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %{py_sitedir}/Resources %{_datadir}/clang %{_mandir}/man1/clang.1.gz -%{_mandir}/man1/tblgen.1.gz %dir %{_libdir}/clang %dir %{_libdir}/clang/* %dir %{_libdir}/clang/*/include @@ -321,6 +325,7 @@ rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* %{_libdir}/clang/*/include/nmmintrin.h %{_libdir}/clang/*/include/pmmintrin.h %{_libdir}/clang/*/include/smmintrin.h +%{_libdir}/clang/*/include/stdalign.h %{_libdir}/clang/*/include/stdarg.h %{_libdir}/clang/*/include/stdbool.h %{_libdir}/clang/*/include/stddef.h