Hello community,

here is the log from the commit of package llvm for openSUSE:Factory checked in 
at 2012-11-17 07:26:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm (Old)
 and      /work/SRC/openSUSE:Factory/.llvm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm/llvm.changes        2012-11-02 
07:30:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes   2012-11-17 
07:26:10.000000000 +0100
@@ -1,0 +2,35 @@
+Thu Nov 15 08:21:58 UTC 2012 - [email protected]
+
+- Update to r168031 from release_32 branch
+  * This is 3.2rc1
+
+-------------------------------------------------------------------
+Mon Nov 12 08:05:08 UTC 2012 - [email protected]
+
+- Update to r167720 from release_32 branch
+  * Thread local variables may have a specified TLS model.
+  * LLVM now has a loop optimizer.
+  * SROA has been rewritten to be more powerful.
+  * A new optimization pass added to merge stack objects
+    which are used in disjoint areas of the code.
+  * LLVM now merge consecutive loads and stores.
+  * New TableGen infrastructure to support bundling for
+    Very Long Instruction Word (VLIW) architectures.
+  * Added a new target independent VLIW packetizer.
+  * A probability based block placement and code layout algorithm
+    was added to LLVM's code generator.
+  * The ARM target now includes a full featured macro assembler,
+    including direct-to-object module support for clang.
+  * A new IR-level pass, called "TargetTransformInfo" provides
+    a number of low-level interfaces.
+
+- Refresh default-to-i586.patch to apply again
+- Drop following patches (fixed upstream)
+  * arm-suse-support.patch
+  * pr12463.patch
+  * pr13141.patch
+  * pr13303.patch
+  * rewrite-includes.patch
+  * clang-fix-mips-test.patch (fixed differently in spec file)
+
+-------------------------------------------------------------------

Old:
----
  arm-suse-support.patch
  clang-fix-mips-test.patch
  llvm-3.1.tar.bz2
  pr12463.patch
  pr13141.patch
  pr13303.patch
  rewrite-includes.patch

New:
----
  llvm-3.1.99.r168031.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ llvm.spec ++++++
--- /var/tmp/diff_new_pack.AS4kvb/_old  2012-11-17 07:26:12.000000000 +0100
+++ /var/tmp/diff_new_pack.AS4kvb/_new  2012-11-17 07:26:12.000000000 +0100
@@ -16,12 +16,12 @@
 #
 
 
-%define _revision     157047
-%define _release_version 3.1
+%define _revision        168031
+%define _release_version 3.2
 %define _supported_archs "arm,x86"
 
 Name:           llvm
-Version:        3.1
+Version:        3.1.99.r168031
 Release:        0
 Summary:        Low Level Virtual Machine
 License:        NCSA
@@ -37,12 +37,6 @@
 Patch3:         clang-disable-ada-extension.patch
 # PATCH-FIX-OPENSUSE default-to-i586.patch -- Use i586 as default target for 
32bit
 Patch4:         default-to-i586.patch
-Patch5:         clang-fix-mips-test.patch
-Patch6:         rewrite-includes.patch
-Patch7:         pr12463.patch
-Patch8:         pr13141.patch
-Patch9:         pr13303.patch
-Patch10:        arm-suse-support.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -63,6 +57,7 @@
 BuildRequires:  libffi-devel
 BuildRequires:  libtool
 BuildRequires:  python-base
+BuildRequires:  python-sphinx
 
 # LLVM is not supported on PPC64
 # http://llvm.org/bugs/show_bug.cgi?id=3729
@@ -82,6 +77,8 @@
 Requires:       %{name} = %{version}
 Requires:       libffi-devel
 Requires:       libstdc++-devel >= 3.4
+Obsoletes:      llvm-doc < %{version}
+Provides:       llvm-doc = %{version}
 
 %description devel
 This package contains library and header files needed to develop
@@ -132,22 +129,15 @@
 %endif
 %patch3 -p1
 %patch4 -p1
-%ifarch x86_64
-%patch5 -p1
-%endif
-%patch6 -p0
-# sle11 patch cannot create empty files
-touch tools/clang/test/Frontend/Inputs/rewrite-includes9.h
-%patch7 -p0
-%patch8 -p0
-%patch9 -p1
-%ifarch %arm
-%patch10
-%endif
 
 # We hardcode i586
 rm tools/clang/test/Driver/x86_features.c
 
+# lib64 related problems on 64bit
+%if "%{_lib}" == "lib64"
+rm tools/clang/test/Driver/linux-ld.c
+%endif
+
 sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
 sed -i s,LLVM_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp
 
@@ -178,7 +168,7 @@
 %endif
        --enable-targets=host
 
-make %{?_smp_mflags}
+make %{?_smp_mflags} clang-only
 
 popd
 pushd stage2
@@ -233,10 +223,22 @@
 mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/lib64
 %endif
 
-# Docs
-mkdir -p  %{buildroot}/usr/share/doc/packages/llvm-doc/
-mv %{buildroot}/usr/docs/llvm/html 
%{buildroot}/usr/share/doc/packages/llvm-doc/
-rm -rf %{buildroot}/usr/docs/
+# Build man/html pages
+cd docs
+make -f Makefile.sphinx html man
+rm -rf %{buildroot}/usr/docs
+mkdir -p %{buildroot}%{_docdir}/llvm
+gzip _build/man/*.1
+mv _build/man/* %{buildroot}/usr/share/man/man1
+mv _build/html/* %{buildroot}%{_docdir}/llvm/
+rm -rf _build
+
+cd ../tools/clang/docs
+mkdir -p %{buildroot}%{_docdir}/llvm-clang/html
+cp *.txt %{buildroot}%{_docdir}/llvm-clang
+cp *.css *.png *.html %{buildroot}%{_docdir}/llvm-clang/html
+cp -r analyzer %{buildroot}%{_docdir}/llvm-clang
+cd ../../..
 
 # cleanup
 file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r 
chrpath -d
@@ -244,13 +246,6 @@
 find %{buildroot}%{_includedir}/clang -name '*.tmp' -exec rm {} +
 chmod -x %{buildroot}/%{_libdir}/*.a
 
-for file in `find examples -type f`; do
-       install -d %{buildroot}%{_docdir}/%{name}-doc/`dirname $file`
-       install -m 644 $file %{buildroot}%{_docdir}/%{name}-doc/$file
-done
-
-find %{buildroot}%{_docdir}/%{name}-doc/ -name '*.tar.gz' -exec rm {} \;
-
 # install scan-build et al
 install -d %{buildroot}%{_datadir}/clang
 install -d %{buildroot}%{py_sitedir}
@@ -321,7 +316,6 @@
 
 %files
 %defattr(-,root,root)
-%doc *.TXT *.txt
 %{_bindir}/bugpoint
 %{_bindir}/llc
 %{_bindir}/lli
@@ -336,6 +330,7 @@
 %{_mandir}/man1/lli.1%{ext_man}
 %exclude %{_mandir}/man1/%{name}-config.1%{ext_man}
 %{_mandir}/man1/llvm*.1%{ext_man}
+%{_mandir}/man1/FileCheck.1%{ext_man}
 %{_mandir}/man1/opt.1%{ext_man}
 
 %files clang
@@ -370,6 +365,7 @@
 %{_libdir}/libLTO.a
 %{_libdir}/libclang*.a
 %{_libdir}/*profile*.so
+%doc %{_docdir}/llvm-clang
 
 %files devel
 %defattr(-,root,root,-)
@@ -378,10 +374,7 @@
 %{_includedir}/%{name}/
 %{_includedir}/%{name}-c/
 %{_libdir}/libLLVM*
-
-%files doc
-%defattr(-,root,root,-)
-%{_docdir}/%{name}-doc
+%doc %{_docdir}/%{name}
 
 %files vim-plugins
 %defattr(-,root,root,-)

++++++ default-to-i586.patch ++++++
--- /var/tmp/diff_new_pack.AS4kvb/_old  2012-11-17 07:26:12.000000000 +0100
+++ /var/tmp/diff_new_pack.AS4kvb/_new  2012-11-17 07:26:12.000000000 +0100
@@ -2,12 +2,14 @@
 ===================================================================
 --- llvm.orig/tools/clang/lib/Driver/Tools.cpp
 +++ llvm/tools/clang/lib/Driver/Tools.cpp
-@@ -897,7 +897,7 @@ void Clang::AddX86TargetArgs(const ArgLi
-       if (getToolChain().getArch() == llvm::Triple::x86_64)
+@@ -1178,8 +1178,8 @@ void Clang::AddX86TargetArgs(const ArgLi
          CPUName = "x86-64";
        else if (getToolChain().getArch() == llvm::Triple::x86)
--        CPUName = "pentium4";
-+        CPUName = "i586";
+         // All x86 devices running Android have core2 as their common
+-        // denominator. This makes a better choice than pentium4.
+-        CPUName = isAndroid ? "core2" : "pentium4";
++        // denominator. This makes a better choice than i586.
++        CPUName = isAndroid ? "core2" : "i586";
      }
    }
  

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to