Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-05-08 11:15:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm", Maintainer is "mh...@novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes 2012-04-18 16:30:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-05-08 11:15:09.000000000 +0200 @@ -1,0 +2,48 @@ +Thu May 3 07:32:06 UTC 2012 - llu...@suse.com + +- patch for -rewrite-includes feature + +------------------------------------------------------------------- +Mon Apr 30 12:39:14 UTC 2012 - idon...@suse.com + +- Update to svn revision 155819 from 3.1 branch + * C++11 fixes + +------------------------------------------------------------------- +Fri Apr 27 10:02:17 UTC 2012 - idon...@suse.com + +- Update to svn revision 155700 from 3.1 branch + * Crash fixes + * C++11 fixes + +------------------------------------------------------------------- +Thu Apr 26 12:35:35 UTC 2012 - idon...@suse.com + +- Update to svn revision 155574 from 3.1 branch + * Crash fixes + * Correctly enable compiler-rt + * Remove unneeded runtime python dependencies + +------------------------------------------------------------------- +Thu Apr 26 10:55:02 UTC 2012 - idon...@suse.com + +- Switch to 2-stage bootstrap because we don't do build-compare + anyway. + +------------------------------------------------------------------- +Wed Apr 25 09:40:32 UTC 2012 - idon...@suse.com + +- More fixes to llvm-config + +------------------------------------------------------------------- +Tue Apr 24 10:12:32 UTC 2012 - idon...@suse.com + +- Fix llvm-config --libs output + +------------------------------------------------------------------- +Sun Apr 22 19:24:24 UTC 2012 - idon...@suse.com + +- Update to svn revision 155320 from 3.1 branch + * AVX fixes + +------------------------------------------------------------------- Old: ---- llvm-3.0.99+svn154914.tar.bz2 New: ---- llvm-3.0.99+svn155819.tar.bz2 rewrite-includes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm.spec ++++++ --- /var/tmp/diff_new_pack.bvP2Gp/_old 2012-05-08 11:15:11.000000000 +0200 +++ /var/tmp/diff_new_pack.bvP2Gp/_new 2012-05-08 11:15:11.000000000 +0200 @@ -16,12 +16,12 @@ # -%define _revision 154914 +%define _revision 155819 %define _release_version 3.1 %define _supported_archs "arm,x86" Name: llvm -Version: 3.0.99+svn154914 +Version: 3.0.99+svn155819 Release: 0 Summary: Low Level Virtual Machine License: NCSA @@ -38,6 +38,7 @@ # 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -54,14 +55,10 @@ # For tests BuildRequires: glibc-devel-32bit %endif +BuildRequires: libffi-devel BuildRequires: libtool BuildRequires: python -# Code10 does not have libffi -%if 0%{?suse_version} > 1100 -BuildRequires: libffi-devel -%endif - # LLVM is not supported on PPC64 # http://llvm.org/bugs/show_bug.cgi?id=3729 ExcludeArch: ppc64 @@ -100,8 +97,9 @@ Summary: CLANG frontend for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} +Requires: binutils +Requires: libstdc++-devel Provides: clang -%{py_requires} %description clang This package contains the clang (C language) frontend for LLVM. @@ -112,7 +110,6 @@ Group: Development/Languages/Other Requires: clang = %{version} Requires: llvm-devel = %{version} -%{py_requires} %description clang-devel This package contains the clang (C language) frontend for LLVM. @@ -136,6 +133,7 @@ %ifarch x86_64 %patch5 -p1 %endif +%patch6 -p0 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -143,15 +141,17 @@ 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 -# FIXME -rm -rf projects/compiler_rt - # Nasty hardcoded path sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp +# Only enable target archs otherwise llvm-config is messed up +sed -i s,"subdirectories = .*","subdirectories = ARM X86", lib/Target/LLVMBuild.txt +sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt +echo > utils/unittest/LLVMBuild.txt + %build TOPLEVEL=$PWD -mkdir stage1 stage2 stage3 +mkdir stage1 stage2 pushd stage1 ../configure \ @@ -165,25 +165,12 @@ popd pushd stage2 -export CC=$TOPLEVEL/stage1/Release/bin/clang -export CXX=$TOPLEVEL/stage1/Release/bin/clang++ - -../configure \ - --enable-optimized \ - --disable-assertions \ - --enable-targets=host - -make %{?_smp_mflags} - -popd -pushd stage3 - # autotools ignore --libdir mkdir Release ln -s lib Release/lib64 -export CC=$TOPLEVEL/stage2/Release/bin/clang -export CXX=$TOPLEVEL/stage2/Release/bin/clang++ +export CC=$TOPLEVEL/stage1/Release/bin/clang +export CXX=$TOPLEVEL/stage1/Release/bin/clang++ ../configure \ --prefix=%{_prefix} \ @@ -200,13 +187,13 @@ make %{?_smp_mflags} REQUIRES_RTTI=1 %check -cd stage3 +cd stage2 make check cd tools/clang make test %install -cd stage3 +cd stage2 %makeinstall cd .. @@ -281,17 +268,10 @@ install -m 644 utils/vim/*.vim %{buildroot}%{_datadir}/vim/site/syntax/ mv utils/vim/README utils/vim/README.vim -# Remove gtest library -rm -f %{buildroot}%{_libdir}/*gtest* - -# Wrong lib name + static -rm -f %{buildroot}%{_libdir}/liblibclang.a - # Stuff we don't want to include -rm -f %{buildroot}%{_libdir}/BugpointPasses.* -rm -f %{buildroot}%{_libdir}/LLVMHello.* -rm -f %{buildroot}%{_libdir}/libCompilerDriver.* -rm -f %{buildroot}%{_libdir}/libEnhancedDisassembly.* +rm %{buildroot}%{_libdir}/libclang.a +rm %{buildroot}%{_libdir}/BugpointPasses.* +rm %{buildroot}%{_libdir}/LLVMHello.* %fdupes -s %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir}/%{name}-doc @@ -345,11 +325,7 @@ %if 0%{?suse_version} >= 1220 %{_libdir}/LLVMgold.so %endif -%dir %{_libdir}/clang -%dir %{_libdir}/clang/* -%dir %{_libdir}/clang/*/include -%{_libdir}/clang/*/include/*.h -%{_libdir}/clang/*/include/module.map +%{_libdir}/clang %files clang-devel %defattr(-,root,root) ++++++ llvm-3.0.99+svn154914.tar.bz2 -> llvm-3.0.99+svn155819.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/llvm/llvm-3.0.99+svn154914.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.0.99+svn155819.tar.bz2 differ: char 11, line 1 ++++++ rewrite-includes.patch ++++++ ++++ 695 lines (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org