commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2020-11-02 09:41:11 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.3463 (New) Package is "llvm" Mon Nov 2 09:41:11 2020 rev:113 rq:843890 version:11.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2020-07-29 17:15:38.060319955 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.3463/llvm.changes 2020-11-02 09:41:28.497672195 +0100 @@ -1,0 +2,14 @@ +Mon Oct 19 21:57:00 UTC 2020 - Aaron Puchert + +- Update to version 11.0.0. + * For details, see the release notes: +- https://releases.llvm.org/11.0.0/docs/ReleaseNotes.html +- https://releases.llvm.org/11.0.0/tools/clang/docs/ReleaseNotes.html +- https://releases.llvm.org/11.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html +- https://releases.llvm.org/11.0.0/projects/libcxx/docs/ReleaseNotes.html +- https://releases.llvm.org/11.0.0/tools/lld/docs/ReleaseNotes.html +- Let the metapackages obsolete older versions. (boo#1175983) +- Introduce additional metapackages llvm-opt-viewer, llvm-polly and + llvm-polly-devel so that we can obsolete through them as well. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.D6AiuJ/_old 2020-11-02 09:41:29.229672897 +0100 +++ /var/tmp/diff_new_pack.D6AiuJ/_new 2020-11-02 09:41:29.233672901 +0100 @@ -16,7 +16,7 @@ # -%define _sonum 10 +%define _sonum 11 %ifarch x86_64 %define has_lldb 1 # python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) @@ -24,8 +24,17 @@ %define has_lldb_python 1 %endif %endif + +# obsolete_llvm_versioned() prefix postfix +# Obsolete packages X or X- with X being a set of older versions. +%define obsolete_llvm_versioned() \ +Obsoletes: %{1}10%{?2:-%{2}} \ +Obsoletes: %{1}7%{?2:-%{2}} \ +Obsoletes: %{1}8%{?2:-%{2}} \ +Obsoletes: %{1}9%{?2:-%{2}} + Name: llvm -Version:10.0.1 +Version:11.0.0 Release:0 Summary:Low Level Virtual Machine License:Apache-2.0 WITH LLVM-exception OR NCSA @@ -37,9 +46,12 @@ # Avoid multiple providers error BuildRequires: clang%{_sonum} = %{version} BuildRequires: clang%{_sonum}-devel = %{version} +BuildRequires: clang%{_sonum}-doc = %{version} +BuildRequires: lld%{_sonum} = %{version} BuildRequires: llvm%{_sonum} = %{version} BuildRequires: llvm%{_sonum}-LTO-devel = %{version} BuildRequires: llvm%{_sonum}-devel = %{version} +BuildRequires: llvm%{_sonum}-doc = %{version} BuildRequires: llvm%{_sonum}-gold = %{version} BuildRequires: llvm%{_sonum}-vim-plugins = %{version} Requires: llvm%{_sonum} = %{version} @@ -71,6 +83,7 @@ Group: Development/Libraries/C and C++ Requires: llvm%{_sonum}-devel = %{version} Requires: llvm-gold +%obsolete_llvm_versioned llvm devel %description devel This package contains library and header files needed to develop @@ -85,6 +98,7 @@ Group: Documentation/HTML Requires: %{name} = %{version} Requires: llvm%{_sonum}-doc = %{version} +%obsolete_llvm_versioned llvm doc %description doc This package contains documentation for the LLVM infrastructure. @@ -118,6 +132,7 @@ Obsoletes: llvm-clang-devel < %{version} Provides: clang-devel-static = %{version} Obsoletes: clang-devel-static < %{version} +%obsolete_llvm_versioned clang devel %description -n clang-devel This package contains the clang (C language) frontend for LLVM. @@ -132,6 +147,7 @@ Group: Documentation/HTML Requires: clang = %{version} Requires: clang%{_sonum}-doc = %{version} +%obsolete_llvm_versioned clang doc %description -n clang-doc This package contains documentation for the Clang compiler. @@ -144,6 +160,7 @@ Summary:Link-time optimizer for LLVM (devel package) Group: Development/Libraries/C and C++ Requires: llvm%{_sonum}-LTO-devel = %{version} +%obsolete_llvm_versioned llvm LTO-devel %description LTO-devel This package contains the link-time optimizer for LLVM. @@ -157,6 +174,7 @@ Summary:Gold linker plugin for LLVM Group: Development/Tools/Building Requires: llvm%{_sonum}-gold = %{version} +%obsolete_llvm_versioned llvm gold %description gold This package contains the Gold linker plugin for LLVM. @@ -170,6 +188,7 @@ Group: Productivity/Text/Editors Requires: llvm%{_sonum}-vim-plugins = %{version} Supplements:packageand(llvm:vim) +%obsolete_llvm_versioned llvm vim-plugins BuildArch: noarch %descriptionvim-plugins @@ -179
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2020-07-29 17:14:44 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.3592 (New) Package is "llvm" Wed Jul 29 17:14:44 2020 rev:112 rq:822552 version:10.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2020-04-09 23:14:40.342217362 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.3592/llvm.changes 2020-07-29 17:15:38.060319955 +0200 @@ -1,0 +2,7 @@ +Wed Jul 22 21:54:01 UTC 2020 - Aaron Puchert + +- Update to version 10.0.1. + * This release contains bug-fixes for the LLVM 10.0.0 release. +This release is API and ABI compatible with 10.0.0. + +--- @@ -4,0 +12,6 @@ + * For details, see the release notes: +- https://releases.llvm.org/10.0.0/docs/ReleaseNotes.html +- https://releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html +- https://releases.llvm.org/10.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html +- https://releases.llvm.org/10.0.0/projects/libcxx/docs/ReleaseNotes.html +- https://releases.llvm.org/10.0.0/tools/lld/docs/ReleaseNotes.html Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.50cyT6/_old 2020-07-29 17:15:40.896322425 +0200 +++ /var/tmp/diff_new_pack.50cyT6/_new 2020-07-29 17:15:40.900322428 +0200 @@ -25,7 +25,7 @@ %endif %endif Name: llvm -Version:10.0.0 +Version:10.0.1 Release:0 Summary:Low Level Virtual Machine License:Apache-2.0 WITH LLVM-exception OR NCSA
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2020-04-09 23:14:38 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.3248 (New) Package is "llvm" Thu Apr 9 23:14:38 2020 rev:111 rq:788163 version:10.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2020-03-14 09:54:10.683058943 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.3248/llvm.changes 2020-04-09 23:14:40.342217362 +0200 @@ -1,0 +2,6 @@ +Tue Mar 24 22:30:06 UTC 2020 - Aaron Puchert + +- Update to version 10.0.0. +- Remove superfluous clang-checker requirement. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.6CDnnH/_old 2020-04-09 23:14:40.990217737 +0200 +++ /var/tmp/diff_new_pack.6CDnnH/_new 2020-04-09 23:14:40.994217739 +0200 @@ -16,7 +16,7 @@ # -%define _sonum 9 +%define _sonum 10 %ifarch x86_64 %define has_lldb 1 # python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) @@ -25,7 +25,7 @@ %endif %endif Name: llvm -Version:9.0.1 +Version:10.0.0 Release:0 Summary:Low Level Virtual Machine License:Apache-2.0 WITH LLVM-exception OR NCSA @@ -36,7 +36,6 @@ Source101: baselibs.conf # Avoid multiple providers error BuildRequires: clang%{_sonum} = %{version} -BuildRequires: clang%{_sonum}-checker = %{version} BuildRequires: clang%{_sonum}-devel = %{version} BuildRequires: llvm%{_sonum} = %{version} BuildRequires: llvm%{_sonum}-LTO-devel = %{version}
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2020-03-14 09:54:10 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.3160 (New) Package is "llvm" Sat Mar 14 09:54:10 2020 rev:110 rq:783713 version:9.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2020-02-03 11:27:02.462138300 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.3160/llvm.changes 2020-03-14 09:54:10.683058943 +0100 @@ -1,0 +2,7 @@ +Sat Mar 7 22:41:55 UTC 2020 - Aaron Puchert + +- Drop clang-checker meta package, we now provide this as + unversioned clang-tools coming from the versioned llvmX package. +- Update build conditions mentioned in README.packaging. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.NPnpJM/_old 2020-03-14 09:54:11.963059883 +0100 +++ /var/tmp/diff_new_pack.NPnpJM/_new 2020-03-14 09:54:11.967059886 +0100 @@ -111,22 +111,6 @@ clang that openSUSE currently supports. Packages that don't require a specific Clang version should depend on this. -%package -n clang-checker -Summary:Static code analyzer for CLANG -Group: Development/Languages/C and C++ -URL:https://clang-analyzer.llvm.org/ -Requires: clang%{_sonum}-checker = %{version} -Provides: llvm-clang-checker = %{version} -Obsoletes: llvm-clang-checker < %{version} - -%description -n clang-checker -This package contains scan-build and scan-view, command line -static code analyzers for CLANG. - -This package is a dummy package that depends on the version of -clang-checker that openSUSE currently supports. Packages that -don't require a specific Clang version should depend on this. - %package -n clang-devel Summary:CLANG frontend for LLVM (devel package) Group: Development/Libraries/C and C++ @@ -263,9 +247,6 @@ %files -n clang %doc README -%files -n clang-checker -%doc README - %files gold %doc README ++ README.packaging ++ --- /var/tmp/diff_new_pack.NPnpJM/_old 2020-03-14 09:54:12.155060024 +0100 +++ /var/tmp/diff_new_pack.NPnpJM/_new 2020-03-14 09:54:12.171060036 +0100 @@ -143,8 +143,8 @@ %bcond_without/%bcond_with libcxx in llvmX.spec and make it always %bcond_with. If the .so numbers have changed, these can be left-as-is. - 3. Change "%bcond_without pyclang" to - "%bcond_with pyclang" in llvmX.spec. + 3. Change "%bcond_without clang_scripts" to + "%bcond_with clang_scripts" in llvmX.spec. 4. Confirm everything builds successfully and there are no new rpmlint issues. 5. Update the llvmX.changes file.
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2020-02-03 11:27:01 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.26092 (New) Package is "llvm" Mon Feb 3 11:27:01 2020 rev:109 rq:768763 version:9.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-12-25 10:55:01.329633454 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.26092/llvm.changes 2020-02-03 11:27:02.462138300 +0100 @@ -1,0 +2,5 @@ +Wed Jan 29 22:33:02 UTC 2020 - Aaron Puchert + +- Drop llvm-emacs-plugins since its content has moved to clang. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.qbTNAK/_old 2020-02-03 11:27:03.722138353 +0100 +++ /var/tmp/diff_new_pack.qbTNAK/_new 2020-02-03 11:27:03.726138354 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,7 +41,6 @@ BuildRequires: llvm%{_sonum} = %{version} BuildRequires: llvm%{_sonum}-LTO-devel = %{version} BuildRequires: llvm%{_sonum}-devel = %{version} -BuildRequires: llvm%{_sonum}-emacs-plugins = %{version} BuildRequires: llvm%{_sonum}-gold = %{version} BuildRequires: llvm%{_sonum}-vim-plugins = %{version} Requires: llvm%{_sonum} = %{version} @@ -103,6 +102,7 @@ Recommends: clang-doc Provides: llvm-clang = %{version} Obsoletes: llvm-clang < %{version} +Provides: llvm-emacs-plugins %description -n clang This package contains the clang (C language) frontend for LLVM. @@ -196,20 +196,6 @@ llvm-vim-plugins that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. -%packageemacs-plugins -Summary:Emacs plugins for LLVM -Group: Productivity/Text/Editors -Requires: llvm%{_sonum}-emacs-plugins = %{version} -Supplements:packageand(llvm:emacs) -BuildArch: noarch - -%descriptionemacs-plugins -This package contains Emacs plugins for LLVM like syntax highlighting. - -This package is a dummy package that depends on the version of -llvm-emacs-plugins that openSUSE currently supports. Packages that -don't require a specific LLVM version should depend on this. - %package -n lldb Summary:Software debugger built using LLVM libraries Group: Development/Tools/Debuggers @@ -292,9 +278,6 @@ %files LTO-devel %doc README -%files emacs-plugins -%doc README - %files vim-plugins %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-12-25 10:54:35 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.6675 (New) Package is "llvm" Wed Dec 25 10:54:35 2019 rev:108 rq:758955 version:9.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-10-28 16:46:35.108717573 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.6675/llvm.changes 2019-12-25 10:55:01.329633454 +0100 @@ -1,0 +2,9 @@ +Fri Dec 20 21:13:19 UTC 2019 - Aaron Puchert + +- Update to version 9.0.1. + * This release contains bug-fixes for the LLVM 9.0.0 release. +This release is API and ABI compatible with 9.0.0. +- Update README.packaging: we don't provide revision numbers any + longer, because upstream has moved from Subversion to git. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.2TU1Tn/_old 2019-12-25 10:55:02.253633743 +0100 +++ /var/tmp/diff_new_pack.2TU1Tn/_new 2019-12-25 10:55:02.253633743 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %endif %endif Name: llvm -Version:9.0.0 +Version:9.0.1 Release:0 Summary:Low Level Virtual Machine License:Apache-2.0 WITH LLVM-exception OR NCSA @@ -98,7 +98,7 @@ %package -n clang Summary:CLANG frontend for LLVM Group: Development/Languages/C and C++ -Url:https://clang.llvm.org/ +URL:https://clang.llvm.org/ Requires: clang%{_sonum} = %{version} Recommends: clang-doc Provides: llvm-clang = %{version} @@ -114,7 +114,7 @@ %package -n clang-checker Summary:Static code analyzer for CLANG Group: Development/Languages/C and C++ -Url:https://clang-analyzer.llvm.org/ +URL:https://clang-analyzer.llvm.org/ Requires: clang%{_sonum}-checker = %{version} Provides: llvm-clang-checker = %{version} Obsoletes: llvm-clang-checker < %{version} @@ -213,7 +213,7 @@ %package -n lldb Summary:Software debugger built using LLVM libraries Group: Development/Tools/Debuggers -Url:https://lldb.llvm.org/ +URL:https://lldb.llvm.org/ Requires: lldb%{_sonum} = %{version} Recommends: python3-lldb @@ -254,7 +254,7 @@ %package -n lld Summary:Linker for Clang/LLVM Group: Development/Tools/Building -Url:https://lld.llvm.org/ +URL:https://lld.llvm.org/ Requires: lld%{_sonum} = %{version} %description -n lld ++ README.packaging ++ --- /var/tmp/diff_new_pack.2TU1Tn/_old 2019-12-25 10:55:02.277633750 +0100 +++ /var/tmp/diff_new_pack.2TU1Tn/_new 2019-12-25 10:55:02.277633750 +0100 @@ -52,18 +52,11 @@ new sources. 4. Update the version number in the patches to match the new sources. - 5. Update the "_revsn" tag in llvmX.spec to match the - revision number of the tag. This can be found on - https://lists.llvm.org/pipermail/llvm-branch-commits - and should have like "[llvm-tag]" and - "Creating release candidate final" in the subject - line. You want to find the one for the current LLVM - release. - 6. Update the "_relver" tag in llvmX.spec to match + 5. Update the "_relver" tag in llvmX.spec to match the "Version" tag. - 7. Confirm everything builds successfully and there are + 6. Confirm everything builds successfully and there are no new rpmlint issues. - 8. Update the llvmX.changes file. + 7. Update the llvmX.changes file. 2. llvm package: 1. Update the "Version" tag to match the new llvmX version. @@ -91,19 +84,12 @@ new sources. 4. Update the version number in the patches to match the new sources. - 5. Update the "_revsn" tag in llvmX.spec to match the - revision number of the tag. This can be found on - https://lists.llvm.org/pipermail/llvm-branch-commits - and should have like "[llvm-tag]" and - "Creating release candidate final" in the subject - line. You want to find the one for the current LLVM - release. - 6. Update the "_relver" tag in llvmX.spec to match + 5. Update the "_relver" tag in llvmX.spec to match the "Version" tag. - 7. Confirm everything builds successfully and there are + 6. Confirm everything builds successfully and there
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-10-28 16:46:33 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.2990 (New) Package is "llvm" Mon Oct 28 16:46:33 2019 rev:107 rq:733091 version:9.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-07-28 10:20:11.744601636 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.2990/llvm.changes 2019-10-28 16:46:35.108717573 +0100 @@ -1,0 +2,19 @@ +Sun Sep 22 19:55:01 UTC 2019 - Aaron Puchert + +- Update to version 9.0.0. + * For details, see the release notes: +- https://releases.llvm.org/9.0.0/docs/ReleaseNotes.html +- https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html +- https://releases.llvm.org/9.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html +- https://releases.llvm.org/9.0.0/projects/libcxx/docs/ReleaseNotes.html +- https://releases.llvm.org/9.0.0/tools/lld/docs/ReleaseNotes.html +- Change License to "Apache-2.0 WITH LLVM-exception". + (https://llvm.org/foundation/relicensing/) +- Offer separate packages for the documentation of llvm and clang, + recommend them for the main package: they are not required for + development, but actually useful for working with the non-devel + packages. +- Recommend editor plugins not just for llvm-devel. +- Make lldb recommend python3-lldb (it contains pretty printers). + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.ZqipFt/_old 2019-10-28 16:46:36.016718728 +0100 +++ /var/tmp/diff_new_pack.ZqipFt/_new 2019-10-28 16:46:36.016718728 +0100 @@ -16,7 +16,7 @@ # -%define _sonum 8 +%define _sonum 9 %ifarch x86_64 %define has_lldb 1 # python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) @@ -25,10 +25,10 @@ %endif %endif Name: llvm -Version:8.0.1 +Version:9.0.0 Release:0 Summary:Low Level Virtual Machine -License:NCSA +License:Apache-2.0 WITH LLVM-exception OR NCSA Group: Development/Languages/Other URL:https://www.llvm.org/ # This file documents the process for updating llvm @@ -52,6 +52,7 @@ %if 0%{?has_lldb_python} BuildRequires: python3-lldb%{_sonum} = %{version} %endif +Recommends: %{name}-doc # Mirrors ExcludeArch in llvm%{_sonum} ExcludeArch:s390 @@ -81,11 +82,25 @@ llvm-devel that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. +%package doc +Summary:Documentation for LLVM +Group: Documentation/HTML +Requires: %{name} = %{version} +Requires: llvm%{_sonum}-doc = %{version} + +%description doc +This package contains documentation for the LLVM infrastructure. + +This package is a dummy package that depends on the version of +llvm-doc that openSUSE currently supports. Packages that +don't require a specific LLVM version should depend on this. + %package -n clang Summary:CLANG frontend for LLVM Group: Development/Languages/C and C++ Url:https://clang.llvm.org/ Requires: clang%{_sonum} = %{version} +Recommends: clang-doc Provides: llvm-clang = %{version} Obsoletes: llvm-clang < %{version} @@ -129,6 +144,19 @@ clang-devel that openSUSE currently supports. Packages that don't require a specific Clang version should depend on this. +%package -n clang-doc +Summary:Documentation for Clang +Group: Documentation/HTML +Requires: clang = %{version} +Requires: clang%{_sonum}-doc = %{version} + +%description -n clang-doc +This package contains documentation for the Clang compiler. + +This package is a dummy package that depends on the version of +clang-doc that openSUSE currently supports. Packages that +don't require a specific Clang version should depend on this. + %package LTO-devel Summary:Link-time optimizer for LLVM (devel package) Group: Development/Libraries/C and C++ @@ -158,6 +186,7 @@ Summary:Vim plugins for LLVM Group: Productivity/Text/Editors Requires: llvm%{_sonum}-vim-plugins = %{version} +Supplements:packageand(llvm:vim) BuildArch: noarch %descriptionvim-plugins @@ -171,6 +200,7 @@ Summary:Emacs plugins for LLVM Group: Productivity/Text/Editors Requires: llvm%{_sonum}-emacs-plugins = %{version} +Supplements:packageand(llvm:emacs) BuildArch: noarch %descriptionemacs-plugins @@ -185,6 +215,7 @@ Group: Development/Tools/Debuggers Url:https://lldb.llvm.org/ Req
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-07-28 10:19:58 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.4126 (New) Package is "llvm" Sun Jul 28 10:19:58 2019 rev:106 rq:718118 version:8.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-06-22 11:22:25.517272881 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.4126/llvm.changes 2019-07-28 10:20:11.744601636 +0200 @@ -1,0 +2,8 @@ +Sat Jul 20 19:01:13 UTC 2019 - Aaron Puchert + +- Update to version 8.0.1. + * This release contains bug-fixes for the LLVM 8.0.0 release. +This release is API and ABI compatible with 8.0.0. +- Offer llvm-gold even when we don't use gold for linking. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.Ji5InO/_old 2019-07-28 10:20:12.176601637 +0200 +++ /var/tmp/diff_new_pack.Ji5InO/_new 2019-07-28 10:20:12.176601637 +0200 @@ -16,12 +16,6 @@ # -%ifarch ppc -%bcond_with gold -%else -%bcond_without gold -%endif - %define _sonum 8 %ifarch x86_64 %define has_lldb 1 @@ -31,7 +25,7 @@ %endif %endif Name: llvm -Version:8.0.0 +Version:8.0.1 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -48,9 +42,7 @@ BuildRequires: llvm%{_sonum}-LTO-devel = %{version} BuildRequires: llvm%{_sonum}-devel = %{version} BuildRequires: llvm%{_sonum}-emacs-plugins = %{version} -%if %{with gold} BuildRequires: llvm%{_sonum}-gold = %{version} -%endif BuildRequires: llvm%{_sonum}-vim-plugins = %{version} Requires: llvm%{_sonum} = %{version} %if 0%{?has_lldb} @@ -79,9 +71,7 @@ Summary:Header Files for LLVM Group: Development/Libraries/C and C++ Requires: llvm%{_sonum}-devel = %{version} -%if %{with gold} Requires: llvm-gold -%endif %description devel This package contains library and header files needed to develop @@ -152,7 +142,6 @@ llvm-LTO-devel that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. -%if %{with gold} %package gold Summary:Gold linker plugin for LLVM Group: Development/Tools/Building @@ -164,7 +153,6 @@ This package is a dummy package that depends on the version of llvm-gold that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. -%endif %packagevim-plugins Summary:Vim plugins for LLVM @@ -261,10 +249,8 @@ %files -n clang-checker %doc README -%if %{with gold} %files gold %doc README -%endif %files devel %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-06-22 11:22:23 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.4615 (New) Package is "llvm" Sat Jun 22 11:22:23 2019 rev:105 rq:710291 version:8.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-06-14 20:22:31.358836069 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.4615/llvm.changes 2019-06-22 11:22:25.517272881 +0200 @@ -1,0 +2,11 @@ +Mon Jun 10 17:07:38 UTC 2019 - Aaron Puchert + +- Change some groups: + * devel packages in Development/Libraries, + * clang in Development/Languages/C and C++, + * the gold plugin in Development/Tools/Building. +- Add some URLs. +- Update packaging guidelines: the minor version is always 0 since + LLVM 4, and the subpackage is now llvmX instead of llvmX_Y. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.oMU03F/_old 2019-06-22 11:22:27.109274572 +0200 +++ /var/tmp/diff_new_pack.oMU03F/_new 2019-06-22 11:22:27.149274615 +0200 @@ -36,7 +36,7 @@ Summary:Low Level Virtual Machine License:NCSA Group: Development/Languages/Other -URL:https://www.llvm.org +URL:https://www.llvm.org/ # This file documents the process for updating llvm Source0:README.packaging Source101: baselibs.conf @@ -77,7 +77,7 @@ %package devel Summary:Header Files for LLVM -Group: Development/Languages/Other +Group: Development/Libraries/C and C++ Requires: llvm%{_sonum}-devel = %{version} %if %{with gold} Requires: llvm-gold @@ -93,7 +93,8 @@ %package -n clang Summary:CLANG frontend for LLVM -Group: Development/Languages/Other +Group: Development/Languages/C and C++ +Url:https://clang.llvm.org/ Requires: clang%{_sonum} = %{version} Provides: llvm-clang = %{version} Obsoletes: llvm-clang < %{version} @@ -107,7 +108,8 @@ %package -n clang-checker Summary:Static code analyzer for CLANG -Group: Development/Languages/Other +Group: Development/Languages/C and C++ +Url:https://clang-analyzer.llvm.org/ Requires: clang%{_sonum}-checker = %{version} Provides: llvm-clang-checker = %{version} Obsoletes: llvm-clang-checker < %{version} @@ -122,7 +124,7 @@ %package -n clang-devel Summary:CLANG frontend for LLVM (devel package) -Group: Development/Languages/Other +Group: Development/Libraries/C and C++ Requires: clang%{_sonum}-devel = %{version} Provides: llvm-clang-devel = %{version} Obsoletes: llvm-clang-devel < %{version} @@ -139,7 +141,7 @@ %package LTO-devel Summary:Link-time optimizer for LLVM (devel package) -Group: Development/Languages/Other +Group: Development/Libraries/C and C++ Requires: llvm%{_sonum}-LTO-devel = %{version} %description LTO-devel @@ -153,7 +155,7 @@ %if %{with gold} %package gold Summary:Gold linker plugin for LLVM -Group: Development/Languages/Other +Group: Development/Tools/Building Requires: llvm%{_sonum}-gold = %{version} %description gold @@ -193,6 +195,7 @@ %package -n lldb Summary:Software debugger built using LLVM libraries Group: Development/Tools/Debuggers +Url:https://lldb.llvm.org/ Requires: lldb%{_sonum} = %{version} %description -n lldb @@ -207,7 +210,7 @@ %package -n lldb-devel Summary:Development files for LLDB -Group: Development/Languages/Other +Group: Development/Libraries/C and C++ Requires: lldb%{_sonum}-devel = %{version} %description -n lldb-devel @@ -219,7 +222,7 @@ %package -n python3-lldb Summary:Python bindings for liblldb -Group: Development/Languages/Python +Group: Development/Libraries/Python Requires: python3-lldb%{_sonum} = %{version} %description -n python3-lldb @@ -232,6 +235,7 @@ %package -n lld Summary:Linker for Clang/LLVM Group: Development/Tools/Building +Url:https://lld.llvm.org/ Requires: lld%{_sonum} = %{version} %description -n lld ++ README.packaging ++ --- /var/tmp/diff_new_pack.oMU03F/_old 2019-06-22 11:22:27.533275023 +0200 +++ /var/tmp/diff_new_pack.oMU03F/_new 2019-06-22 11:22:27.557275048 +0200 @@ -14,58 +14,58 @@ LLVM version numbers come in three levels. For version X.Y.Z, changes to the X level are major updates, changes to the Y level are minor updates, and changes to the Z level -
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-06-14 20:22:30 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.4811 (New) Package is "llvm" Fri Jun 14 20:22:30 2019 rev:104 rq:704661 version:8.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-02-24 17:05:39.572615849 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.4811/llvm.changes 2019-06-14 20:22:31.358836069 +0200 @@ -1,0 +2,10 @@ +Mon Mar 18 08:43:45 UTC 2019 - m...@suse.com + +- Update to llvm 8.0.0 + * For details, see the release notes: + https://llvm.org/releases/8.0.0/docs/ReleaseNotes.html + https://llvm.org/releases/8.0.0/tools/clang/docs/ReleaseNotes.html + https://llvm.org/releases/8.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html + https://llvm.org/releases/8.0.0/tools/lld/docs/ReleaseNotes.html + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.eitqVK/_old 2019-06-14 20:22:32.038835857 +0200 +++ /var/tmp/diff_new_pack.eitqVK/_new 2019-06-14 20:22:32.038835857 +0200 @@ -22,7 +22,7 @@ %bcond_without gold %endif -%define _sonum 7 +%define _sonum 8 %ifarch x86_64 %define has_lldb 1 # python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) @@ -31,7 +31,7 @@ %endif %endif Name: llvm -Version:7.0.1 +Version:8.0.0 Release:0 Summary:Low Level Virtual Machine License:NCSA
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-02-24 17:05:36 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.28833 (New) Package is "llvm" Sun Feb 24 17:05:36 2019 rev:103 rq:674470 version:7.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2019-02-04 21:17:58.535723799 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.28833/llvm.changes 2019-02-24 17:05:39.572615849 +0100 @@ -1,0 +2,7 @@ +Tue Feb 12 16:33:33 UTC 2019 - John Paul Adrian Glaubitz + +- Remove ppc from Exclude field in spec file +- Allow use of Gold linker to be conditional +- Disable Gold linker on ppc + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.1DcAUy/_old 2019-02-24 17:05:41.532614917 +0100 +++ /var/tmp/diff_new_pack.1DcAUy/_new 2019-02-24 17:05:41.536614915 +0100 @@ -12,10 +12,16 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%ifarch ppc +%bcond_with gold +%else +%bcond_without gold +%endif + %define _sonum 7 %ifarch x86_64 %define has_lldb 1 @@ -42,7 +48,9 @@ BuildRequires: llvm%{_sonum}-LTO-devel = %{version} BuildRequires: llvm%{_sonum}-devel = %{version} BuildRequires: llvm%{_sonum}-emacs-plugins = %{version} +%if %{with gold} BuildRequires: llvm%{_sonum}-gold = %{version} +%endif BuildRequires: llvm%{_sonum}-vim-plugins = %{version} Requires: llvm%{_sonum} = %{version} %if 0%{?has_lldb} @@ -53,7 +61,7 @@ BuildRequires: python3-lldb%{_sonum} = %{version} %endif # Mirrors ExcludeArch in llvm%{_sonum} -ExcludeArch:ppc s390 +ExcludeArch:s390 %description LLVM is a compiler infrastructure designed for compile-time, @@ -71,7 +79,9 @@ Summary:Header Files for LLVM Group: Development/Languages/Other Requires: llvm%{_sonum}-devel = %{version} +%if %{with gold} Requires: llvm-gold +%endif %description devel This package contains library and header files needed to develop @@ -140,6 +150,7 @@ llvm-LTO-devel that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. +%if %{with gold} %package gold Summary:Gold linker plugin for LLVM Group: Development/Languages/Other @@ -151,6 +162,7 @@ This package is a dummy package that depends on the version of llvm-gold that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. +%endif %packagevim-plugins Summary:Vim plugins for LLVM @@ -245,8 +257,10 @@ %files -n clang-checker %doc README +%if %{with gold} %files gold %doc README +%endif %files devel %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2019-02-04 21:17:50 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.28833 (New) Package is "llvm" Mon Feb 4 21:17:50 2019 rev:102 rq:666123 version:7.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-12-24 11:36:32.613710314 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new.28833/llvm.changes 2019-02-04 21:17:58.535723799 +0100 @@ -1,0 +2,7 @@ +Mon Jan 14 15:39:53 UTC 2019 - m...@suse.com + +- Update to llvm 7.0.1 + * This release contains bug-fixes for the LLVM 7.0.0 release. +This release is API and ABI compatible with 7.0.0. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.DoLRJ2/_old 2019-02-04 21:17:58.987723629 +0100 +++ /var/tmp/diff_new_pack.DoLRJ2/_new 2019-02-04 21:17:58.991723626 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %endif %endif Name: llvm -Version:7.0.0 +Version:7.0.1 Release:0 Summary:Low Level Virtual Machine License:NCSA
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-12-24 11:36:31 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new.28833 (New) Package is "llvm" Mon Dec 24 11:36:31 2018 rev:101 rq:637639 version:7.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-07-27 10:55:04.969513435 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new.28833/llvm.changes 2018-12-24 11:36:32.613710314 +0100 @@ -1,0 +2,10 @@ +Thu Aug 9 08:55:35 UTC 2018 - m...@suse.com + +- Update to llvm 7.0.0 + * For details, see the release notes: + https://llvm.org/releases/7.0.0/docs/ReleaseNotes.html + https://llvm.org/releases/7.0.0/tools/clang/docs/ReleaseNotes.html + https://llvm.org/releases/7.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html + https://llvm.org/releases/7.0.0/tools/lld/docs/ReleaseNotes.html + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.u6st2p/_old 2018-12-24 11:36:33.161709827 +0100 +++ /var/tmp/diff_new_pack.u6st2p/_new 2018-12-24 11:36:33.161709827 +0100 @@ -16,7 +16,7 @@ # -%define _sonum 6 +%define _sonum 7 %ifarch x86_64 %define has_lldb 1 # python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) @@ -25,7 +25,7 @@ %endif %endif Name: llvm -Version:6.0.1 +Version:7.0.0 Release:0 Summary:Low Level Virtual Machine License:NCSA
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-07-27 10:54:18 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Fri Jul 27 10:54:18 2018 rev:100 rq:625298 version:6.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-06-03 12:30:17.357184711 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2018-07-27 10:55:04.969513435 +0200 @@ -1,0 +2,12 @@ +Wed Jul 25 08:18:37 UTC 2018 - m...@suse.com + +- Update to version 6.0.1 + * This release contains bug-fixes for the LLVM 6.0.0 release. It +is API and ABI compatible with 6.0.0. + +--- +Wed Jul 18 10:49:37 UTC 2018 - m...@suse.com + +- Add ExcludeArch mirroring the ones in llvm6. (bnc#1101598) + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.WHrgy0/_old 2018-07-27 10:55:05.481514415 +0200 +++ /var/tmp/diff_new_pack.WHrgy0/_new 2018-07-27 10:55:05.481514415 +0200 @@ -25,7 +25,7 @@ %endif %endif Name: llvm -Version:6.0.0 +Version:6.0.1 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -52,6 +52,8 @@ %if 0%{?has_lldb_python} BuildRequires: python3-lldb%{_sonum} = %{version} %endif +# Mirrors ExcludeArch in llvm%{_sonum} +ExcludeArch:ppc s390 %description LLVM is a compiler infrastructure designed for compile-time,
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-06-03 12:30:14 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Sun Jun 3 12:30:14 2018 rev:99 rq:613054 version:6.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-04-02 22:47:26.641734931 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2018-06-03 12:30:17.357184711 +0200 @@ -1,0 +2,5 @@ +Wed May 30 12:25:16 UTC 2018 - kbabi...@suse.com + +- spec-cleaner and https:// usage + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.vItsal/_old 2018-06-03 12:30:20.445071665 +0200 +++ /var/tmp/diff_new_pack.vItsal/_new 2018-06-03 12:30:20.457071226 +0200 @@ -16,6 +16,7 @@ # +%define _sonum 6 %ifarch x86_64 %define has_lldb 1 # python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) @@ -23,15 +24,13 @@ %define has_lldb_python 1 %endif %endif - -%define _sonum 6 Name: llvm Version:6.0.0 Release:0 Summary:Low Level Virtual Machine License:NCSA Group: Development/Languages/Other -Url:http://www.llvm.org +URL:https://www.llvm.org # This file documents the process for updating llvm Source0:README.packaging Source101: baselibs.conf @@ -45,6 +44,7 @@ BuildRequires: llvm%{_sonum}-emacs-plugins = %{version} BuildRequires: llvm%{_sonum}-gold = %{version} BuildRequires: llvm%{_sonum}-vim-plugins = %{version} +Requires: llvm%{_sonum} = %{version} %if 0%{?has_lldb} BuildRequires: lldb%{_sonum} = %{version} BuildRequires: lldb%{_sonum}-devel = %{version} @@ -52,7 +52,6 @@ %if 0%{?has_lldb_python} BuildRequires: python3-lldb%{_sonum} = %{version} %endif -Requires: llvm%{_sonum} = %{version} %description LLVM is a compiler infrastructure designed for compile-time, @@ -66,7 +65,6 @@ llvm that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. - %package devel Summary:Header Files for LLVM Group: Development/Languages/Other @@ -81,7 +79,6 @@ llvm-devel that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. - %package -n clang Summary:CLANG frontend for LLVM Group: Development/Languages/Other @@ -96,7 +93,6 @@ clang that openSUSE currently supports. Packages that don't require a specific Clang version should depend on this. - %package -n clang-checker Summary:Static code analyzer for CLANG Group: Development/Languages/Other @@ -112,7 +108,6 @@ clang-checker that openSUSE currently supports. Packages that don't require a specific Clang version should depend on this. - %package -n clang-devel Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other @@ -130,7 +125,6 @@ clang-devel that openSUSE currently supports. Packages that don't require a specific Clang version should depend on this. - %package LTO-devel Summary:Link-time optimizer for LLVM (devel package) Group: Development/Languages/Other @@ -144,7 +138,6 @@ llvm-LTO-devel that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. - %package gold Summary:Gold linker plugin for LLVM Group: Development/Languages/Other @@ -157,7 +150,6 @@ llvm-gold that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. - %packagevim-plugins Summary:Vim plugins for LLVM Group: Productivity/Text/Editors @@ -171,7 +163,6 @@ llvm-vim-plugins that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. - %packageemacs-plugins Summary:Emacs plugins for LLVM Group: Productivity/Text/Editors @@ -185,7 +176,6 @@ llvm-emacs-plugins that openSUSE currently supports. Packages that don't require a specific LLVM version should depend on this. - %package -n lldb Summary:Software debugger built using LLVM libraries Group: Development/Tools/Debuggers @@ -201,7 +191,6 @@ lldb that openSUSE currently supports. Packages that don't require a specific LLDB version should depend on this. - %package -n lldb-devel Summary:Development files for LLDB Group: Development/Languages/Other @@ -214,7 +203,6 @@ lldb-devel that openSUSE currently supports. Packages that
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-04-02 22:47:24 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Mon Apr 2 22:47:24 2018 rev:98 rq:592180 version:6.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-01-26 13:58:04.761238289 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2018-04-02 22:47:26.641734931 +0200 @@ -1,0 +2,20 @@ +Thu Mar 29 07:26:34 UTC 2018 - m...@suse.com + +- Update to version 6.0.0. + * Added polly + * Notable changes: +- Retpoline Spectre variant 2 mitigation +- GlobalISel by default for AArch64 at -O0 +- improved scheduling on several x86 micro-architectures +- Clang defaults to -std=gnu++14 instead of -std=gnu++98 +- support for some upcoming C++2a features +- improved optimizations, new compiler warnings, many bug + fixes, and more. + +--- +Mon Mar 19 12:23:56 UTC 2018 - m...@suse.com + +- Build lldb and python3-lldb metapackages if and only if the real + packages are built. Fixes build on Leap 42.3. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.Y1o0uy/_old 2018-04-02 22:47:27.605699883 +0200 +++ /var/tmp/diff_new_pack.Y1o0uy/_new 2018-04-02 22:47:27.605699883 +0200 @@ -16,9 +16,17 @@ # -%define _sonum 5 +%ifarch x86_64 +%define has_lldb 1 +# python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package) +%if 0%{?suse_version} > 1320 +%define has_lldb_python 1 +%endif +%endif + +%define _sonum 6 Name: llvm -Version:5.0.1 +Version:6.0.0 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -37,9 +45,11 @@ BuildRequires: llvm%{_sonum}-emacs-plugins = %{version} BuildRequires: llvm%{_sonum}-gold = %{version} BuildRequires: llvm%{_sonum}-vim-plugins = %{version} -%ifarch arm x86_64 +%if 0%{?has_lldb} BuildRequires: lldb%{_sonum} = %{version} BuildRequires: lldb%{_sonum}-devel = %{version} +%endif +%if 0%{?has_lldb_python} BuildRequires: python3-lldb%{_sonum} = %{version} %endif Requires: llvm%{_sonum} = %{version} @@ -274,7 +284,7 @@ %defattr(-,root,root,-) %doc README -%ifarch arm x86_64 +%if 0%{?has_lldb} %files -n lldb %defattr(-,root,root) @@ -284,6 +294,10 @@ %defattr(-,root,root) %doc README +%endif + +%if 0%{?has_lldb_python} + %files -n python3-lldb %defattr(-,root,root) %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-01-26 13:58:04 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Fri Jan 26 13:58:04 2018 rev:97 rq:569076 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-01-16 09:30:24.763265103 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2018-01-26 13:58:04.761238289 +0100 @@ -1,0 +2,5 @@ +Wed Jan 24 13:07:14 UTC 2018 - m...@suse.com + +- Remove clang-devel-static. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.L04smm/_old 2018-01-26 13:58:06.501157054 +0100 +++ /var/tmp/diff_new_pack.L04smm/_new 2018-01-26 13:58:06.505156867 +0100 @@ -109,6 +109,8 @@ Requires: clang%{_sonum}-devel = %{version} Provides: llvm-clang-devel = %{version} Obsoletes: llvm-clang-devel < %{version} +Provides: clang-devel-static = %{version} +Obsoletes: clang-devel-static < %{version} %description -n clang-devel This package contains the clang (C language) frontend for LLVM. @@ -119,20 +121,6 @@ don't require a specific Clang version should depend on this. -%package -n clang-devel-static -Summary:Static libraries for CLANG -Group: Development/Languages/Other -Requires: clang%{_sonum}-devel-static = %{version} - -%description -n clang-devel-static -This package contains static libraries for clang (C language) -frontend for LLVM. - -This package is a dummy package that depends on the version of -clang-devel that openSUSE currently supports. Packages that -don't require a specific Clang version should depend on this. - - %package LTO-devel Summary:Link-time optimizer for LLVM (devel package) Group: Development/Languages/Other @@ -274,10 +262,6 @@ %defattr(-,root,root) %doc README -%files -n clang-devel-static -%defattr(-,root,root) -%doc README - %files LTO-devel %defattr(-,root,root) %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-01-16 09:30:23 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Tue Jan 16 09:30:23 2018 rev:96 rq:562433 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2018-01-07 17:22:26.586266499 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2018-01-16 09:30:24.763265103 +0100 @@ -1,0 +2,5 @@ +Mon Jan 8 08:36:37 UTC 2018 - m...@suse.com + +- Add missing %files for lld. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.4Drnaj/_old 2018-01-16 09:30:25.827215325 +0100 +++ /var/tmp/diff_new_pack.4Drnaj/_new 2018-01-16 09:30:25.831215137 +0100 @@ -306,4 +306,8 @@ %endif +%files -n lld +%defattr(-,root,root) +%doc README + %changelog
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2018-01-07 17:22:21 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Sun Jan 7 17:22:21 2018 rev:95 rq:561972 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2017-12-16 20:53:30.901130590 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2018-01-07 17:22:26.586266499 +0100 @@ -1,0 +2,13 @@ +Fri Jan 5 14:53:42 UTC 2018 - m...@suse.com + +- Update to version 5.0.1 + * This release contains bug-fixes for the LLVM 5.0.0 release. + * This release is API and ABI compatible with 5.0.0. + +--- +Thu Jan 4 09:00:28 UTC 2018 - m...@suse.com + +- Add lld package. + * LLD is new since llvm5. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.JkMbYX/_old 2018-01-07 17:22:27.110241939 +0100 +++ /var/tmp/diff_new_pack.JkMbYX/_new 2018-01-07 17:22:27.114241752 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define _sonum 5 Name: llvm -Version:5.0.0 +Version:5.0.1 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -230,6 +230,17 @@ don't require a specific LLDB version should depend on this. +%package -n lld +Summary:Linker for Clang/LLVM +Group: Development/Tools/Building +Requires: lld%{_sonum} = %{version} + +%description -n lld +LLD is a linker from the LLVM project. That is a drop-in replacement for +system linkers and runs much faster than them. It also provides features that +are useful for toolchain developers. + + %prep # Not needed
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2017-12-16 20:52:38 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Sat Dec 16 20:52:38 2017 rev:94 rq:556746 version:5.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2017-10-19 19:31:22.595010533 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2017-12-16 20:53:30.901130590 +0100 @@ -1,0 +2,15 @@ +Wed Dec 13 15:37:02 UTC 2017 - m...@suse.com + +- Rename python-lldb to python3-lldb to match the renamed package + in llvm4 and llvm5 after switch to python3. Fix its dependency. + +--- +Wed Dec 13 12:29:16 UTC 2017 - m...@suse.com + +- Update to version 5.0.0 + * See: ++ http://llvm.org/releases/5.0.0/docs/ReleaseNotes.html ++ http://llvm.org/releases/5.0.0/tools/clang/docs/ReleaseNotes.html ++ http://llvm.org/releases/5.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.dHH6rv/_old 2017-12-16 20:53:31.377107613 +0100 +++ /var/tmp/diff_new_pack.dHH6rv/_new 2017-12-16 20:53:31.385107227 +0100 @@ -16,9 +16,9 @@ # -%define _sonum 4 +%define _sonum 5 Name: llvm -Version:4.0.1 +Version:5.0.0 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -40,7 +40,7 @@ %ifarch arm x86_64 BuildRequires: lldb%{_sonum} = %{version} BuildRequires: lldb%{_sonum}-devel = %{version} -BuildRequires: python%{_sonum}-lldb = %{version} +BuildRequires: python3-lldb%{_sonum} = %{version} %endif Requires: llvm%{_sonum} = %{version} @@ -217,16 +217,16 @@ don't require a specific LLDB version should depend on this. -%package -n python-lldb +%package -n python3-lldb Summary:Python bindings for liblldb Group: Development/Languages/Python -Requires: python%{_sonum}-lldb = %{version} +Requires: python3-lldb%{_sonum} = %{version} -%description -n python-lldb +%description -n python3-lldb This package contains the Python bindings to clang (C language) frontend for LLVM. This package is a dummy package that depends on the version of -python-lldb that openSUSE currently supports. Packages that +python3-lldb that openSUSE currently supports. Packages that don't require a specific LLDB version should depend on this. @@ -289,7 +289,7 @@ %defattr(-,root,root) %doc README -%files -n python-lldb +%files -n python3-lldb %defattr(-,root,root) %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2017-10-19 19:31:21 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Thu Oct 19 19:31:21 2017 rev:93 rq:533361 version:4.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2017-07-04 13:33:52.246420709 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2017-10-19 19:31:22.595010533 +0200 @@ -1,0 +2,6 @@ +Mon Oct 9 07:20:00 UTC 2017 - m...@suse.com + +- Add clang-devel-static package. + * Requires clang4-devel-static that was added to llvm4 package. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.ZRl4AX/_old 2017-10-19 19:31:23.374974039 +0200 +++ /var/tmp/diff_new_pack.ZRl4AX/_new 2017-10-19 19:31:23.374974039 +0200 @@ -119,6 +119,20 @@ don't require a specific Clang version should depend on this. +%package -n clang-devel-static +Summary:Static libraries for CLANG +Group: Development/Languages/Other +Requires: clang%{_sonum}-devel-static = %{version} + +%description -n clang-devel-static +This package contains static libraries for clang (C language) +frontend for LLVM. + +This package is a dummy package that depends on the version of +clang-devel that openSUSE currently supports. Packages that +don't require a specific Clang version should depend on this. + + %package LTO-devel Summary:Link-time optimizer for LLVM (devel package) Group: Development/Languages/Other @@ -249,6 +263,10 @@ %defattr(-,root,root) %doc README +%files -n clang-devel-static +%defattr(-,root,root) +%doc README + %files LTO-devel %defattr(-,root,root) %doc README
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2017-07-04 13:33:51 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Tue Jul 4 13:33:51 2017 rev:92 rq:506388 version:4.0.1 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2017-04-17 10:19:50.477191432 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2017-07-04 13:33:52.246420709 +0200 @@ -1,0 +2,6 @@ +Tue Jun 27 08:06:55 UTC 2017 - idon...@suse.com + +- Update to version 4.0.1 + * Minor bugfixes + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.ZOUHE8/_old 2017-07-04 13:33:52.746350312 +0200 +++ /var/tmp/diff_new_pack.ZOUHE8/_new 2017-07-04 13:33:52.750349749 +0200 @@ -18,7 +18,7 @@ %define _sonum 4 Name: llvm -Version:4.0.0 +Version:4.0.1 Release:0 Summary:Low Level Virtual Machine License:NCSA
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2017-04-17 10:19:49 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Mon Apr 17 10:19:49 2017 rev:91 rq:483730 version:4.0.0 Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2017-01-11 11:54:45.334665129 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2017-04-17 10:19:50.477191432 +0200 @@ -1,0 +2,9 @@ +Wed Mar 29 10:36:27 UTC 2017 - idon...@suse.com + +- Update to version 4.0.0 + * See: ++ http://llvm.org/releases/4.0.0/docs/ReleaseNotes.html ++ http://llvm.org/releases/4.0.0/tools/clang/docs/ReleaseNotes.html ++ http://llvm.org/releases/4.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.0l2w9q/_old 2017-04-17 10:19:52.344926914 +0200 +++ /var/tmp/diff_new_pack.0l2w9q/_new 2017-04-17 10:19:52.344926914 +0200 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define _sonum 3_9 +%define _sonum 4 Name: llvm -Version:3.9.1 +Version:4.0.0 Release:0 Summary:Low Level Virtual Machine License:NCSA
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-10-18 10:37:06 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-10-10 17:26:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-10-18 10:37:07.0 +0200 @@ -1,0 +2,5 @@ +Fri Oct 7 20:33:10 UTC 2016 - toddrme2...@gmail.com + +- Improve README.packaging. + +--- Other differences: -- ++ README.packaging ++ --- /var/tmp/diff_new_pack.7W4pl9/_old 2016-10-18 10:37:08.0 +0200 +++ /var/tmp/diff_new_pack.7W4pl9/_new 2016-10-18 10:37:08.0 +0200 @@ -30,6 +30,7 @@ tag as the currently-supported version of the llvmX_Y package. + === PATCH-LEVEL UPDATES TO CURRENT LLVM VERSION @@ -38,10 +39,19 @@ 1. llvmX_Y package: 1. Add the new sources to the package and delete the old - ones - 2. Update the "Version" tag in llvmX_Y.spec and + ones. This will not include cfe-docs-X.Y.Z.src.tar.xz + or llvm-docs-X.Y.Z.src.tar.xz (see next item). + 2. Build cfe-docs-X.Y.Z.src.tar.xz and + llvm-docs-X.Y.Z.src.tar.xz. The instructions are in + the %install sectionf of llvmX_Y.spec. The version + numbers in the instructions will need to be updated + first. Add those sources as well and delete the old + ones. + 3. Update the "Version" tag in llvmX_Y.spec and lldbX_Y.spec to match the new sources. - 3. Update the "_revsn" tag in llvmX_Y.spec and + 4. Update the version number in the patches to match the + new sources. + 5. Update the "_revsn" tag in llvmX_Y.spec and lldbX_Y.spec to match the revision number of the tag. This can be found on http://lists.llvm.org/pipermail/llvm-branch-commits @@ -49,13 +59,16 @@ "Creating release candidate final" in the subject line. You want to find the one for the current LLVM release. - 4. Update the "_relver" tag in llvmX_Y.spec to match + 6. Update the "_relver" tag in llvmX_Y.spec to match the "Version" tag. - 5. Confirm everything builds successfully and there are + 7. Confirm everything builds successfully and there are no new rpmlint issues. + 8. Update the llvmX_Y.changes and lldbX_Y.changes files. 2. llvm package: 1. Update the "Version" tag to match the new llvmX_Y version. + 2. Update the llvm.changes file. + PATCH-LEVEL UPDATES TO OLD LLVM VERSIONS @@ -66,10 +79,19 @@ 1. llvmX_Y package: 1. Add the new sources to the package and delete the old - ones - 2. Update the "Version" tag in llvmX_Y.spec and + ones. This will not include cfe-docs-X.Y.Z.src.tar.xz + or llvm-docs-X.Y.Z.src.tar.xz (see next item). + 2. Build cfe-docs-X.Y.Z.src.tar.xz and + llvm-docs-X.Y.Z.src.tar.xz. The instructions are in + the %install sectionf of llvmX_Y.spec. The version + numbers in the instructions will need to be updated + first. Add those sources as well and delete the old + ones. + 3. Update the "Version" tag in llvmX_Y.spec and lldbX_Y.spec to match the new sources. - 3. Update the "_revsn" tag in llvmX_Y.spec and + 4. Update the version number in the patches to match the + new sources. + 5. Update the "_revsn" tag in llvmX_Y.spec and lldbX_Y.spec to match the revision number of the tag. This can be found on http://lists.llvm.org/pipermail/llvm-branch-commits @@ -77,10 +99,12 @@ "Creating release candidate final" in the subject line. You want to find the one for the current LLVM release. - 4. Update the "_relver" tag in llvmX_Y.spec to match + 6. Update the "_relver" tag in llvmX_Y.spec to match the "Version" tag. - 5. Confirm everything builds successfully and there are - no new rpmlint issues. + 7. Confirm everything builds successfully and there are + no new rpmlint issues. Some patches may need to be + removed or rebased. + 8. Update the llvmX_Y.changes and lldbX_Y.changes files. === @@ -94,46 +118,61 @@ 1. New llvmX_Y package: 1. Copy (do not link) the old llvmX_Y to the new major/minor version number. - 2. Rename the .spec, .changes, and rpmlintrc files in the + 2. Add the new sources to the package and delete the old + ones. This will not include cfe-docs-X.Y.Z.src.tar.xz + or llvm-docs-X.Y.Z.src.tar.xz (see next item). + 3. Bui
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-10-10 17:26:35 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-09-16 10:59:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-10-10 17:26:36.0 +0200 @@ -1,0 +2,32 @@ +Thu Oct 6 07:05:41 UTC 2016 - idon...@suse.com + +- Remove unneeded emacs-nox dependency. + +--- +Wed Oct 5 08:14:31 UTC 2016 - idon...@suse.com + +- BuildIgnore emacs and vim to avoid cycles. + +--- +Fri Sep 9 18:26:41 UTC 2016 - toddrme2...@gmail.com + +- Split out llvm and lldb into a version-specific package. +- Turn this package into a wrapper around the version-specific + packages. +- Remove patches: + * default-to-i586.patch + * assume-opensuse.patch + * glibc-2.23-libcxx.patch + * arm_suse_support.diff + * llvm-remove-clang-only-flags.patch + * clang-resourcedirs.patch + * lldb-add-pthread-dl-libs.patch + * llvm-nonvoid-return.patch + * glibc-2.24-libcxx.patch + * revert-cmake-soname.patch + * set-revision.patch + * lldb-cmake.patch + * D15067.id41365.diff + * llvm-fix-find-gcc5-install.patch + +--- Old: D15067.id41365.diff _constraints arm_suse_support.diff assume-opensuse.patch cfe-3.8.1.src.tar.xz cfe-docs-3.8.1.src.tar.xz clang-resourcedirs.patch clang-tools-extra-3.8.1.src.tar.xz compiler-rt-3.8.1.src.tar.xz default-to-i586.patch glibc-2.23-libcxx.patch glibc-2.24-libcxx.patch libcxx-3.8.1.src.tar.xz libcxxabi-3.8.1.src.tar.xz lldb-3.8.1.src.tar.xz lldb-add-pthread-dl-libs.patch lldb-cmake.patch lldb.changes lldb.spec llvm-3.8.1.src.tar.xz llvm-docs-3.8.1.src.tar.xz llvm-fix-find-gcc5-install.patch llvm-nonvoid-return.patch llvm-remove-clang-only-flags.patch llvm-rpmlintrc openmp-3.8.1.src.tar.xz revert-cmake-soname.patch set-revision.patch New: README.packaging Other differences: -- ++ llvm.spec ++ 829 lines (skipped) between /work/SRC/openSUSE:Factory/llvm/llvm.spec and /work/SRC/openSUSE:Factory/.llvm.new/llvm.spec ++ README.packaging ++ OVERVIEW This package is a dummy package that always depends on the version of corresponding LLVM packages that openSUSE currently supports. This file documents the procedure for updating the various LLVM components. There are three major update scenarios that will be addressed here, patch-level updates to the current LLVM version, patch-level updates to older LLVM versions, and major/minor version updates. LLVM version numbers come in three levels. For version X.Y.Z, changes to the X level are major updates, changes to the Y level are minor updates, and changes to the Z level are patch-level updates. Library .so numbers are based on the major and minor version, for example libllvm.so.X.Y. Patch-level updates do not update the version number of libraries. For this reason, only changes to major and minor version numbers get a new llvm package. There are up to three packages that need to be handled in a given update. This package, the base "llvm" package, the current "llvmX_Y" package (X and Y are the major and minor version numbers, respectively), and the next "llvmX_Y" package if the major or minor version has been changed. NOTE: This package should always have the same "License" tag as the currently-supported version of the llvmX_Y package. === PATCH-LEVEL UPDATES TO CURRENT LLVM VERSION For patch level updates, this package (llvm) and the current llvmX_Y package need to be updated. 1. llvmX_Y package: 1. Add the new sources to the package and delete the old ones 2. Update the "Version" tag in llvmX_Y.spec and lldbX_Y.spec to match the new sources. 3. Update the "_revsn" tag in llvmX_Y.spec and lldbX_Y.spec to match the revision number of the tag. This can be found on http://lists.llvm.org/pipermail/llvm-branch-commits and should have like "[llvm-tag]" and "Creating release candidate final" in the subject line. You want to find the one for the current LLVM release. 4. Update the "_relver" tag in llvmX_Y.spec to match the "Version" tag. 5. Confirm everything builds successfully and there are no new rpmlint issues. 2. llvm package: 1. Update the "Version" tag to match the new llvmX_Y version.
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-09-16 10:59:29 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2016-08-28 12:17:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2016-09-16 10:59:32.0 +0200 @@ -1,0 +2,54 @@ +Wed Sep 7 10:01:47 UTC 2016 - tchva...@suse.com + +- Sort out with spec-cleaner + +--- +Thu Aug 31 20:36:58 UTC 2016 - toddrme2...@gmail.com + +- Update to llvm 3.8.1 + * See http://llvm.org/releases/3.8.1/docs/ReleaseNotes.html and +http://llvm.org/releases/3.8.1/tools/docs/ReleaseNotes.html +- Use versioned libLLVM (to libLLVM3_8) and libclang (to libclang3_8) +- Change versioning of liblldb3_8 to liblldb-3_8 and use a variable + to control the name instead of hard-coding it. +- Use bcond_with and bcond_without to enable/disable build options + instead of hard-coding them. +- Put buildrequires as requires in -devel packages to avoid linker errors + when building packages against the -devel packages. +- Add ffi support (disabled by default). +- Add oprofile support (disabled by default). +- Add valgrind support (disabled by default). +- Link cmake files to the normal cmake file directory to allow autodetection + of cmake interfaces. +- Remove unused lldb components from main spec file. +- Split llvm python bindings into own subpackage. +- Split emacs plugin into own subpackage +- Move additional vim plugins into vim plugins package +- Split libc++, libLTO, LLVMgold, libomp, clang-chekers into own subpackages +- Make python-clang, llvm-vim-plugins, and llvm-emacs-plugins noarch since + they aren't architecture-specific. +- Make packages besides llvm, llvm-clang, and the shared libraries conflict + with other versions. This will be important when multiple LLVM versions + are supported. +- Various spec file cleanups +- Rebase patches: + * arm_suse_support.diff + * assume-opensuse.patch + * clang-resourcedirs.patch + * default-to-i586.patch + * glibc-2.23-libcxx.patch + * glibc-2.24-libcxx.patch + * lldb-add-pthread-dl-libs.patch + * lldb-cmake.patch + * llvm-fix-find-gcc5-install.patch + * llvm-nonvoid-return.patch + * llvm-remove-clang-only-flags.patch + * revert-cmake-soname.patch + * set-revision.patch + +--- +Wed Aug 31 10:24:31 UTC 2016 - tchva...@suse.com + +- Convert to use %cmake macros + +--- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-08-06 20:37:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-09-16 10:59:32.0 +0200 @@ -1,0 +2,60 @@ +Wed Sep 7 10:05:32 UTC 2016 - tchva...@suse.com + +- Sort a bit with spec-cleaner +- Remove the latest switch for now, things should be either coinstallable + or not, we don't need to bother around with compilation like this + +--- +Thu Aug 31 20:36:58 UTC 2016 - toddrme2...@gmail.com + +- Update to llvm 3.8.1 + * See http://llvm.org/releases/3.8.1/docs/ReleaseNotes.html and +http://llvm.org/releases/3.8.1/tools/docs/ReleaseNotes.html +- Use versioned libLLVM (to libLLVM3_8) and libclang (to libclang3_8) +- Change versioning of liblldb3_8 to liblldb-3_8 and use a variable + to control the name instead of hard-coding it. +- Use bcond_with and bcond_without to enable/disable build options + instead of hard-coding them. +- Put buildrequires as requires in -devel packages to avoid linker errors + when building packages against the -devel packages. +- Add ffi support (disabled by default). +- Add oprofile support (disabled by default). +- Add valgrind support (disabled by default). +- Link cmake files to the normal cmake file directory to allow autodetection + of cmake interfaces. +- Remove unused lldb components from main spec file. +- Split llvm python bindings into own subpackage. +- Split emacs plugin into own subpackage +- Move additional vim plugins into vim plugins package +- Split libc++, libLTO, LLVMgold, libomp, clang-chekers into own subpackages +- Make python-clang, llvm-vim-plugins, and llvm-emacs-plugins noarch since + they aren't architecture-specific. +- Make packages besides llvm, llvm-clang, and the shared libraries conflict + with other versions. This will be important when multiple LLVM versions + are supported. +- Various spec file cleanups +- Rebase patches: + * arm_suse_support.diff + * assume-opensuse.patch + * clang-resourcedirs.patch + * default-to-i586.patch + * glibc-2.23-libcxx.patch + * gl
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-08-28 12:17:33 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2016-06-29 15:03:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2016-08-28 12:17:35.0 +0200 @@ -1,0 +2,8 @@ +Thu Aug 25 16:42:02 UTC 2016 - roni...@gmail.com + +- Add a symlink of liblldb file to %{python_sitearch}/_lldb.so. + Otherwise, `import lldb` will fail with the message: + +ImportError: No module named _lldb + +--- Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.DP8KWr/_old 2016-08-28 12:17:37.0 +0200 +++ /var/tmp/diff_new_pack.DP8KWr/_new 2016-08-28 12:17:37.0 +0200 @@ -111,6 +111,7 @@ rm %{buildroot}%{py_sitedir}/lldb/_lldb.so liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so)) ln -vsf "../../../${liblldb}" %{buildroot}%{python_sitearch}/lldb/_lldb.so +ln -vsf "../../${liblldb}"%{buildroot}%{python_sitearch}/_lldb.so # Remove bundled six.py. rm -f %{buildroot}%{py_sitedir}/six.* @@ -127,6 +128,7 @@ %files %defattr(-,root,root,-) %{_bindir}/lldb* +%{py_sitedir}/_lldb.so %{py_sitedir}/lldb %{py_sitedir}/readline.so
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-08-06 20:37:47 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-07-21 07:52:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-08-06 20:37:48.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 28 09:59:01 UTC 2016 - norm...@linux.vnet.ibm.com + +- for ppc64le set memory to 4GB in _constraints file + (failure in Factory:PowerPC) + +--- Other differences: -- llvm.spec: same change ++ _constraints ++ --- /var/tmp/diff_new_pack.FZpz4d/_old 2016-08-06 20:37:53.0 +0200 +++ /var/tmp/diff_new_pack.FZpz4d/_new 2016-08-06 20:37:53.0 +0200 @@ -16,4 +16,14 @@ + + + ppc64le + + + +4096 + + +
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-07-21 07:52:21 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-05-23 16:38:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-07-21 07:52:22.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 13 12:26:46 UTC 2016 - sch...@suse.de + +- glibc-2.24-libcxx.patch: fix libcxx testsuite for glibc 2.24 + +--- New: glibc-2.24-libcxx.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.YrD4ig/_old 2016-07-21 07:52:25.0 +0200 +++ /var/tmp/diff_new_pack.YrD4ig/_new 2016-07-21 07:52:25.0 +0200 @@ -76,6 +76,7 @@ Patch8: revert-cmake-soname.patch Patch9: lldb-cmake.patch Patch10:glibc-2.23-libcxx.patch +Patch11:glibc-2.24-libcxx.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: binutils-devel >= 2.21.90 BuildRequires: bison @@ -190,6 +191,7 @@ %patch9 %if 0%{?suse_version} > 1320 %patch10 +%patch11 %endif # Move into right place ++ glibc-2.24-libcxx.patch ++ Index: libcxx-3.8.0.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp === --- libcxx-3.8.0.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp.orig +++ libcxx-3.8.0.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp @@ -113,7 +113,7 @@ int main() { Fnf f(LOCALE_ru_RU_UTF_8, 1); -assert(f.curr_symbol() == " \xD1\x80\xD1\x83\xD0\xB1"); +assert(f.curr_symbol() == " \xD1\x80\xD1\x83\xD0\xB1" || f.curr_symbol() == " \u20bd"); } { Fnt f(LOCALE_ru_RU_UTF_8, 1); @@ -121,7 +121,7 @@ int main() } { Fwf f(LOCALE_ru_RU_UTF_8, 1); -assert(f.curr_symbol() == L" \x440\x443\x431"); +assert(f.curr_symbol() == L" \x440\x443\x431" || f.curr_symbol() == L" \u20bd"); } { Fwt f(LOCALE_ru_RU_UTF_8, 1);
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-06-29 15:03:14 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2016-05-23 16:38:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2016-06-29 15:03:15.0 +0200 @@ -1,0 +2,6 @@ +Fri May 20 07:44:49 UTC 2016 - jeng...@inai.de + +- Set RPM group, drop marketing words from summary in lieu of + something useful. Implement shared library guideline. + +--- Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.1mLOW8/_old 2016-06-29 15:03:17.0 +0200 +++ /var/tmp/diff_new_pack.1mLOW8/_new 2016-06-29 15:03:17.0 +0200 @@ -20,9 +20,9 @@ Name: lldb Version:3.8.0 Release:0 -Summary:Next generation high-performance debugger +Summary:Software debugger built using LLVM libraries License:NCSA -Group: Development/Languages/Other +Group: Development/Tools/Debuggers Url:http://lldb.llvm.org Source: http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz # PATCH-FIX-OPENSUSE lldb-cmake.patch -- Let us set LLDB_REVISION and fix ncurses include path. @@ -55,11 +55,18 @@ larger LLVM Project, such as the Clang expression parser and LLVM disassembler. +%package -n liblldb3_8 +Summary:LLDB software debugger runtime library +Group: System/Libraries + +%description -n liblldb3_8 +This subpackage contains the main LLDB component. + %package devel Summary:Development files for LLDB Group: Development/Languages/Other Requires: libedit-devel -Requires: lldb = %{version} +Requires: liblldb3_8 = %{version} Requires: zlib-devel %description devel @@ -114,16 +121,19 @@ # Fix duplicated files. %fdupes %{_includedir}/%{name}/Host/ -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n liblldb3_8 -p /sbin/ldconfig +%postun -n liblldb3_8 -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/lldb* -%{_libdir}/liblldb.so.* %{py_sitedir}/lldb %{py_sitedir}/readline.so +%files -n liblldb3_8 +%defattr(-,root,root) +%{_libdir}/liblldb.so.* + %files devel %defattr(-,root,root,-) %{_includedir}/lldb
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-05-23 16:38:08 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: New Changes file: --- /dev/null 2016-04-07 01:36:33.300037506 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2016-05-23 16:38:09.0 +0200 @@ -0,0 +1,61 @@ +--- +Sun May 15 17:13:24 UTC 2016 - roni...@gmail.com + +- Update to version 3.8.0 + * No upstream changelog. +- Refresh `lldb-cmake.patch`. +- Add patch `D15067.id41365.diff` from upstream review system to + fix out of tree build (http://reviews.llvm.org/D15067). +- Add patch `lldb-add-pthread-dl-libs.patch` to force CMake to add + the options `-lpthread` and `-ldl` to the end of linking command. + Otherwise, LLDB linking will fail with these errors: + +undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12' +undefined reference to symbol 'dladdr@@GLIBC_2.2.5' + +- Run spec-cleaner. +- Add `fdupes` to remove duplicated files. + +--- +Wed Sep 2 08:23:08 UTC 2015 - idon...@suse.com + +- Update to version 3.7.0 + * No changelog upstream +- Refresh lldb-cmake.patch + +--- +Mon Jun 22 09:45:33 UTC 2015 - idon...@suse.com + +- Update lldb-cmake.patch to fix compilation on Factory + +--- +Mon May 25 13:59:56 UTC 2015 - idon...@suse.com + +- Update to version 3.6.1 + * No changelog upstream + +--- +Mon Mar 2 10:14:22 UTC 2015 - idon...@suse.com + +- Update to version 3.6.0 + * No changelog upstream +- Merge lldb-underlink.patch into lldb-cmake.patch +- Swich to static library build, shared build is not supported + +--- +Wed Sep 17 13:26:34 UTC 2014 - idon...@suse.com + +- Add BuildRequires on ncurses-devel + +--- +Sat Sep 6 14:59:58 UTC 2014 - idon...@suse.com + +- Update to version 3.5.0 + * No changelog upstream +- Add lldb-underlink.patch to link to LLVMSupport + +--- +Mon Mar 17 09:02:51 UTC 2014 - idon...@suse.com + +- First release on build.opensuse.org + --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-05-05 13:19:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-05-23 16:38:09.0 +0200 @@ -1,0 +2,11 @@ +Wed May 18 13:22:17 UTC 2016 - roni...@gmail.com + +- Build LLDB separated from LLVM. +- Re-enable python bindings for the LLDB API. + +--- +Wed May 18 11:14:38 UTC 2016 - idon...@suse.com + +- Disable libcxx/lldb/openmp for SLE fate#319582 + +--- New: D15067.id41365.diff lldb-add-pthread-dl-libs.patch lldb.changes lldb.spec Other differences: -- ++ lldb.spec ++ # # spec file for package lldb # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _revision 262553 Name: lldb Version:3.8.0 Release:0 Summary:Next generation high-performance debugger License:NCSA Group: Development/Languages/Other Url:http://lldb.llvm.org Source: http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz # PATCH-FIX-OPENSUSE lldb-cmake.patch -- Let us set LLDB_REVISION and fix ncurses include path. Patch0: lldb-cmake.patch # PATCH-FIX-UPSTREAM D15067.id41365.diff -- Patch from upstream review system to fix out of tree build (http://reviews.llvm.org/D15067) Patch1: D15067.id41365.diff # PATCH-FIX-OPENSUSE lldb-add-pthread-dl-libs.patch -- Add -lpthread and -ldl options to the end of LDFLAGS to fix linking problems.
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-05-05 13:19:08 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-04-22 16:16:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-05-05 13:19:09.0 +0200 @@ -1,0 +2,5 @@ +Mon Apr 25 07:25:22 UTC 2016 - idon...@suse.com + +- Update rpmlintrc to whitelist libLTO.so + +--- @@ -4,0 +10,6 @@ + +--- +Sun Apr 10 19:18:41 UTC 2016 - dmuel...@suse.com + +- fix arm_suse_support.diff for armv6hl +- adjust compile flags for llvm on armv6hl (fixes Mesa build) Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.pbVWBx/_old 2016-05-05 13:19:11.0 +0200 +++ /var/tmp/diff_new_pack.pbVWBx/_new 2016-05-05 13:19:11.0 +0200 @@ -259,8 +259,8 @@ %endif -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %ifarch armv6hl - -DCMAKE_C_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ - -DCMAKE_CXX_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ %endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ ++ arm_suse_support.diff ++ --- /var/tmp/diff_new_pack.pbVWBx/_old 2016-05-05 13:19:11.0 +0200 +++ /var/tmp/diff_new_pack.pbVWBx/_new 2016-05-05 13:19:11.0 +0200 @@ -1,8 +1,8 @@ Index: cfe-3.8.0.src/lib/Driver/ToolChains.cpp === cfe-3.8.0.src/lib/Driver/ToolChains.cpp +--- cfe-3.8.0.src/lib/Driver/ToolChains.cpp.orig +++ cfe-3.8.0.src/lib/Driver/ToolChains.cpp -@@ -1266,16 +1266,18 @@ bool Generic_GCC::GCCInstallationDetecto +@@ -1418,7 +1418,7 @@ bool Generic_GCC::GCCInstallationDetecto static const char *const AArch64LibDirs[] = {"/lib64", "/lib"}; static const char *const AArch64Triples[] = { "aarch64-none-linux-gnu", "aarch64-linux-gnu", "aarch64-linux-android", @@ -11,15 +11,13 @@ static const char *const AArch64beLibDirs[] = {"/lib"}; static const char *const AArch64beTriples[] = {"aarch64_be-none-linux-gnu", "aarch64_be-linux-gnu"}; - - static const char *const ARMLibDirs[] = {"/lib"}; +@@ -1427,7 +1427,9 @@ bool Generic_GCC::GCCInstallationDetecto static const char *const ARMTriples[] = {"arm-linux-gnueabi", -- "arm-linux-androideabi"}; -+ "arm-linux-androideabi", -+ "armv6hl-suse-linux-gnueabi"}; +"arm-linux-androideabi"}; static const char *const ARMHFTriples[] = {"arm-linux-gnueabihf", - "armv7hl-redhat-linux-gnueabi"}; + "armv7hl-redhat-linux-gnueabi", ++ "armv6hl-suse-linux-gnueabi", + "armv7hl-suse-linux-gnueabi"}; static const char *const ARMebLibDirs[] = {"/lib"}; static const char *const ARMebTriples[] = {"armeb-linux-gnueabi", ++ assume-opensuse.patch ++ --- /var/tmp/diff_new_pack.pbVWBx/_old 2016-05-05 13:19:11.0 +0200 +++ /var/tmp/diff_new_pack.pbVWBx/_new 2016-05-05 13:19:11.0 +0200 @@ -1,8 +1,8 @@ Index: cfe-3.8.0.src/lib/Driver/ToolChains.cpp === cfe-3.8.0.src/lib/Driver/ToolChains.cpp +--- cfe-3.8.0.src/lib/Driver/ToolChains.cpp.orig +++ cfe-3.8.0.src/lib/Driver/ToolChains.cpp -@@ -3080,6 +3080,7 @@ static bool IsUbuntu(enum Distro Distro) +@@ -3422,6 +3422,7 @@ static bool IsUbuntu(enum Distro Distro) } static Distro DetectDistro(const Driver &D, llvm::Triple::ArchType Arch) { @@ -10,7 +10,7 @@ llvm::ErrorOr> File = llvm::MemoryBuffer::getFile("/etc/lsb-release"); if (File) { -@@ -3155,6 +3156,8 @@ static Distro DetectDistro(const Driver +@@ -3498,6 +3499,8 @@ static Distro DetectDistro(const Driver return ArchLinux; return UnknownDistro; ++ default-to-i586.patch ++ --- /var/tmp/diff_new_pack.pbVWB
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-04-22 16:16:05 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-04-11 09:12:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-04-22 16:16:06.0 +0200 @@ -1,0 +2,5 @@ +Mon Apr 11 08:45:56 UTC 2016 - idon...@suse.com + +- Re-enable glibc-2.23 patch for Tumbleweed + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.iIjW51/_old 2016-04-22 16:16:07.0 +0200 +++ /var/tmp/diff_new_pack.iIjW51/_new 2016-04-22 16:16:08.0 +0200 @@ -182,9 +182,9 @@ %patch7 %patch8 -p1 %patch9 -#%if 0%{?suse_version} > 1320 -#%patch10 -#%endif +%if 0%{?suse_version} > 1320 +%patch10 +%endif # Move into right place mv cfe-%{version}.src tools/clang
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-04-11 09:12:09 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-03-18 21:32:37.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-04-11 09:12:11.0 +0200 @@ -1,0 +2,6 @@ +Mon Apr 4 17:53:14 UTC 2016 - idon...@suse.com + +- Update llvm-remove-clang-only-flags.patch to remove + -Wcovered-switch-default flag for gcc compatibility. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.ohLpID/_old 2016-04-11 09:12:15.0 +0200 +++ /var/tmp/diff_new_pack.ohLpID/_new 2016-04-11 09:12:15.0 +0200 @@ -218,6 +218,14 @@ sed -i s,LLDB_REVISION,\"%{_revision}\",g tools/lldb/source/lldb.cpp %endif +# ARMv6 needs this exact host triple +%ifarch armv6hl +cat > autoconf/config.guess << EOF +#!/bin/sh +echo armv6hl-suse-linux-gnueabi +EOF +%endif + %build TOPLEVEL=$PWD mkdir stage1 stage2 @@ -232,14 +240,6 @@ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_TARGETS_TO_BUILD=host \ -DLLDB_DISABLE_PYTHON=ON \ -%ifarch armv6hl - -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ - -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ -%endif -%ifarch armv7hl - -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ - -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ -%endif .. ninja %{?_smp_mflags} clang -v @@ -259,8 +259,8 @@ %endif -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %ifarch armv6hl - -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ - -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_C_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_CXX_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ %endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ @@ -377,6 +377,11 @@ %post clang-devel -p /sbin/ldconfig %postun clang-devel -p /sbin/ldconfig +%if %{build_lldb} +%post -n lldb -p /sbin/ldconfig +%postun -n lldb -p /sbin/ldconfig +%endif + %files %defattr(-,root,root) %{_bindir}/bugpoint ++ llvm-remove-clang-only-flags.patch ++ --- /var/tmp/diff_new_pack.ohLpID/_old 2016-04-11 09:12:15.0 +0200 +++ /var/tmp/diff_new_pack.ohLpID/_new 2016-04-11 09:12:15.0 +0200 @@ -2,7 +2,15 @@ === --- llvm-3.8.0.src.orig/cmake/modules/HandleLLVMOptions.cmake +++ llvm-3.8.0.src/cmake/modules/HandleLLVMOptions.cmake -@@ -302,9 +302,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE +@@ -417,7 +417,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE + + append_if(LLVM_ENABLE_PEDANTIC "-pedantic" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) + append_if(LLVM_ENABLE_PEDANTIC "-Wno-long-long" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) +-add_flag_if_supported("-Wcovered-switch-default" COVERED_SWITCH_DEFAULT_FLAG) + append_if(USE_NO_UNINITIALIZED "-Wno-uninitialized" CMAKE_CXX_FLAGS) + append_if(USE_NO_MAYBE_UNINITIALIZED "-Wno-maybe-uninitialized" CMAKE_CXX_FLAGS) + +@@ -454,9 +453,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE endif() endif (LLVM_ENABLE_WARNINGS) append_if(LLVM_ENABLE_WERROR "-Werror" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) @@ -12,7 +20,7 @@ if (LLVM_ENABLE_CXX1Y) check_cxx_compiler_flag("-std=c++1y" CXX_SUPPORTS_CXX1Y) append_if(CXX_SUPPORTS_CXX1Y "-std=c++1y" CMAKE_CXX_FLAGS) -@@ -367,13 +364,6 @@ add_llvm_definitions( -D__STDC_CONSTANT_ +@@ -578,13 +574,6 @@ add_llvm_definitions( -D__STDC_CONSTANT_ add_llvm_definitions( -D__STDC_FORMAT_MACROS ) add_llvm_definitions( -D__STDC_LIMIT_MACROS )
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-03-18 21:32:35 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2016-03-16 10:26:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-03-18 21:32:37.0 +0100 @@ -1,0 +2,7 @@ +Wed Mar 16 09:28:51 UTC 2016 - idon...@suse.com + +- Use gcc for stage1 bootstrap +- Add back libstdc++-devel dependency for clang since libc++ is + only available for x86-64 atm. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.1PpqcY/_old 2016-03-18 21:32:39.0 +0100 +++ /var/tmp/diff_new_pack.1PpqcY/_new 2016-03-18 21:32:39.0 +0100 @@ -77,11 +77,11 @@ BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: groff BuildRequires: libedit-devel BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: llvm-clang BuildRequires: ncurses-devel BuildRequires: ninja BuildRequires: python-base @@ -116,7 +116,7 @@ %package clang Summary:CLANG frontend for LLVM Group: Development/Languages/Other -Provides: clang +Requires: libstdc++-devel %description clang This package contains the clang (C language) frontend for LLVM. @@ -218,21 +218,13 @@ sed -i s,LLDB_REVISION,\"%{_revision}\",g tools/lldb/source/lldb.cpp %endif -# ARMv6 needs this exact host triple -%ifarch armv6hl -cat > autoconf/config.guess << EOF -#!/bin/sh -echo armv6hl-suse-linux-gnueabi -EOF -%endif - %build TOPLEVEL=$PWD mkdir stage1 stage2 pushd stage1 -export CC=clang -export CXX=clang++ +export CC=gcc +export CXX=g++ cmake -G "Ninja" \ -DBUILD_SHARED_LIBS=ON \ @@ -241,8 +233,8 @@ -DLLVM_TARGETS_TO_BUILD=host \ -DLLDB_DISABLE_PYTHON=ON \ %ifarch armv6hl - -DCMAKE_C_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ - -DCMAKE_CXX_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ %endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ @@ -267,8 +259,8 @@ %endif -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %ifarch armv6hl - -DCMAKE_C_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ - -DCMAKE_CXX_FLAGS="-target armv6hl-suse-linux-gnueabi -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ %endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-03-16 10:26:06 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2015-10-22 12:57:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2016-03-16 10:26:09.0 +0100 @@ -1,0 +2,22 @@ +Thu Mar 10 12:05:39 UTC 2016 - idon...@suse.com + +- Comment out glibc-2.23-libcxx.patch until glibc 2.23 actually + hits the Factory. + +--- +Tue Mar 8 18:52:11 UTC 2016 - idon...@suse.com + +- Update to llvm 3.8.0 + * See http://llvm.org/releases/3.8.0/docs/ReleaseNotes.html and +http://llvm.org/releases/3.8.0/tools/clang/docs/ReleaseNotes.html +- Fold lldb build into llvm and disable python support +- Drop clang-disable-ada-extension.patch, libcxxabi-exceptions.patch + and cmake-host-triple.patch +- Add revert-cmake-soname.patch to fix soname handling + +--- +Wed Mar 2 09:08:12 UTC 2016 - idon...@suse.com + +- Add glibc-2.23-libcxx.patch to fix test failures with glibc 2.23 + +--- Old: cfe-3.7.0.src.tar.xz cfe-docs-3.7.0.src.tar.xz clang-disable-ada-extension.patch cmake-host-triple.patch compiler-rt-3.7.0.src.tar.xz libcxx-3.7.0.src.tar.xz libcxxabi-3.7.0.src.tar.xz libcxxabi-exceptions.patch lldb-3.7.0.src.tar.xz lldb.changes lldb.spec llvm-3.7.0.src.tar.xz llvm-docs-3.7.0.src.tar.xz openmp-3.7.0.src.tar.xz New: cfe-3.8.0.src.tar.xz cfe-docs-3.8.0.src.tar.xz clang-tools-extra-3.8.0.src.tar.xz compiler-rt-3.8.0.src.tar.xz glibc-2.23-libcxx.patch libcxx-3.8.0.src.tar.xz libcxxabi-3.8.0.src.tar.xz lldb-3.8.0.src.tar.xz llvm-3.8.0.src.tar.xz llvm-docs-3.8.0.src.tar.xz openmp-3.8.0.src.tar.xz revert-cmake-soname.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.9qurYe/_old 2016-03-16 10:26:11.0 +0100 +++ /var/tmp/diff_new_pack.9qurYe/_new 2016-03-16 10:26:11.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,16 @@ # -%define _revision 246586 -%define _release_version 3.7.0 +%define _revision 262553 +%define _release_version 3.8.0 +%define build_lldb 0 %define build_libcxx 0 %define build_openmp 0 %ifarch x86_64 %define build_libcxx 1 +%define build_lldb 1 %endif %ifarch ppc64 ppc64le %{ix86} x86_64 @@ -31,7 +33,7 @@ %endif Name: llvm -Version:3.7.0 +Version:3.8.0 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -47,26 +49,27 @@ # cd docs # make -f Makefile.sphinx man html # cd .. -# tar cvJf llvm-docs-3.7.0.src.tar.xz llvm-3.7.0.src/docs/_build/{man,html} +# tar cvJf llvm-docs-3.8.0.src.tar.xz llvm-3.8.0.src/docs/_build/{man,html} Source6:llvm-docs-%{version}.src.tar.xz Source7:cfe-docs-%{version}.src.tar.xz +Source8: http://llvm.org/releases/%{version}/clang-tools-extra-%{version}.src.tar.xz +Source9:http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz Source100: %{name}-rpmlintrc Source101: baselibs.conf # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features Patch2: assume-opensuse.patch -# PATCH-FIX-OPENSUSE clang-disable-ada-extension.patch idoen...@suse.de -- Don't run gcc for ada files -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 +Patch3: default-to-i586.patch # PATCH-FIX-OPENSUSE arm_suse_support.diff --Enable ARM suse toolchain support -Patch6: arm_suse_support.diff -Patch7: cmake-host-triple.patch -Patch10:clang-resourcedirs.patch -Patch11:libcxxabi-exceptions.patch -Patch13:llvm-remove-clang-only-flags.patch -Patch15:llvm-fix-find-gcc5-install.patch +Patch4: arm_suse_support.diff +Patch5: clang-resourcedirs.patch +Patch6: llvm-remove-clang-only-flags.patch +Patch7: llvm-fix-find-g
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-10-22 12:57:43 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2015-10-02 09:23:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-10-22 12:57:44.0 +0200 @@ -1,0 +2,5 @@ +Sat Oct 3 17:00:28 UTC 2015 - mimi...@gmail.com + +- Remove FFI support because its fragile + +--- Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.VXGsB2/_old 2015-10-22 12:57:46.0 +0200 +++ /var/tmp/diff_new_pack.VXGsB2/_new 2015-10-22 12:57:46.0 +0200 @@ -40,7 +40,7 @@ Requires: libLLVM = %{version} Requires: libclang = %{version} Requires: python-base -ExclusiveArch: arm x86_64 +ExclusiveArch: %arm x86_64 %define py_major $(python -c "import sys; print sys.version_info[0];") %define py_minor $(python -c "import sys; print sys.version_info[1];") ++ llvm.spec ++ --- /var/tmp/diff_new_pack.VXGsB2/_old 2015-10-22 12:57:46.0 +0200 +++ /var/tmp/diff_new_pack.VXGsB2/_new 2015-10-22 12:57:46.0 +0200 @@ -76,7 +76,6 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: groff -BuildRequires: libffi-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: ninja
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-10-02 09:23:01 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2015-09-11 09:01:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-10-02 09:23:02.0 +0200 @@ -1,0 +2,10 @@ +Sun Sep 27 12:03:57 UTC 2015 - idon...@suse.com + +- Enable OpenMP for x86, x86_64, ppc64 and ppc64le + +--- +Mon Sep 14 13:10:49 UTC 2015 - idon...@suse.com + +- Enable all targets on x86, x86_64 + +--- New: openmp-3.7.0.src.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.9NCGvR/_old 2015-10-02 09:23:04.0 +0200 +++ /var/tmp/diff_new_pack.9NCGvR/_new 2015-10-02 09:23:04.0 +0200 @@ -20,11 +20,16 @@ %define _release_version 3.7.0 %define build_libcxx 0 +%define build_openmp 0 %ifarch x86_64 %define build_libcxx 1 %endif +%ifarch ppc64 ppc64le %{ix86} x86_64 +%define build_openmp 1 +%endif + Name: llvm Version:3.7.0 Release:0 @@ -37,13 +42,14 @@ Source2: http://llvm.org/releases/%{version}/compiler-rt-%{version}.src.tar.xz Source3: http://llvm.org/releases/%{version}/libcxx-%{version}.src.tar.xz Source4: http://llvm.org/releases/%{version}/libcxxabi-%{version}.src.tar.xz +Source5: http://llvm.org/releases/%{version}/openmp-%{version}.src.tar.xz # Manually created docs # cd docs # make -f Makefile.sphinx man html # cd .. # tar cvJf llvm-docs-3.7.0.src.tar.xz llvm-3.7.0.src/docs/_build/{man,html} -Source5:llvm-docs-%{version}.src.tar.xz -Source6:cfe-docs-%{version}.src.tar.xz +Source6:llvm-docs-%{version}.src.tar.xz +Source7:cfe-docs-%{version}.src.tar.xz Source100: %{name}-rpmlintrc Source101: baselibs.conf # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision @@ -152,7 +158,7 @@ This package contains the Python bindings to clang (C language) frontend for LLVM. %prep -%setup -q -a 1 -a 2 -a 3 -a 4 -a 6 -b 5 -n %{name}-%{version}.src +%setup -q -a 1 -a 2 -a 3 -a 4 -a 5 -a 7 -b 6 -n %{name}-%{version}.src %patch1 %patch2 %patch3 @@ -168,6 +174,10 @@ mv cfe-%{version}.src tools/clang mv compiler-rt-%{version}.src projects/compiler-rt +%if %{build_openmp} +mv openmp-%{version}.src projects/openmp +%endif + %if %{build_libcxx} mv libcxx-%{version}.src projects/libcxx mv libcxxabi-%{version}.src projects/libcxxabi @@ -262,8 +272,11 @@ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ +%if %{build_openmp} + -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp \ +%endif %ifarch %{ix86} x86_64 - -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ + -DLLVM_TARGETS_TO_BUILD="all" \ %else -DLLVM_TARGETS_TO_BUILD=host \ %endif @@ -309,8 +322,11 @@ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ +%if %{build_openmp} + -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp \ +%endif %ifarch %{ix86} x86_64 - -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \ + -DLLVM_TARGETS_TO_BUILD="all" \ %else -DLLVM_TARGETS_TO_BUILD=host \ %endif @@ -417,6 +433,10 @@ # Stuff we don't want to include rm %{buildroot}%{_mandir}/man1/lit.1 +%if %{build_openmp} +rm -f %{buildroot}%{_libdir}/libgomp.so +%endif + %if %{build_libcxx} # Create an libc++.so as an ldscript rm %{buildroot}%{_libdir}/libc++.so @@ -483,6 +503,10 @@ %{_datadir}/clang %{_mandir}/man1/clang.1%{ext_man} %{_libdir}/libLTO.* +%if %{build_openmp} +%{_libdir}/libomp.so +%{_libdir}/libiomp5.so +%endif %if %{build_libcxx} %{_libdir}/libc++* %{_includedir}/c++/*
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-09-11 09:01:02 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2015-06-23 11:55:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2015-09-11 09:01:10.0 +0200 @@ -1,0 +2,7 @@ +Wed Sep 2 08:23:08 UTC 2015 - idon...@suse.com + +- Update to version 3.7.0 + * No changelog upstream +- Refresh lldb-cmake.patch + +--- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2015-05-29 09:51:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-09-11 09:01:10.0 +0200 @@ -1,0 +2,9 @@ +Wed Sep 2 08:14:39 UTC 2015 - idon...@suse.com + +- Update to version 3.7.0 + * See http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html +- Merge aarch64-suse-support.patch into arm_suse_support.diff +- Refresh arm_suse_support.diff, llvm-fix-find-gcc5-install.patch +- Remove llvm-fix-parsearmarch.patch, upstream. + +--- Old: aarch64-suse-support.patch cfe-3.6.1.src.tar.xz cfe-docs-3.6.1.src.tar.xz compiler-rt-3.6.1.src.tar.xz libcxx-3.6.1.src.tar.xz libcxxabi-3.6.1.src.tar.xz lldb-3.6.1.src.tar.xz llvm-3.6.1.src.tar.xz llvm-docs-3.6.1.src.tar.xz llvm-fix-parsearmarch.patch New: cfe-3.7.0.src.tar.xz cfe-docs-3.7.0.src.tar.xz compiler-rt-3.7.0.src.tar.xz libcxx-3.7.0.src.tar.xz libcxxabi-3.7.0.src.tar.xz lldb-3.7.0.src.tar.xz llvm-3.7.0.src.tar.xz llvm-docs-3.7.0.src.tar.xz Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:12.0 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:12.0 +0200 @@ -16,10 +16,10 @@ # -%define _revision 238133 +%define _revision 246586 Name: lldb -Version:3.6.1 +Version:3.7.0 Release:0 Summary:The LLDB Debugger License:NCSA @@ -96,6 +96,14 @@ pushd build DESTDIR=%{buildroot} ninja install +# Fix the lldb.so link +rm %{buildroot}%{py_sitedir}/lldb/_lldb.so +ln -sf %{_libdir}/liblldb.so.%{version} %{buildroot}%{py_sitedir}/lldb/_lldb.so + +# Fix the lib link +rm %{buildroot}%{py_sitedir}/lib +ln -sf %{libdir} %{buildroot}%{py_sitedir}/lib + rm %{buildroot}%{_libdir}/liblldb*.a %post -p /sbin/ldconfig @@ -105,8 +113,10 @@ %files %defattr(-,root,root,-) %{_libdir}/liblldb.so.* +%{_bindir}/argdumper %{_bindir}/lldb* %{py_sitedir}/readline.so +%{py_sitedir}/lib %{py_sitedir}/lldb %files devel ++ llvm.spec ++ --- /var/tmp/diff_new_pack.fgBobA/_old 2015-09-11 09:01:12.0 +0200 +++ /var/tmp/diff_new_pack.fgBobA/_new 2015-09-11 09:01:12.0 +0200 @@ -16,8 +16,8 @@ # -%define _revision 238133 -%define _release_version 3.6.1 +%define _revision 246586 +%define _release_version 3.7.0 %define build_libcxx 0 @@ -26,7 +26,7 @@ %endif Name: llvm -Version:3.6.1 +Version:3.7.0 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -41,7 +41,7 @@ # cd docs # make -f Makefile.sphinx man html # cd .. -# tar cvJf llvm-docs-3.6.1.src.tar.xz llvm-3.6.1.src/docs/_build/{man,html} +# tar cvJf llvm-docs-3.7.0.src.tar.xz llvm-3.7.0.src/docs/_build/{man,html} Source5:llvm-docs-%{version}.src.tar.xz Source6:cfe-docs-%{version}.src.tar.xz Source100: %{name}-rpmlintrc @@ -57,13 +57,10 @@ # PATCH-FIX-OPENSUSE arm_suse_support.diff --Enable ARM suse toolchain support Patch6: arm_suse_support.diff Patch7: cmake-host-triple.patch -# PATCH-FIX-OPENSUSE aarch64-suse-support.patch -- Enable AArch64 suse toolchain support -Patch8: aarch64-suse-support.patch Patch10:clang-resourcedirs.patch Patch11:libcxxabi-exceptions.patch Patch13:llvm-remove-clang-only-flags.patch Patch15:llvm-fix-find-gcc5-install.patch -Patch16:llvm-fix-parsearmarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: binutils-devel >= 2.21.90 BuildRequires: bison @@ -80,8 +77,8 @@ BuildRequires: python-base BuildRequires: python-xml Requires: libLLVM = %{version}-%{release} -# llvm does not work on ppc, only ppc64 -ExcludeArch:ppc +# llvm does not work on ppc or s390 +ExcludeArch:ppc s390 %description LLVM is a compiler infrastructure designed for compile-time, @@ -162,12 +159,10 @@ %patch4 %patch6 %patch7 -p1 -%patch8 %patch10 %patch11 %patch13 -p1 %
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-06-23 11:55:18 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2015-05-29 09:51:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2015-06-23 11:55:19.0 +0200 @@ -1,0 +2,5 @@ +Mon Jun 22 09:45:33 UTC 2015 - idon...@suse.com + +- Update lldb-cmake.patch to fix compilation on Factory + +--- Other differences: -- llvm.spec: same change ++ lldb-cmake.patch ++ --- /var/tmp/diff_new_pack.WBfQHl/_old 2015-06-23 11:55:20.0 +0200 +++ /var/tmp/diff_new_pack.WBfQHl/_new 2015-06-23 11:55:20.0 +0200 @@ -64,3 +64,16 @@ ) if ( NOT LLDB_DISABLE_PYTHON ) +Index: lldb-3.6.1.src/tools/lldb-mi/CMakeLists.txt +=== +--- lldb-3.6.1.src.orig/tools/lldb-mi/CMakeLists.txt lldb-3.6.1.src/tools/lldb-mi/CMakeLists.txt +@@ -164,7 +164,7 @@ add_lldb_executable(lldb-mi + ) + endif () + +-target_link_libraries(lldb-mi liblldb) ++target_link_libraries(lldb-mi liblldb pthread) + # TODO: why isn't this done by add_lldb_executable? + #target_link_libraries(lldb-mi ${LLDB_USED_LIBS}) + #llvm_config(lldb-mi ${LLVM_LINK_COMPONENTS})
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-04-28 20:42:38 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2014-09-19 13:55:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2015-04-28 20:42:39.0 +0200 @@ -1,0 +2,8 @@ +Mon Mar 2 10:14:22 UTC 2015 - idon...@suse.com + +- Update to version 3.6.0 + * No changelog upstream +- Merge lldb-underlink.patch into lldb-cmake.patch +- Swich to static library build, shared build is not supported + +--- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2015-02-22 17:20:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-04-28 20:42:40.0 +0200 @@ -1,0 +2,17 @@ +Fri Apr 24 12:19:33 UTC 2015 - idon...@suse.com + +- Add llvm-fix-parsearmarch.patch to fix parsing armv{6,7}hl archs. + +--- +Mon Mar 2 10:12:32 UTC 2015 - idon...@suse.com + +- Update to version 3.6.0 + * See http://llvm.org/releases/3.6.0/docs/ReleaseNotes.html +- Add python-xml dependency for regression tests +- Removed the following patches, fixed upstream: + * arm-remove-xfails.diff + * libcxx-libdir.patch + * llvm-config-lib64.patch + * llvm-fix-intrusiverefcntptr.patch + +--- Old: arm-remove-xfails.diff cfe-3.5.0.src.tar.xz cfe-docs-3.5.0.tar.xz compiler-rt-3.5.0.src.tar.xz libcxx-3.5.0.src.tar.xz libcxx-libdir.patch libcxxabi-3.5.0.src.tar.xz lldb-3.5.0.src.tar.xz lldb-underlink.patch llvm-3.5.0.src.tar.xz llvm-config-lib64.patch llvm-docs-3.5.0.tar.xz llvm-fix-intrusiverefcntptr.patch New: cfe-3.6.0.src.tar.xz cfe-docs-3.6.0.src.tar.xz compiler-rt-3.6.0.src.tar.xz libcxx-3.6.0.src.tar.xz libcxxabi-3.6.0.src.tar.xz lldb-3.6.0.src.tar.xz llvm-3.6.0.src.tar.xz llvm-docs-3.6.0.src.tar.xz llvm-fix-parsearmarch.patch Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.SK3LbZ/_old 2015-04-28 20:42:42.0 +0200 +++ /var/tmp/diff_new_pack.SK3LbZ/_new 2015-04-28 20:42:42.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package lldb # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,10 @@ # -%define _revision 216961 +%define _revision 230777 Name: lldb -Version:3.5.0 +Version:3.6.0 Release:0 Summary:The LLDB Debugger License:NCSA @@ -27,7 +27,6 @@ Url:http://lldb.llvm.org/ Source: http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz Patch1: lldb-cmake.patch -Patch2: lldb-underlink.patch BuildRequires: cmake BuildRequires: libedit-devel BuildRequires: llvm-clang-devel = %{version} @@ -68,7 +67,6 @@ %prep %setup -q -n %{name}-%{version}.src %patch1 -p1 -%patch2 -p1 sed -i s,LLDB_REVISION,\"%{_revision}\",g source/lldb.cpp @@ -78,7 +76,9 @@ cmake -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ + -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_BUILD_TYPE=Release \ %if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ %endif ++ llvm.spec ++ --- /var/tmp/diff_new_pack.SK3LbZ/_old 2015-04-28 20:42:42.0 +0200 +++ /var/tmp/diff_new_pack.SK3LbZ/_new 2015-04-28 20:42:42.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,8 @@ # -%define _revision 216961 -%define _release_version 3.5.0 +%define _revision 230777 +%define _release_version 3.6.0 %define build_libcxx 0 @@ -26,7 +26,7 @@ %endif Name: llvm -Version:3.5.0 +Version:3.6.0 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -41,9 +41,9 @@ # cd docs # make -f Makefile.sphinx man html # cd .. -# tar cvJf llvm-docs-3.5.0.tar.xz llvm-3.5.0.src/docs/_build/{man,html} -Source5:llvm-docs-%{version}.tar.xz -Source6:
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-02-22 17:20:55 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2015-01-30 06:11:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-02-22 17:20:56.0 +0100 @@ -1,0 +2,7 @@ +Fri Feb 20 13:40:11 UTC 2015 - rguent...@suse.com + +- Add llvm-fix-intrusiverefcntptr.patch to fix build of LLVM tools + with GCC 5. +- Add llvm-fix-find-gcc5-install.patch to properly find installed GCC 5. + +--- New: llvm-fix-find-gcc5-install.patch llvm-fix-intrusiverefcntptr.patch Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.xnauHz/_old 2015-02-22 17:20:58.0 +0100 +++ /var/tmp/diff_new_pack.xnauHz/_new 2015-02-22 17:20:58.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package lldb # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ llvm.spec ++ --- /var/tmp/diff_new_pack.xnauHz/_old 2015-02-22 17:20:58.0 +0100 +++ /var/tmp/diff_new_pack.xnauHz/_new 2015-02-22 17:20:58.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -65,6 +65,8 @@ Patch11:libcxxabi-exceptions.patch Patch12:libcxx-libdir.patch Patch13:llvm-remove-clang-only-flags.patch +Patch14:llvm-fix-intrusiverefcntptr.patch +Patch15:llvm-fix-find-gcc5-install.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: binutils-devel >= 2.21.90 BuildRequires: bison @@ -171,6 +173,8 @@ %patch11 %patch12 %patch13 -p1 +%patch14 +%patch15 # Move into right place mv cfe-%{version}.src tools/clang ++ llvm-fix-find-gcc5-install.patch ++ Index: cfe-3.5.0.src/lib/Driver/ToolChains.cpp === --- cfe-3.5.0.src/lib/Driver/ToolChains.cpp.orig2015-02-20 14:03:49.512242844 +0100 +++ cfe-3.5.0.src/lib/Driver/ToolChains.cpp 2015-02-20 15:07:11.965048162 +0100 @@ -1135,10 +1135,11 @@ Generic_GCC::GCCVersion Linux::GCCVersio GoodVersion.Major < 0) return BadVersion; GoodVersion.MajorStr = First.first.str(); - if (Second.first.getAsInteger(10, GoodVersion.Minor) || - GoodVersion.Minor < 0) -return BadVersion; GoodVersion.MinorStr = Second.first.str(); + if (!Second.first.str().empty () && + (Second.first.getAsInteger(10, GoodVersion.Minor) || + GoodVersion.Minor < 0)) +return BadVersion; // First look for a number prefix and parse that if present. Otherwise just // stash the entire patch string in the suffix, and leave the number ++ llvm-fix-intrusiverefcntptr.patch ++ Index: include/llvm/ADT/IntrusiveRefCntPtr.h === --- include/llvm/ADT/IntrusiveRefCntPtr.h.orig 2014-07-06 00:20:59.0 +0200 +++ include/llvm/ADT/IntrusiveRefCntPtr.h 2015-02-20 14:05:08.687151938 +0100 @@ -197,6 +197,9 @@ public: private: void retain() { if (Obj) IntrusiveRefCntPtrInfo::retain(Obj); } void release() { if (Obj) IntrusiveRefCntPtrInfo::release(Obj); } + +template +friend class IntrusiveRefCntPtr; }; template -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2015-01-30 06:11:28 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-12-17 19:14:02.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2015-01-30 06:11:30.0 +0100 @@ -1,0 +2,6 @@ +Wed Jan 28 10:08:43 UTC 2015 - idon...@suse.com + +- Add a gcc dependency for clang, this is heavyweight but we need + libgcc_s which comes with the gcc package (bnc#893359) + +--- Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.0t9ubG/_old 2015-01-30 06:11:31.0 +0100 +++ /var/tmp/diff_new_pack.0t9ubG/_new 2015-01-30 06:11:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package lldb # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ llvm.spec ++ --- /var/tmp/diff_new_pack.0t9ubG/_old 2015-01-30 06:11:31.0 +0100 +++ /var/tmp/diff_new_pack.0t9ubG/_new 2015-01-30 06:11:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -112,6 +112,7 @@ Group: Development/Languages/Other Requires: %{name} = %{version} Requires: binutils +Requires: gcc Requires: libclang = %{version}-%{release} Requires: libstdc++-devel Provides: clang -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-12-17 19:15:06 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-10-31 18:27:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-12-17 19:14:02.0 +0100 @@ -1,0 +2,7 @@ +Fri Dec 12 12:36:22 UTC 2014 - idon...@suse.com + +- Conditionalize libcxx{abi} build on build_libcxx variable +- Turn libc++.so into an ldscript so it links to libc++abi + automatically. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.1YPqfL/_old 2014-12-17 19:14:05.0 +0100 +++ /var/tmp/diff_new_pack.1YPqfL/_new 2014-12-17 19:14:05.0 +0100 @@ -19,6 +19,12 @@ %define _revision 216961 %define _release_version 3.5.0 +%define build_libcxx 0 + +%ifarch x86_64 +%define build_libcxx 1 +%endif + Name: llvm Version:3.5.0 Release:0 @@ -169,7 +175,7 @@ mv cfe-%{version}.src tools/clang mv compiler-rt-%{version}.src projects/compiler-rt -%ifarch x86_64 +%if %{build_libcxx} mv libcxx-%{version}.src projects/libcxx mv libcxxabi-%{version}.src projects/libcxxabi %endif @@ -358,7 +364,9 @@ ninja check ninja clang-test -%ifarch x86_64 +%if %{build_libcxx} +# Uncomment when llvm 3.6 hits +#ninja check-libcxx ninja check-libcxxabi %endif @@ -450,6 +458,14 @@ # Stuff we don't want to include rm %{buildroot}%{_mandir}/man1/lit.1 +%if %{build_libcxx} +# Create an libc++.so as an ldscript +rm %{buildroot}%{_libdir}/libc++.so +cat > %{buildroot}%{_libdir}/libc++.so <
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-10-31 18:27:09 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-10-05 20:27:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-10-31 18:27:11.0 +0100 @@ -1,0 +2,5 @@ +Tue Oct 21 08:39:22 UTC 2014 - dmuel...@suse.com + +- fix constraints for armv6l/armv7l (there is no 4GB RAM on 32bit) + +--- Other differences: -- llvm.spec: same change ++ _constraints ++ --- /var/tmp/diff_new_pack.xQfZcv/_old 2014-10-31 18:27:12.0 +0100 +++ /var/tmp/diff_new_pack.xQfZcv/_new 2014-10-31 18:27:12.0 +0100 @@ -5,4 +5,15 @@ 4000 + + + armv6l + armv7l + + + +768 + + + -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-10-05 20:27:16 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-09-28 19:55:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-10-05 20:27:18.0 +0200 @@ -1,0 +2,7 @@ +Mon Sep 29 09:40:52 UTC 2014 - idon...@suse.com + +- Rename llvm-remove-werror-date-time.patch to + llvm-remove-clang-only-flags.patch and remove more clang only + flags. + +--- Old: llvm-remove-werror-date-time.patch New: llvm-remove-clang-only-flags.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.xGNnY3/_old 2014-10-05 20:27:19.0 +0200 +++ /var/tmp/diff_new_pack.xGNnY3/_new 2014-10-05 20:27:19.0 +0200 @@ -58,7 +58,7 @@ Patch10:clang-resourcedirs.patch Patch11:libcxxabi-exceptions.patch Patch12:libcxx-libdir.patch -Patch13:llvm-remove-werror-date-time.patch +Patch13:llvm-remove-clang-only-flags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: binutils-devel >= 2.21.90 BuildRequires: bison ++ llvm-remove-clang-only-flags.patch ++ Index: llvm-3.5.0.src/cmake/modules/HandleLLVMOptions.cmake === --- llvm-3.5.0.src.orig/cmake/modules/HandleLLVMOptions.cmake +++ llvm-3.5.0.src/cmake/modules/HandleLLVMOptions.cmake @@ -302,9 +302,6 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE endif() endif (LLVM_ENABLE_WARNINGS) append_if(LLVM_ENABLE_WERROR "-Werror" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) - if (NOT LLVM_ENABLE_TIMESTAMPS) -add_flag_if_supported("-Werror=date-time" WERROR_DATE_TIME) - endif () if (LLVM_ENABLE_CXX1Y) check_cxx_compiler_flag("-std=c++1y" CXX_SUPPORTS_CXX1Y) append_if(CXX_SUPPORTS_CXX1Y "-std=c++1y" CMAKE_CXX_FLAGS) @@ -367,13 +364,6 @@ add_llvm_definitions( -D__STDC_CONSTANT_ add_llvm_definitions( -D__STDC_FORMAT_MACROS ) add_llvm_definitions( -D__STDC_LIMIT_MACROS ) -# clang doesn't print colored diagnostics when invoked from Ninja -if (UNIX AND -CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND -CMAKE_GENERATOR STREQUAL "Ninja") - append("-fcolor-diagnostics" CMAKE_C_FLAGS CMAKE_CXX_FLAGS) -endif() - # Add flags for add_dead_strip(). # FIXME: With MSVS, consider compiling with /Gy and linking with /OPT:REF? # But MinSizeRel seems to add that automatically, so maybe disable these -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-09-28 19:55:31 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-09-19 13:55:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-09-28 19:55:37.0 +0200 @@ -1,0 +2,10 @@ +Fri Sep 26 08:54:08 UTC 2014 - idon...@suse.com + +- Enable shared libs on PPC64 + +--- +Thu Sep 25 10:16:50 UTC 2014 - idon...@suse.com + +- Require llvm-clang not just clang + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.u8cykQ/_old 2014-09-28 19:55:39.0 +0200 +++ /var/tmp/diff_new_pack.u8cykQ/_new 2014-09-28 19:55:39.0 +0200 @@ -123,7 +123,7 @@ %package clang-devel Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other -Requires: clang = %{version} +Requires: llvm-clang = %{version} Requires: llvm-devel = %{version} %description clang-devel @@ -268,9 +268,7 @@ export CXX=$TOPLEVEL/stage1/bin/clang++ cmake -G "Ninja" \ -%ifnarch ppc64 ppc64le -DBUILD_SHARED_LIBS=ON \ -%endif %ifarch %arm ppc64 ppc64le -DCMAKE_BUILD_TYPE=Release \ %else @@ -321,9 +319,7 @@ # cmake files rm CMakeCache.txt cmake -G "Ninja" \ -%ifnarch ppc64 ppc64le -DBUILD_SHARED_LIBS=ON \ -%endif %ifarch %arm ppc64 ppc64le -DCMAKE_BUILD_TYPE=Release \ %else @@ -334,10 +330,12 @@ %ifarch armv6hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DLLVM_DEFAULT_TARGET_TRIPLE=armv6-unknown-linux-gnueabihf \ %endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ + -DLLVM_DEFAULT_TARGET_TRIPLE=armv7l-unknown-linux-gnueabihf \ %endif %if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ @@ -521,9 +519,6 @@ %exclude %{_libdir}/libclang.so %{_libdir}/libclang*.so %{_libdir}/libclang.so.* -%ifarch ppc64 ppc64le -%{_libdir}/libclang*.a -%endif %files clang-devel %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-09-19 13:55:41 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/lldb.changes2014-03-18 16:21:43.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2014-09-19 13:55:51.0 +0200 @@ -1,0 +2,12 @@ +Wed Sep 17 13:26:34 UTC 2014 - idon...@suse.com + +- Add BuildRequires on ncurses-devel + +--- +Sat Sep 6 14:59:58 UTC 2014 - idon...@suse.com + +- Update to version 3.5.0 + * No changelog upstream +- Add lldb-underlink.patch to link to LLVMSupport + +--- --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-08-20 17:52:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-09-19 13:55:51.0 +0200 @@ -1,0 +2,34 @@ +Wed Sep 17 11:01:31 UTC 2014 - idon...@suse.com + +- Add llvm-remove-werror-date-time.patch to remove -Werror=date-time + for CXXFLAGS, gcc does not support it and it creeps into + llvm-config --cflags + +--- +Wed Sep 17 10:53:20 UTC 2014 - idon...@suse.com + +- Remove wrong Requires from the llvm-devel package + +--- +Wed Sep 17 08:09:17 UTC 2014 - idon...@suse.com + +- Add default target triple form ARM, fixes bnc#893359 + +--- +Fri Sep 5 16:09:45 UTC 2014 - idon...@suse.com + +- Use ninja for building + +--- +Thu Sep 4 12:26:10 UTC 2014 - idon...@suse.com + +- Update to llvm 3.5.0 + * Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html +- Use upstream pristine tarballs +- Add libc++/libc++abi support clang (only on x86_64) +- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling +- Add libcxx-libdir.patch to fix libdir on 64bit arches +- Remove asan-disable-hugemalloctest.patch and + cmake-patchversion.patch, fixed upstream. + +--- Old: asan-disable-hugemalloctest.patch cmake-patchversion.patch lldb-3.4.tar.bz2 llvm-3.4.2.tar.bz2 New: cfe-3.5.0.src.tar.xz cfe-docs-3.5.0.tar.xz compiler-rt-3.5.0.src.tar.xz libcxx-3.5.0.src.tar.xz libcxx-libdir.patch libcxxabi-3.5.0.src.tar.xz libcxxabi-exceptions.patch lldb-3.5.0.src.tar.xz lldb-underlink.patch llvm-3.5.0.src.tar.xz llvm-docs-3.5.0.tar.xz llvm-remove-werror-date-time.patch Other differences: -- ++ lldb.spec ++ --- /var/tmp/diff_new_pack.wBsoY6/_old 2014-09-19 13:55:55.0 +0200 +++ /var/tmp/diff_new_pack.wBsoY6/_new 2014-09-19 13:55:55.0 +0200 @@ -16,26 +16,36 @@ # +%define _revision 216961 + Name: lldb -Version:3.4 +Version:3.5.0 Release:0 Summary:The LLDB Debugger License:NCSA Group: Development/Languages Url:http://lldb.llvm.org/ -Source: lldb-%{version}.tar.bz2 +Source: http://llvm.org/releases/%{version}/lldb-%{version}.src.tar.xz Patch1: lldb-cmake.patch +Patch2: lldb-underlink.patch BuildRequires: cmake BuildRequires: libedit-devel -BuildRequires: llvm-clang-devel -BuildRequires: llvm-devel +BuildRequires: llvm-clang-devel = %{version} +BuildRequires: llvm-devel = %{version} +BuildRequires: ncurses-devel +BuildRequires: ninja BuildRequires: python-devel BuildRequires: swig BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: libLLVM = %{version} +Requires: libclang = %{version} Requires: python-base ExclusiveArch: arm x86_64 +%define py_major $(python -c "import sys; print sys.version_info[0];") +%define py_minor $(python -c "import sys; print sys.version_info[1];") + %description LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the @@ -56,12 +66,16 @@ disassembler. %prep -%setup -q +%setup -q -n %{name}-%{version}.src %patch1 -p1 +%patch2 -p1 + +sed -i s,LLDB_REVISION,\"%{_revision}\",g source/lldb.cpp %build mkdir build pushd build + cmake -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ @@ -69,11 +83,18 @@ -DLLVM_LIBDIR_SUFFIX=64 \ %endif -DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \ - -
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-08-20 17:52:49 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-07-27 08:24:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-08-20 17:52:53.0 +0200 @@ -1,0 +2,5 @@ +Fri Aug 15 14:23:39 UTC 2014 - idon...@suse.com + +- Fix the sed line for minimal damage. + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.LnhmLE/_old 2014-08-20 17:52:55.0 +0200 +++ /var/tmp/diff_new_pack.LnhmLE/_new 2014-08-20 17:52:55.0 +0200 @@ -162,18 +162,12 @@ # We hardcode i586 rm tools/clang/test/Driver/x86_features.c -%if "%{_lib}" == "lib64" -# lib64 related problems on 64bit -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 %if "%{_lib}" == "lib64" # Nasty hardcoded path -sed -i s,"/lib/","/lib64/",g tools/clang/lib/Driver/Tools.cpp \ - tools/clang/test/Driver/dyld-prefix.c +sed -i s,"/lib/LLVMgold","/lib64/LLVMgold",g tools/clang/lib/Driver/Tools.cpp sed -i s,"}lib{","}lib64{",g tools/clang/test/Preprocessor/iwithprefix.c %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-07-27 08:24:41 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-06-25 15:24:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-07-27 08:24:43.0 +0200 @@ -1,0 +2,18 @@ +Wed Jul 23 19:45:30 UTC 2014 - idon...@suse.com + +- Add baselibs.conf to source files + +--- +Wed Jul 23 17:00:40 UTC 2014 - idon...@suse.com + +- Add cmake-patchversion.patch to sync config.h.in + with config.h.cmake + +--- +Tue Jul 22 12:09:53 UTC 2014 - idon...@suse.com + +- Update to llvm 3.4.2 + * Minor bugfix release +- Drop clang-max_align_t.patch, applied upstream. + +--- Old: clang-max_align_t.patch llvm-3.4.tar.bz2 New: cmake-patchversion.patch llvm-3.4.2.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.oRipSs/_old 2014-07-27 08:24:45.0 +0200 +++ /var/tmp/diff_new_pack.oRipSs/_new 2014-07-27 08:24:45.0 +0200 @@ -16,11 +16,11 @@ # -%define _revision 198681 -%define _release_version 3.4 +%define _revision 213642 +%define _release_version 3.4.2 Name: llvm -Version:3.4 +Version:3.4.2 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -28,6 +28,7 @@ Url:http://www.llvm.org Source0:%{name}-%{version}.tar.bz2 Source100: %{name}-rpmlintrc +Source101: baselibs.conf # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features @@ -46,7 +47,7 @@ # PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest Patch10:asan-disable-hugemalloctest.patch Patch11:clang-resourcedirs.patch -Patch12:clang-max_align_t.patch +Patch12:cmake-patchversion.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -142,7 +143,7 @@ This package contains the Python bindings to clang (C language) frontend for LLVM. %prep -%setup -q -n %{name} +%setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 ++ cmake-patchversion.patch ++ Index: llvm-3.4.2/include/llvm/Config/config.h.cmake === --- llvm-3.4.2.orig/include/llvm/Config/config.h.cmake +++ llvm-3.4.2/include/llvm/Config/config.h.cmake @@ -603,6 +603,9 @@ /* Minor version of the LLVM API */ #cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR} +/* Patch version of the LLVM API */ +#cmakedefine LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH} + /* Define if the OS needs help to load dependent libraries for dlopen(). */ #cmakedefine LTDL_DLOPEN_DEPLIBS ${LTDL_DLOPEN_DEPLIBS} ++ llvm-3.4.tar.bz2 -> llvm-3.4.2.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-3.4.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.4.2.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-06-25 15:24:14 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-06-02 07:04:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-06-25 15:24:29.0 +0200 @@ -1,0 +2,6 @@ +Sat Jun 21 13:40:52 UTC 2014 - arn...@versini.eu + +- Add clang-max_align_t.patch to resolve issue with libstdc++ 4.9 + max_align_t missing declaration + +--- New: clang-max_align_t.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.Gcndqm/_old 2014-06-25 15:24:31.0 +0200 +++ /var/tmp/diff_new_pack.Gcndqm/_new 2014-06-25 15:24:31.0 +0200 @@ -46,6 +46,7 @@ # PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest Patch10:asan-disable-hugemalloctest.patch Patch11:clang-resourcedirs.patch +Patch12:clang-max_align_t.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -155,6 +156,7 @@ %patch9 %patch10 -p1 %patch11 -p1 +%patch12 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c ++ clang-max_align_t.patch ++ diff -ru llvm.orig/tools/clang/lib/Headers/stddef.h llvm/tools/clang/lib/Headers/stddef.h --- llvm.orig/tools/clang/lib/Headers/stddef.h 2014-06-21 14:04:14.578588219 +0200 +++ llvm/tools/clang/lib/Headers/stddef.h 2014-06-21 14:04:35.729587594 +0200 @@ -84,6 +84,16 @@ #endif #endif +#if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L +typedef struct { + long long __clang_max_align_nonce1 + __attribute__((__aligned__(__alignof__(long long; + long double __clang_max_align_nonce2 + __attribute__((__aligned__(__alignof__(long double; +} max_align_t; +#define __CLANG_MAX_ALIGN_T_DEFINED +#endif + #define offsetof(t, d) __builtin_offsetof(t, d) #endif /* __STDDEF_H */ diff -ru llvm.orig/tools/clang/test/Headers/c11.c llvm/tools/clang/test/Headers/c11.c --- llvm.orig/tools/clang/test/Headers/c11.c2014-06-21 14:04:14.505588221 +0200 +++ llvm/tools/clang/test/Headers/c11.c 2014-06-21 14:07:30.305582436 +0200 @@ -22,6 +22,10 @@ #define __STDC_WANT_LIB_EXT1__ 1 #include rsize_t x = 0; +_Static_assert(sizeof(max_align_t) >= sizeof(long long), ""); +_Static_assert(alignof(max_align_t) >= alignof(long long), ""); +_Static_assert(sizeof(max_align_t) >= sizeof(long double), ""); +_Static_assert(alignof(max_align_t) >= alignof(long double), ""); // If we are freestanding, then also check RSIZE_MAX (in a hosted implementation // we will use the host stdint.h, which may not yet have C11 support). -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-06-02 07:04:21 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-04-09 13:01:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-06-02 07:04:22.0 +0200 @@ -1,0 +2,5 @@ +Tue May 13 10:44:33 UTC 2014 - peter.tromm...@ohm-hochschule.de + +- build compiler-rt on ppc64 (don't delete it) + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.PILSus/_old 2014-06-02 07:04:23.0 +0200 +++ /var/tmp/diff_new_pack.PILSus/_new 2014-06-02 07:04:23.0 +0200 @@ -221,7 +221,6 @@ %ifarch ppc64 %define host_triple powerpc64-suse-linux sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake -rm -rf ../projects/compiler-rt %endif %ifarch ppc64le %define host_triple powerpc64le-suse-linux -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-04-09 13:01:04 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-02-26 23:20:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-04-09 13:01:05.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 3 11:58:28 UTC 2014 - idon...@suse.com + +- Fix resource dir for libclang case (clang-resourcedirs.patch) +- Always build tests + +--- New: clang-resourcedirs.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.XRAivD/_old 2014-04-09 13:01:07.0 +0200 +++ /var/tmp/diff_new_pack.XRAivD/_new 2014-04-09 13:01:07.0 +0200 @@ -45,6 +45,7 @@ Patch9: arm-remove-xfails.diff # PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest Patch10:asan-disable-hugemalloctest.patch +Patch11:clang-resourcedirs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -153,6 +154,7 @@ %patch8 -p1 %patch9 %patch10 -p1 +%patch11 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -172,6 +174,8 @@ sed -i s,"}lib{","}lib64{",g tools/clang/test/Preprocessor/iwithprefix.c %endif +sed -i s,LLVM_LIBDIR,%{_lib}, tools/clang/lib/Driver/Driver.cpp + # Only enable target archs otherwise llvm-config is messed up %ifarch %{ix86} x86_64 sed -i s,"subdirectories = .*","subdirectories = R600 X86", lib/Target/LLVMBuild.txt @@ -196,6 +200,7 @@ TOPLEVEL=$PWD mkdir stage1 stage2 pushd stage1 +ln -sf lib lib64 # Define host-triple %ifarch %{ix86} @@ -272,7 +277,6 @@ %endif %if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ - -DCLANG_RESOURCE_DIR=../%{_lib}/clang/%{_release_version} \ %endif -DLLVM_REQUIRES_RTTI=ON \ -DLLVM_ENABLE_TIMESTAMPS=OFF \ @@ -286,6 +290,7 @@ %else -DLLVM_TARGETS_TO_BUILD=host \ %endif + -DLLVM_BUILD_TESTS=ON \ .. make %{?_smp_mflags} VERBOSE=1 ++ clang-resourcedirs.patch ++ Index: llvm/tools/clang/lib/Driver/Driver.cpp === --- llvm.orig/tools/clang/lib/Driver/Driver.cpp +++ llvm/tools/clang/lib/Driver/Driver.cpp @@ -66,11 +66,11 @@ Driver::Driver(StringRef ClangExecutable // Compute the path to the resource directory. StringRef ClangResourceDir(CLANG_RESOURCE_DIR); - SmallString<128> P(Dir); + SmallString<128> P((Dir != "") ? Dir : "/usr/bin/"); if (ClangResourceDir != "") llvm::sys::path::append(P, ClangResourceDir); else -llvm::sys::path::append(P, "..", "lib", "clang", CLANG_VERSION_STRING); +llvm::sys::path::append(P, "..", "LLVM_LIBDIR", "clang", CLANG_VERSION_STRING); ResourceDir = P.str(); } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-03-18 16:21:31 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: New Changes file: --- /dev/null 2014-02-13 01:09:38.344032506 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2014-03-18 16:21:43.0 +0100 @@ -0,0 +1,5 @@ +--- +Mon Mar 17 09:02:51 UTC 2014 - idon...@suse.com + +- First release on build.opensuse.org + New: lldb-3.4.tar.bz2 lldb-cmake.patch lldb.changes lldb.spec Other differences: -- ++ lldb.spec ++ # # spec file for package lldb # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: lldb Version:3.4 Release:0 Summary:The LLDB Debugger License:NCSA Group: Development/Languages Url:http://lldb.llvm.org/ Source: lldb-%{version}.tar.bz2 Patch1: lldb-cmake.patch BuildRequires: cmake BuildRequires: libedit-devel BuildRequires: llvm-clang-devel BuildRequires: llvm-devel BuildRequires: python-devel BuildRequires: swig BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-base ExclusiveArch: arm x86_64 %description LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler. %package devel Summary:Next generation high-performance debugger (devel package) Group: Development/Languages Requires: libedit-devel Requires: lldb = %{version} Requires: zlib-devel %description devel LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler. %prep %setup -q %patch1 -p1 %build mkdir build pushd build cmake -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ %endif -DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \ -DLLDB_PATH_TO_CLANG_BUILD=%{_prefix} .. %install pushd build make DESTDIR=%{buildroot} install %{?_smp_mflags} rm %{buildroot}%{_libdir}/liblldb*.a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/liblldb.so.* %{_bindir}/lldb* %{_libdir}/python*/site-packages/lldb %files devel %defattr(-,root,root,-) %{_includedir}/lldb %{_libdir}/liblldb.so %changelog ++ lldb-cmake.patch ++ --- lldb.orig/scripts/CMakeLists.txt2013-06-13 09:05:41.0 -0700 +++ lldb.orig/scripts/CMakeLists.txt2014-03-08 00:59:09.089734896 -0800 @@ -16,5 +16,16 @@ # Install the LLDB python module on all operating systems (except Windows) if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") - install(SCRIPT lldb_python_module.cmake -DCMAKE_INSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\" -DCMAKE_BUILD_DIR=\"${CMAKE_BUILD_DIR}\") + install(CODE " +include(FindPythonInterp) + +SET(PYTHON_DIRECTORY python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}) + +SET(lldb_module_src ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/\${PYTHON_DIRECTORY}) +SET(lldb_module_dest \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}) + +MESSAGE(STATUS \"Installing LLDB python module from: \${lldb_module_src} to \${lldb_module_dest}\") +FILE(COPY \${lldb_module_src} DESTINATION \${lldb_module_dest}) +" + ) endif() --- lldb.orig/scripts/lldb_python_module.cmake 2013-06-13 09:05:41.0 -0700 +++ /dev/null 2014-02-14 05:57:02.71980 -0800 @@ -1,14 +0,0 @@ -# This CMake script installs the LLDB python module from the build directory -# to the install directory. - -# FIXME: if a non-standard version of python is requested, the cmake macro -# below will need Python_AD
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-02-26 23:20:32 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2014-01-30 19:17:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-02-26 23:20:35.0 +0100 @@ -1,0 +2,5 @@ +Sat Feb 22 18:18:57 CET 2014 - r...@suse.de + +- complete ifarchs for s390 + +--- @@ -59,0 +65,5 @@ + +--- +Mon Dec 9 02:23:07 UTC 2013 - dval...@suse.com + +- enable ppc64le Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.WnLy57/_old 2014-02-26 23:20:37.0 +0100 +++ /var/tmp/diff_new_pack.WnLy57/_new 2014-02-26 23:20:37.0 +0100 @@ -181,11 +181,11 @@ sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt %endif -%ifarch ppc64 +%ifarch ppc64 ppc64le sed -i s,"subdirectories = .*","subdirectories = PowerPC", lib/Target/LLVMBuild.txt %endif -%ifarch s390x +%ifarch s390 s390x sed -i s,"subdirectories = .*","subdirectories = SystemZ", lib/Target/LLVMBuild.txt %endif @@ -218,6 +218,15 @@ sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake rm -rf ../projects/compiler-rt %endif +%ifarch ppc64le +%define host_triple powerpc64le-suse-linux +sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake +%endif +%ifarch s390 +%define host_triple s390-suse-linux +sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"SystemZ"',g ../cmake/modules/AddLLVM.cmake +rm -rf ../projects/compiler-rt +%endif %ifarch s390x %define host_triple s390x-suse-linux sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"SystemZ"',g ../cmake/modules/AddLLVM.cmake @@ -243,10 +252,10 @@ export CXX=$TOPLEVEL/stage1/bin/clang++ cmake -G "Unix Makefiles" \ -%ifnarch ppc64 +%ifnarch ppc64 ppc64le -DBUILD_SHARED_LIBS=ON \ %endif -%ifarch %arm ppc64 +%ifarch %arm ppc64 ppc64le -DCMAKE_BUILD_TYPE=Release \ %else -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -453,7 +462,7 @@ %exclude %{_libdir}/libclang.so %{_libdir}/libclang*.so %{_libdir}/libclang.so.* -%ifarch ppc64 +%ifarch ppc64 ppc64le %{_libdir}/libclang*.a %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2014-01-30 19:17:32 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-10-21 15:12:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2014-01-30 19:17:35.0 +0100 @@ -1,0 +2,109 @@ +Fri Jan 24 13:15:48 UTC 2014 - idon...@suse.com + +- Remove non-existing doc subpackage + +--- +Fri Jan 24 09:23:08 UTC 2014 - idon...@suse.com + +- Add a dependency on ncurses-devel since libLLVM now links to + tinfo. + +--- +Tue Jan 14 13:57:57 UTC 2014 - idon...@suse.com + +- Add 32bit libclang bnc#857131 + +--- +Tue Jan 7 08:47:50 UTC 2014 - idon...@suse.com + +- Update to final llvm 3.4 release + * See http://llvm.org/releases/3.4/docs/ReleaseNotes.html for +complete changelog. + +--- +Tue Dec 24 13:47:24 UTC 2013 - idon...@suse.com + +- Update to final release candidate (r197980) + +--- +Sat Dec 21 18:20:20 UTC 2013 - idon...@suse.com + +- Update to r197866 from release_34 branch + +--- +Tue Dec 17 11:31:23 UTC 2013 - idon...@suse.com + +- Update to r197490 from release_34 branch + +--- +Thu Dec 12 10:43:42 UTC 2013 - idon...@suse.com + +- Update to r197142 from release_34 branch +- Disable assertions again now that PPC64 backend is fixed + +--- +Tue Dec 10 09:48:59 UTC 2013 - idon...@suse.com + +- Update to r196899 from release_34 branch +- Remove compiler_rt-r196612.patch, merged upstream + +--- +Mon Dec 9 11:42:44 UTC 2013 - idon...@suse.com + +- Add compiler_rt-r196612.patch to fix ubsan failures on i586 + +--- +Mon Dec 9 08:54:48 UTC 2013 - idon...@suse.com + +- Update to r196762 from release_34 branch + +--- +Thu Dec 5 13:10:13 UTC 2013 - idon...@suse.com + +- Update to r196503 from release_34 branch to get compiler_rt fixes + +--- +Thu Dec 5 08:31:52 UTC 2013 - idon...@suse.com + +- Update to r196487 from release_34 branch to get compiler_rt fixes + +--- +Wed Dec 4 13:33:55 UTC 2013 - idon...@suse.com + +- Ship cmake files for llvm (needed for lldb and such) + +--- +Wed Dec 4 10:07:59 UTC 2013 - idon...@suse.com + +- Update to r196371 from release_34 branch + +--- +Wed Dec 4 03:27:29 UTC 2013 - ter...@gmail.com + +- install python binding to libclang + +--- +Mon Dec 1 08:42:08 UTC 2013 - idon...@suse.com + +- Update to r196358 from llvm 3.4 branch +- Add asan-disable-hugemalloctest.patch to disable + ASAN HugeMallocTest, it requires 4.1+ GB of RAM. +- Refresh patches + * aarch64-suse-support.patch + * arm_suse_support.diff + * assume-opensuse.patch + * default-to-i586.patch +- Drop upstream patches + * llvm-disable-pretty-stack-trace.patch + * r189852.diff + * unreachable-code.patch + * llvm-no-visibility.patch + +--- +Tue Oct 22 20:57:00 UTC 2013 - dmuel...@suse.com + +- add r189852.diff: Remove vtables optimisation that breaks ARM + and PowerPC +- Disable testsuite on ARMv7, takes forever to run + +--- Old: llvm-3.3.tar.bz2 llvm-disable-pretty-stack-trace.patch llvm-no-visibility.patch unreachable-code.patch New: asan-disable-hugemalloctest.patch llvm-3.4.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.YQfNKG/_old 2014-01-30 19:17:36.0 +0100 +++ /var/tmp/diff_new_pack.YQfNKG/_new 2014-01-30 19:17:36.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH,
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-10-21 15:12:21 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-10-10 12:34:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-10-21 15:12:22.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 17 10:23:32 UTC 2013 - sch...@suse.de + +- Fix file list for %arm + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.hJBjeL/_old 2013-10-21 15:12:23.0 +0200 +++ /var/tmp/diff_new_pack.hJBjeL/_new 2013-10-21 15:12:23.0 +0200 @@ -466,7 +466,7 @@ %{_libdir}/bfd-plugins/ %endif %{_libdir}/clang -%ifnarch aarch64 ppc64 s390 s390x +%ifnarch %arm aarch64 ppc64 s390 s390x %{_libdir}/clang/%{_release_version}/lib/linux/ %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-10-10 12:34:18 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-09-29 17:50:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-10-10 12:34:19.0 +0200 @@ -1,0 +2,7 @@ +Wed Oct 9 11:16:08 UTC 2013 - dmuel...@suse.com + +- use %arm, not arm in arch conditions +- add arm-remove-xfails.diff: remove XFAILs in testsuite + that pass and thereby make check fail + +--- New: arm-remove-xfails.diff Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.uZjVPY/_old 2013-10-10 12:34:34.0 +0200 +++ /var/tmp/diff_new_pack.uZjVPY/_new 2013-10-10 12:34:34.0 +0200 @@ -21,7 +21,7 @@ %define _supported_archs "AArch64;ARM;PowerPC;X86" %define _experimental_archs "R600" -%ifarch arm +%ifarch %arm %define _supported_archs "ARM" %endif @@ -62,6 +62,7 @@ Patch10:llvm-no-visibility.patch # PATCH-FIX-OPENSUSE llvm-disable-pretty-stack-trace.patch -- https://bugs.freedesktop.org/show_bug.cgi?id=60929 Patch11:llvm-disable-pretty-stack-trace.patch +Patch12:arm-remove-xfails.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -174,6 +175,7 @@ %patch10 -p1 %endif %patch11 -p1 +%patch12 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -193,11 +195,11 @@ %endif # Only enable target archs otherwise llvm-config is messed up -%ifnarch arm ppc64 s390x +%ifnarch %arm ppc64 s390x sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt %endif -%ifarch arm +%ifarch %arm sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt %endif @@ -292,7 +294,7 @@ -DLLVM_BINUTILS_INCDIR=/usr/include \ %endif -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ -%ifnarch arm ppc64 s390x +%ifnarch %arm ppc64 s390x -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{_experimental_archs} \ %endif -DLLVM_BUILD_TESTS=OFF \ ++ arm-remove-xfails.diff ++ Those tests do not fail anymore, and unexpected passes actually cause make check to fail. (dmuel...@suse.com) --- test/ExecutionEngine/2003-05-06-LivenessClobber.ll +++ test/ExecutionEngine/2003-05-06-LivenessClobber.ll @@ -1,7 +1,6 @@ ; This testcase should return with an exit code of 1. ; ; RUN: not %lli %s -; XFAIL: arm @test = global i64 0 ; [#uses=1] --- test/ExecutionEngine/2003-08-15-AllocaAssertion.ll +++ test/ExecutionEngine/2003-08-15-AllocaAssertion.ll @@ -1,5 +1,4 @@ ; RUN: %lli %s > /dev/null -; XFAIL: arm ; This testcase failed to work because two variable sized allocas confused the ; local register allocator. --- test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll +++ test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll @@ -1,5 +1,4 @@ ; RUN: %lli %s > /dev/null -; XFAIL: arm ; This testcase exposes a bug in the local register allocator where it runs out ; of registers (due to too many overlapping live ranges), but then attempts to -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-09-29 17:50:03 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-09-04 13:56:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-09-29 17:50:04.0 +0200 @@ -1,0 +2,7 @@ +Fri Sep 27 15:15:58 UTC 2013 - idon...@suse.com + +- Set DisablePrettyStackTrace to true since it messes up signal + handling. bnc#839074 and fdo#60929 implemented with + llvm-disable-pretty-stack-trace.patch) + +--- New: llvm-disable-pretty-stack-trace.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.wjOnOX/_old 2013-09-29 17:50:05.0 +0200 +++ /var/tmp/diff_new_pack.wjOnOX/_new 2013-09-29 17:50:05.0 +0200 @@ -60,6 +60,8 @@ Patch9: aarch64-suse-support.patch # PATCH-FIX-OPENSUSE llvm-no-visibility.patch -- Disable visibility Patch10:llvm-no-visibility.patch +# PATCH-FIX-OPENSUSE llvm-disable-pretty-stack-trace.patch -- https://bugs.freedesktop.org/show_bug.cgi?id=60929 +Patch11:llvm-disable-pretty-stack-trace.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -171,6 +173,7 @@ %ifarch s390 s390x %patch10 -p1 %endif +%patch11 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c ++ llvm-disable-pretty-stack-trace.patch ++ Index: llvm-3.3/lib/Support/PrettyStackTrace.cpp === --- llvm-3.3.orig/lib/Support/PrettyStackTrace.cpp +++ llvm-3.3/lib/Support/PrettyStackTrace.cpp @@ -27,7 +27,7 @@ using namespace llvm; namespace llvm { - bool DisablePrettyStackTrace = false; + bool DisablePrettyStackTrace = true; } // FIXME: This should be thread local when llvm supports threads. Index: llvm-3.3/tools/clang/tools/driver/driver.cpp === --- llvm-3.3.orig/tools/clang/tools/driver/driver.cpp +++ llvm-3.3/tools/clang/tools/driver/driver.cpp @@ -341,6 +341,7 @@ static void ParseProgName(SmallVectorImp } int main(int argc_, const char **argv_) { + llvm::DisablePrettyStackTrace = false; llvm::sys::PrintStackTraceOnErrorSignal(); llvm::PrettyStackTraceProgram X(argc_, argv_); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-09-04 13:56:39 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-08-22 09:23:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-09-04 13:56:41.0 +0200 @@ -1,0 +2,31 @@ +Wed Aug 28 20:31:11 UTC 2013 - sch...@suse.de + +- Fix filelist for aarch64 + +--- +Wed Aug 28 11:07:16 UTC 2013 - sch...@suse.de + +- aarch64-suse-support.patch: Enable AArch64 suse toolchain support + +--- +Wed Aug 28 11:02:06 UTC 2013 - idon...@suse.com + +- Add s390x support + +--- +Wed Aug 28 10:57:32 UTC 2013 - idon...@suse.com + +- Remove unused chrpath dependency +- Re-enable ARCMT since libclang depends on it + +--- +Mon Aug 26 07:23:57 UTC 2013 - sch...@suse.de + +- Define host_triple for aarch64 + +--- +Thu Aug 22 10:59:28 UTC 2013 - idon...@suse.com + +- Fix ARMv6 build + +--- New: aarch64-suse-support.patch llvm-no-visibility.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.z0vYk9/_old 2013-09-04 13:56:41.0 +0200 +++ /var/tmp/diff_new_pack.z0vYk9/_new 2013-09-04 13:56:41.0 +0200 @@ -29,6 +29,10 @@ %define _supported_archs "PowerPC" %endif +%ifarch s390x +%define _supported_archs "SystemZ" +%endif + Name: llvm Version:3.3 Release:0 @@ -52,6 +56,10 @@ # PATCH-FIX-OPENSUSE unreachable-code.patch -- Unreachable code warning triggered on SLE Patch7: unreachable-code.patch Patch8: cmake-host-triple.patch +# PATCH-FIX-OPENSUSE aarch64-suse-support.patch -- Enable AArch64 suse toolchain support +Patch9: aarch64-suse-support.patch +# PATCH-FIX-OPENSUSE llvm-no-visibility.patch -- Disable visibility +Patch10:llvm-no-visibility.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -62,7 +70,6 @@ BuildRequires: binutils-devel >= 2.21.90 %endif BuildRequires: bison -BuildRequires: chrpath BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc @@ -160,6 +167,10 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 +%ifarch s390 s390x +%patch10 -p1 +%endif # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -179,7 +190,7 @@ %endif # Only enable target archs otherwise llvm-config is messed up -%ifnarch ppc64 arm +%ifnarch arm ppc64 s390x sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt %endif @@ -191,6 +202,10 @@ sed -i s,"subdirectories = .*","subdirectories = PowerPC", lib/Target/LLVMBuild.txt %endif +%ifarch s390x +sed -i s,"subdirectories = .*","subdirectories = SystemZ", lib/Target/LLVMBuild.txt +%endif + sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt @@ -212,11 +227,18 @@ %ifarch armv7hl %define host_triple armv7hl-suse-linux-gnueabi %endif +%ifarch aarch64 +%define host_triple aarch64-suse-linux +%endif %ifarch ppc64 %define host_triple powerpc64-suse-linux sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake rm -rf ../projects/compiler-rt %endif +%ifarch s390x +%define host_triple s390x-suse-linux +sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"SystemZ"',g ../cmake/modules/AddLLVM.cmake +%endif cmake -G "Unix Makefiles" \ -DBUILD_SHARED_LIBS=OFF \ @@ -247,6 +269,10 @@ -DLLVM_HOST_TRIPLE=%{host_triple} \ %endif -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%ifarch armv6hl + -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ +%endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ @@ -263,11 +289,10 @@ -DLLVM_BINUTILS_INCDIR=/usr/include \ %endif -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ -%ifnarch arm ppc64 +%ifnarch arm ppc64 s390x -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{_experimental_archs} \ %endif -DLLVM_BUILD_TESTS=OF
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-08-22 09:23:23 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-08-13 15:29:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-08-22 09:23:24.0 +0200 @@ -1,0 +2,5 @@ +Wed Aug 21 11:04:35 UTC 2013 - idon...@suse.com + +- Only enable PowerPC on ppc64 + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.uuDFsc/_old 2013-08-22 09:23:25.0 +0200 +++ /var/tmp/diff_new_pack.uuDFsc/_new 2013-08-22 09:23:25.0 +0200 @@ -25,6 +25,10 @@ %define _supported_archs "ARM" %endif +%ifarch ppc64 +%define _supported_archs "PowerPC" +%endif + Name: llvm Version:3.3 Release:0 @@ -175,7 +179,7 @@ %endif # Only enable target archs otherwise llvm-config is messed up -%ifnarch arm +%ifnarch ppc64 arm sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt %endif @@ -183,6 +187,10 @@ sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt %endif +%ifarch ppc64 +sed -i s,"subdirectories = .*","subdirectories = PowerPC", lib/Target/LLVMBuild.txt +%endif + sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-08-13 15:29:15 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-07-16 16:43:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-08-13 15:29:16.0 +0200 @@ -1,0 +2,17 @@ +Mon Aug 12 16:43:26 UTC 2013 - idon...@suse.com + +- Disable shared libs on PowerPC +- Disable ARCMT, it only makes sense for iOS/OSX + +--- +Tue Aug 6 05:51:46 UTC 2013 - idon...@suse.com + +- Fix build + +--- +Wed Jul 17 12:54:40 UTC 2013 - idon...@suse.com + +- Disable building unit-tests, should fix undefined reference + problem on ARM & PowerPC + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.ihbzWM/_old 2013-08-13 15:29:17.0 +0200 +++ /var/tmp/diff_new_pack.ihbzWM/_new 2013-08-13 15:29:17.0 +0200 @@ -21,6 +21,10 @@ %define _supported_archs "AArch64;ARM;PowerPC;X86" %define _experimental_archs "R600" +%ifarch arm +%define _supported_archs "ARM" +%endif + Name: llvm Version:3.3 Release:0 @@ -171,13 +175,19 @@ %endif # Only enable target archs otherwise llvm-config is messed up +%ifnarch arm sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC R600 X86", lib/Target/LLVMBuild.txt +%endif + +%ifarch arm +sed -i s,"subdirectories = .*","subdirectories = ARM", lib/Target/LLVMBuild.txt +%endif + sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt %build TOPLEVEL=$PWD -# as-needed avoids linking LLVMgold to LTO, just because cmake places -lLTO before the .o file is used mkdir stage1 stage2 pushd stage1 @@ -196,24 +206,21 @@ %endif %ifarch ppc64 %define host_triple powerpc64-suse-linux +sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake +rm -rf ../projects/compiler-rt %endif cmake -G "Unix Makefiles" \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_ASSERTIONS=OFF \ -%ifarch %arm - -DLLVM_TARGETS_TO_BUILD=ARM \ -%else -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ -%endif -DCMAKE_C_FLAGS="-O0" \ -DCMAKE_CXX_FLAGS="-O0" \ - -DLLVM_TARGET_ARCH=host \ -DLLVM_HOST_TRIPLE=%{host_triple} \ .. -make %{?_smp_mflags} clang +make %{?_smp_mflags} VERBOSE=1 clang popd pushd stage2 @@ -222,7 +229,9 @@ export CXX=$TOPLEVEL/stage1/bin/clang++ cmake -G "Unix Makefiles" \ +%ifnarch ppc64 -DBUILD_SHARED_LIBS=ON \ +%endif %ifarch %arm ppc64 -DCMAKE_BUILD_TYPE=Release \ %else @@ -245,16 +254,15 @@ %if 0%{?suse_version} >= 1220 -DLLVM_BINUTILS_INCDIR=/usr/include \ %endif -%ifarch %arm - -DLLVM_TARGETS_TO_BUILD=ARM \ -%else -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ +%ifnarch arm ppc64 -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{_experimental_archs} \ %endif - -DLLVM_BUILD_TESTS=ON \ + -DLLVM_BUILD_TESTS=OFF \ + -DCLANG_ENABLE_ARCMT=OFF \ .. -make %{?_smp_mflags} +make %{?_smp_mflags} VERBOSE=1 %check cd stage2 @@ -407,20 +415,25 @@ %{py_sitedir}/Resources %{_datadir}/clang %{_mandir}/man1/clang.1%{ext_man} -%{_libdir}/libLTO.so -%{_libdir}/libprofile_rt.so +%{_libdir}/libLTO.* +%{_libdir}/libprofile_rt.* %if 0%{?suse_version} >= 1220 %{_libdir}/LLVMgold.so %{_libdir}/bfd-plugins/ %endif %{_libdir}/clang +%ifnarch ppc64 %{_libdir}/clang/%{_release_version}/lib/linux/ +%endif %files -n libclang %defattr(-,root,root,-) %exclude %{_libdir}/libclang.so %{_libdir}/libclang*.so %{_libdir}/libclang.so.* +%ifarch ppc64 +%{_libdir}/libclang*.a +%endif %files clang-devel %defattr(-,root,root) ++ llvm-rpmlintrc ++ --- /var/tmp/diff_new_pack.ihbzWM/_old 2013-08-13 15:29:17.0 +0200 +++ /var/tmp/diff_new_pack.ihbzWM/_new 2013-08-13 15:29:17.0 +0200 @@ -5,6 +5,7 @@ addFilter("devel-file-in-non-devel-package .*/clang/.*/include/.*") addFilter("devel-file-in-non-devel-package .*/clang/.*/lib/.*") -addFilter("zero-length .*/llvm-apidoc/.*") -addFilter("arch-dependent-file-in-usr-share .*/llvm-apidoc/.*") -addFilter("binaryinfo-readelf-failed .*/llvm-apidoc/.*") +# PPC64 related hacks, remove these when we can +# build shared libs there. +addFilter("devel-file-in-non-devel-package .*/lib.*/*.a") +addFilter ("libclang.*shlib-policy-name-error")
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-07-16 16:43:01 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-07-15 09:48:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-07-16 16:43:02.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 16 08:35:00 UTC 2013 - co...@suse.com + +- do not build on slow or low memory workers + +--- Other differences: -- ++ _constraints ++ --- /var/tmp/diff_new_pack.DcD8kP/_old 2013-07-16 16:43:03.0 +0200 +++ /var/tmp/diff_new_pack.DcD8kP/_new 2013-07-16 16:43:03.0 +0200 @@ -1,9 +1,10 @@ - + 2000 - + kvm + SLOW_CPU -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-07-15 09:48:18 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-06-14 16:46:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-07-15 09:48:20.0 +0200 @@ -1,0 +2,34 @@ +Thu Jul 4 11:55:43 UTC 2013 - idon...@suse.com + +- Drop disable_neon_in_armv7.diff, neon seems to be working fine +- Add cmake-host-triple.patch to pass a host triple argument + +--- +Wed Jul 3 13:13:25 UTC 2013 - idon...@suse.com + +- Create libLLVM and libclang subpackages. + +--- +Wed Jun 19 12:58:24 UTC 2013 - llu...@suse.com + +- Fix finding internal headers on x86_64 + +--- +Wed Jun 19 12:41:30 UTC 2013 - idon...@suse.com + +- Fix ARM v5/v7 builds + +--- +Tue Jun 18 13:42:57 UTC 2013 - tobias.johannes.klausm...@mni.thm.de + +- Create a baselibs.conf + Provide *-32 Bit Packages for x86_64 + +--- +Thu Jun 13 18:33:31 UTC 2013 - tobias.johannes.klausm...@mni.thm.de + +- Initial version of a cmake based buildscript + + Updated arm_suse_support.diff (patch6) to work with llvm 3.3 + + Set version in spec to 3.3 + +--- Old: disable_neon_in_armv7.diff New: baselibs.conf cmake-host-triple.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.I1mU5I/_old 2013-07-15 09:48:21.0 +0200 +++ /var/tmp/diff_new_pack.I1mU5I/_new 2013-07-15 09:48:21.0 +0200 @@ -18,10 +18,11 @@ %define _revision 183898 %define _release_version 3.3 -%define _supported_archs "arm,aarch64,powerpc,x86" +%define _supported_archs "AArch64;ARM;PowerPC;X86" +%define _experimental_archs "R600" Name: llvm -Version:3.2.91 +Version:3.3 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -40,13 +41,15 @@ Patch5: llvm-config-lib64.patch # PATCH-FIX-OPENSUSE arm_suse_support.diff --Enable ARM suse toolchain support Patch6: arm_suse_support.diff -# PATCH-FIX-OPENSUSE disable_neon_in_armv7.diff -- Disable use of neon in armv7 openSUSE -Patch7: disable_neon_in_armv7.diff # PATCH-FIX-OPENSUSE unreachable-code.patch -- Unreachable code warning triggered on SLE -Patch8: unreachable-code.patch +Patch7: unreachable-code.patch +Patch8: cmake-host-triple.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake + +BuildRequires: cmake + %if 0%{?suse_version} >= 1220 BuildRequires: binutils-devel >= 2.21.90 %endif @@ -57,13 +60,10 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: groff -%ifarch x86_64 -# For tests -BuildRequires: glibc-devel-32bit -%endif BuildRequires: libffi-devel BuildRequires: libtool BuildRequires: python-base +Requires: libLLVM = %{version}-%{release} # llvm does not work on ppc, only ppc64 ExcludeArch:ppc @@ -75,8 +75,15 @@ The compiler infrastructure includes mirror sets of programming tools as well as libraries with equivalent functionality. +%package -n libLLVM +Summary:Libraries for LLVM +Group: Development/Libraries/C and C++ + +%description -n libLLVM +This package contains the shared libraries needed for LLVM. + %package devel -Summary:Libraries and Header Files for LLVM +Summary:Header Files for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} Requires: libffi-devel @@ -101,12 +108,20 @@ Group: Development/Languages/Other Requires: %{name} = %{version} Requires: binutils +Requires: libclang = %{version}-%{release} Requires: libstdc++-devel Provides: clang %description clang This package contains the clang (C language) frontend for LLVM. +%package -n libclang +Summary:Library files needed for clang +Group: Development/Libraries/C and C++ + +%description -n libclang +This package contains the shared libraries needed for clang. + %package clang-devel Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other @@ -134,12 +149,8 @@ %if "%{_lib}" == "lib64" %patch5 -p1 %endif -%ifarch %arm %patc
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-06-14 16:46:27 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-06-05 14:31:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-06-14 16:46:28.0 +0200 @@ -1,0 +2,5 @@ +Thu Jun 13 11:42:33 UTC 2013 - idon...@suse.com + +- Update to final 3.3 release (r183898) + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.wm8b9z/_old 2013-06-14 16:46:29.0 +0200 +++ /var/tmp/diff_new_pack.wm8b9z/_new 2013-06-14 16:46:29.0 +0200 @@ -16,7 +16,7 @@ # -%define _revision 182457 +%define _revision 183898 %define _release_version 3.3 %define _supported_archs "arm,aarch64,powerpc,x86" ++ llvm-3.3.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-3.3.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.3.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-06-05 14:31:14 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-05-27 09:53:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-06-05 14:31:15.0 +0200 @@ -1,0 +2,5 @@ +Fri May 24 11:21:39 UTC 2013 - idon...@suse.com + +- Disable debug symbols on PPC64 + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.HPa0SU/_old 2013-06-05 14:31:16.0 +0200 +++ /var/tmp/diff_new_pack.HPa0SU/_new 2013-06-05 14:31:16.0 +0200 @@ -169,9 +169,8 @@ pushd stage1 mkdir Release -%if "%{_lib}" == "lib64" +# autotools ignore --libdir ln -s lib Release/lib64 -%endif ../configure \ --enable-optimized \ @@ -205,10 +204,13 @@ popd pushd stage2 -mkdir Release+Debug # autotools ignore --libdir -%if "%{_lib}" == "lib64" +%ifnarch ppc64 +mkdir Release+Debug ln -s lib Release+Debug/lib64 +%else +mkdir Release +ln -s lib Release/lib64 %endif export CC=$TOPLEVEL/stage1/Release/bin/clang @@ -252,9 +254,11 @@ %else --enable-targets=%{_supported_archs} \ %endif - --with-clang-resource-dir="../%{_lib}/clang/%{_release_version}" \ +%ifnarch ppc64 --enable-debug-symbols \ ---enable-debug-runtime +--enable-debug-runtime \ +%endif +--with-clang-resource-dir="../%{_lib}/clang/%{_release_version}" make %{?_smp_mflags} REQUIRES_RTTI=1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-05-27 09:53:47 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-01-21 17:39:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-05-27 09:53:49.0 +0200 @@ -1,0 +2,34 @@ +Tue May 21 09:46:02 UTC 2013 - idon...@suse.com + +- Update to version 3.3 RC2 + * Small bugfixes + +--- +Tue May 14 11:23:07 UTC 2013 - idon...@suse.com + +- Enable ARM64 support + +--- +Thu May 9 09:05:41 UTC 2013 - idon...@suse.com + +- Add unreachable-code.patch to fix unreachable code warnings on SLE + +--- +Wed May 8 08:56:28 UTC 2013 - idon...@suse.com + +- Update to version 3.3 RC1 +* Added support for AArch64, ARM’s 64-bit architecture. +* LLVM now has a new SLP vectorizer. +* LLVM and clang now support IBM’s z/Architecture. +* The R600 backend was added in this release, it supports + AMD GPUs (HD2XXX - HD7XXX). +* See http://llvm.org/releases/3.3/docs/ReleaseNotes.html for + complete changelog. + +- Drop upstream patches: +* pr13303.patch +* pr14795.patch +* pr14831.patch +* python-ulimit.patch + +--- Old: llvm-3.2.tar.bz2 pr13303.patch pr14795.patch pr14831.patch python-ulimit.patch New: _constraints llvm-3.3.tar.bz2 unreachable-code.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.FB96eb/_old 2013-05-27 09:53:50.0 +0200 +++ /var/tmp/diff_new_pack.FB96eb/_new 2013-05-27 09:53:50.0 +0200 @@ -16,18 +16,18 @@ # -%define _revision 170558 -%define _release_version 3.2 -%define _supported_archs "arm,powerpc,x86" +%define _revision 182457 +%define _release_version 3.3 +%define _supported_archs "arm,aarch64,powerpc,x86" Name: llvm -Version:3.2 +Version:3.2.91 Release:0 Summary:Low Level Virtual Machine License:NCSA Group: Development/Languages/Other Url:http://www.llvm.org -Source0:%{name}-%{version}.tar.bz2 +Source0:%{name}-%{_release_version}.tar.bz2 Source100: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch @@ -42,12 +42,8 @@ Patch6: arm_suse_support.diff # PATCH-FIX-OPENSUSE disable_neon_in_armv7.diff -- Disable use of neon in armv7 openSUSE Patch7: disable_neon_in_armv7.diff -# PATCH-FIX-UPSTREAM python-ulimit.patch Upstream r169695 -Patch8: python-ulimit.patch -Patch9: pr14795.patch -Patch10:pr14831.patch -# PATCH-FIX-UPSTREAM pr13303.patch -Patch11:pr13303.patch +# PATCH-FIX-OPENSUSE unreachable-code.patch -- Unreachable code warning triggered on SLE +Patch8: unreachable-code.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -130,7 +126,7 @@ This package contains vim plugins for LLVM like syntax highlighting. %prep -%setup -q -n %{name} +%setup -q -n %{name}-%{_release_version} %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -145,9 +141,6 @@ %patch7 -p0 %endif %patch8 -p1 -%patch9 -p0 -%patch10 -p0 -%patch11 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -161,10 +154,10 @@ sed -i s,LLVM_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp # Nasty hardcoded path -sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp +sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp tools/clang/test/Preprocessor/iwithprefix.c # Only enable target archs otherwise llvm-config is messed up -sed -i s,"subdirectories = .*","subdirectories = ARM PowerPC X86", lib/Target/LLVMBuild.txt +sed -i s,"subdirectories = .*","subdirectories = AArch64 ARM PowerPC X86", lib/Target/LLVMBuild.txt sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt @@ -398,6 +391,7 @@ %{_bindir}/clang %{_bindir}/clang-* %{_bindir}/clang++ +%{_bindir}/clang-format %{_bindir}/c-index-test %{_bindir}/ccc-analyzer %{_bindir}/c++-analyzer ++ assume-opensuse.patch ++ --- /var/tmp/diff_new_pack.FB96eb/_old 2013-05-27 09:53:50.0 +0200 +++ /var/tmp/diff_new_pack.FB96eb/_new 2013-05-27 09:53:50.0 +0200 @@ -1,13 +1,1
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-01-21 17:39:05 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2013-01-13 14:29:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-01-21 17:39:06.0 +0100 @@ -1,0 +2,5 @@ +Wed Jan 16 18:38:01 UTC 2013 - llu...@suse.com + +- pr13303.patch: reapply, was temporarily reverted upstream + +--- New: pr13303.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.HAs0re/_old 2013-01-21 17:39:08.0 +0100 +++ /var/tmp/diff_new_pack.HAs0re/_new 2013-01-21 17:39:08.0 +0100 @@ -46,6 +46,8 @@ Patch8: python-ulimit.patch Patch9: pr14795.patch Patch10:pr14831.patch +# PATCH-FIX-UPSTREAM pr13303.patch +Patch11:pr13303.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -145,6 +147,7 @@ %patch8 -p1 %patch9 -p0 %patch10 -p0 +%patch11 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c ++ pr13303.patch ++ commit b36c531653913cdea211a25d45350e8b5bfbd262 Author: David Blaikie Date: Tue Dec 4 21:05:36 2012 + Reapply r160148 (reverted in r163570) fixing spurious breakpoints in modern GDB This reapplies the fix for PR13303 now with more justification. Based on my execution of the GDB 7.5 test suite this results in: expected passes: 16101 -> 20890 (+30%) unexpected failures: 4826 -> 637 (-77%) There are 23 checks that used to pass and now fail. They are all in gdb.reverse. Investigating a few looks like they were accidentally passing due to extra breakpoints being set by this bug. They're generally due to the difference in end location between gcc and clang, the test suite is trying to set breakpoints on the closing '}' that clang doesn't associate with any instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169304 91177308-0d34-0410-b5e6-96231b3b80d8 diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index d008f0b..3276575 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1511,7 +1511,7 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) { MF->getFunction()->getContext()); recordSourceLine(FnStartDL.getLine(), FnStartDL.getCol(), FnStartDL.getScope(MF->getFunction()->getContext()), - 0); + DWARF2_FLAG_IS_STMT); } } diff --git a/test/DebugInfo/X86/pr13303.ll b/test/DebugInfo/X86/pr13303.ll new file mode 100644 index 000..e820cb5 --- /dev/null +++ b/test/DebugInfo/X86/pr13303.ll @@ -0,0 +1,28 @@ +; RUN: llc %s -o %t -filetype=obj -mtriple=x86_64-unknown-linux-gnu +; RUN: llvm-dwarfdump %t | FileCheck %s +; PR13303 + +; Check that the prologue ends with is_stmt here. +; CHECK: 0x {{.*}} is_stmt + +define i32 @main() nounwind uwtable { +entry: + %retval = alloca i32, align 4 + store i32 0, i32* %retval + ret i32 0, !dbg !10 +} + +!llvm.dbg.cu = !{!0} + +!0 = metadata !{i32 786449, i32 0, i32 12, metadata !"PR13303.c", metadata !"/home/probinson", metadata !"clang version 3.2 (trunk 160143)", i1 true, i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1} ; [ DW_TAG_compile_unit ] [/home/probinson/PR13303.c] [DW_LANG_C99] +!1 = metadata !{metadata !2} +!2 = metadata !{i32 0} +!3 = metadata !{metadata !4} +!4 = metadata !{metadata !5} +!5 = metadata !{i32 786478, i32 0, metadata !6, metadata !"main", metadata !"main", metadata !"", metadata !6, i32 1, metadata !7, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, i32 ()* @main, null, null, metadata !1, i32 1} ; [ DW_TAG_subprogram ] [line 1] [def] [main] +!6 = metadata !{i32 786473, metadata !"PR13303.c", metadata !"/home/probinson", null} ; [ DW_TAG_file_type ] +!7 = metadata !{i32 786453, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !8, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] +!8 = metadata !{metadata !9} +!9 = metadata !{i32 786468, null, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] +!10 = metadata !{i32 1, i32 14, metadata !11, null} +!11
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2013-01-13 14:29:06 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-12-21 14:53:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2013-01-13 14:29:07.0 +0100 @@ -1,0 +2,18 @@ +Fri Jan 11 11:56:09 UTC 2013 - idon...@suse.com + +- Add pre-generated doc files, remove sphinx dependency + +--- +Tue Jan 8 15:16:56 UTC 2013 - llu...@suse.com + +- pr14795.patch: Fix incorrect line numbers after -frewrite-includes + (PR#14795) +- pr14831.patch: Do not incorrectly warn about pragmas in -frewrite-includes + (PR#14831) + +--- +Mon Dec 31 09:29:12 UTC 2012 - dmuel...@suse.com + +- disable cross-compile mode in stage2 for armv5/v7 + +--- New: pr14795.patch pr14831.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.99OARl/_old 2013-01-13 14:29:09.0 +0100 +++ /var/tmp/diff_new_pack.99OARl/_new 2013-01-13 14:29:09.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,6 +44,8 @@ Patch7: disable_neon_in_armv7.diff # PATCH-FIX-UPSTREAM python-ulimit.patch Upstream r169695 Patch8: python-ulimit.patch +Patch9: pr14795.patch +Patch10:pr14831.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -64,7 +66,6 @@ BuildRequires: libffi-devel BuildRequires: libtool BuildRequires: python-base -BuildRequires: python-sphinx # llvm does not work on ppc, only ppc64 ExcludeArch:ppc @@ -142,6 +143,8 @@ %patch7 -p0 %endif %patch8 -p1 +%patch9 -p0 +%patch10 -p0 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -174,31 +177,29 @@ ln -s lib Release/lib64 %endif -%ifarch armv7l armv7hl -# This fixes the armv7 build. (Allow to run stage2 without problem) -export CFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" -export CXXFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" -%endif - ../configure \ --enable-optimized \ --disable-assertions \ --with-optimize-option="-O0" \ -%ifarch armv5el armv5tel +%ifarch %arm --disable-sjlj-exceptions \ ---with-arch=armv5te --with-float=soft --with-mode=arm \ --disable-werror --enable-checking=release \ +%ifarch armv5el armv5tel +--with-arch=armv5te --with-float=soft --with-mode=arm \ --build=armv5tel-suse-linux-gnueabi --host=armv5tel-suse-linux-gnueabi --target=armv5tel-suse-linux-gnueabi \ %endif %ifarch armv7l armv7hl ---disable-sjlj-exceptions \ ---with-arch=armv7-a --with-tune=cortex-a9 --with-float=hard --with-fpu=vfpv3-d16 --with-fpmath=vfp3 \ ---disable-werror --enable-checking=release \ +--with-arch=armv7-a \ +--with-tune=cortex-a9 \ +--with-float=hard \ +--with-fpu=vfpv3-d16 \ +--with-abi=aapcs-vfp \ --build=armv7hl-suse-linux-gnueabi --host=armv7hl-suse-linux-gnueabi --target=armv7hl-suse-linux-gnueabi \ %if 0%{?suse_version} >= 1220 ---with-mode=thumb \ +--with-mode=thumb \ %else ---with-mode=arm \ +--with-mode=arm \ +%endif %endif %endif --enable-targets=host @@ -217,34 +218,43 @@ export CC=$TOPLEVEL/stage1/Release/bin/clang export CXX=$TOPLEVEL/stage1/Release/bin/clang++ +%ifarch armv7l armv7hl +# This fixes the armv7 build. (Allow to run stage2 without problem) +export CFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" +export CXXFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" +%endif + ../configure \ --prefix=%{_prefix} \ --enable-optimized \ --disable-assertions \ --enable-pic \ --disable-timestamps \ ---enable-targets=%{_supported_archs} \ %if 0%{?suse_version} >= 1220 --with-binutils-include=/usr/include \ %endif -%ifarch armv5el armv5tel +%ifarch %arm --with-optimize-option="-U_GLIBCXX_ATOMIC_BUILTINS" \ --disable-sjlj-exception
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-12-21 14:53:52 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-12-17 09:35:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-12-21 14:53:56.0 +0100 @@ -1,0 +2,12 @@ +Thu Dec 20 14:51:18 UTC 2012 - idon...@suse.com + +- Update to final 3.2 release + * No code changes since rc3 + +--- +Sun Dec 16 08:44:03 UTC 2012 - idon...@suse.com + +- Update to r170281 from release_32 branch + * SROA fixes + +--- Old: llvm-3.1.99.r169678.tar.bz2 New: llvm-3.2.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.frmHoX/_old 2012-12-21 14:53:59.0 +0100 +++ /var/tmp/diff_new_pack.frmHoX/_new 2012-12-21 14:53:59.0 +0100 @@ -16,12 +16,12 @@ # -%define _revision 169678 +%define _revision 170558 %define _release_version 3.2 %define _supported_archs "arm,powerpc,x86" Name: llvm -Version:3.1.99.r%{_revision} +Version:3.2 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -129,9 +129,7 @@ %prep %setup -q -n %{name} %patch1 -p1 -%if 0%{?suse_version} >= 1100 %patch2 -p1 -%endif %patch3 -p1 %patch4 -p1 %if "%{_lib}" == "lib64" ++ llvm-3.1.99.r169678.tar.bz2 -> llvm-3.2.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-3.1.99.r169678.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.2.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-12-17 09:35:33 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-12-14 09:42:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-12-17 09:35:35.0 +0100 @@ -1,0 +2,11 @@ +Fri Dec 14 18:13:40 UTC 2012 - idon...@suse.com + +- Disable compilation on PPC, only PPC64 is supported. + +--- +Fri Dec 14 13:18:39 UTC 2012 - idon...@suse.com + +- Add python-ulimit.patch: Don't set a limit on address space. + This enables us running tests on PowerPC. + +--- New: python-ulimit.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.GmexR7/_old 2012-12-17 09:35:38.0 +0100 +++ /var/tmp/diff_new_pack.GmexR7/_new 2012-12-17 09:35:38.0 +0100 @@ -18,7 +18,7 @@ %define _revision 169678 %define _release_version 3.2 -%define _supported_archs "arm,x86" +%define _supported_archs "arm,powerpc,x86" Name: llvm Version:3.1.99.r%{_revision} @@ -42,6 +42,8 @@ Patch6: arm_suse_support.diff # PATCH-FIX-OPENSUSE disable_neon_in_armv7.diff -- Disable use of neon in armv7 openSUSE Patch7: disable_neon_in_armv7.diff +# PATCH-FIX-UPSTREAM python-ulimit.patch Upstream r169695 +Patch8: python-ulimit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -63,6 +65,8 @@ BuildRequires: libtool BuildRequires: python-base BuildRequires: python-sphinx +# llvm does not work on ppc, only ppc64 +ExcludeArch:ppc %description LLVM is a compiler infrastructure designed for compile-time, @@ -139,6 +143,7 @@ %ifarch armv7l armv7hl %patch7 -p0 %endif +%patch8 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c ++ python-ulimit.patch ++ Index: llvm/test/Makefile === --- llvm.orig/test/Makefile +++ llvm/test/Makefile @@ -78,8 +78,7 @@ else # !SunOS ifeq ($(HOST_OS),AuroraUX) ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -v 512000 ; else # !AuroraUX -# Fedora 13 x86-64 python fails with -v 76800 -ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; +ULIMIT=ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; endif # AuroraUX endif # SunOS -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-12-14 09:42:26 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-12-05 13:59:18.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-12-14 09:42:29.0 +0100 @@ -1,0 +2,17 @@ +Wed Dec 12 11:08:16 UTC 2012 - idon...@suse.com + +- Unbreak PowerPC support + +--- +Sat Dec 8 15:45:07 UTC 2012 - idon...@suse.com + +- Update to r169678 from release_32 branch + * This is 3.2rc3 + +--- +Wed Dec 5 17:27:57 UTC 2012 - idon...@suse.com + +- Update to r169391 from release_32 branch + * SROA fixes + +--- Old: llvm-3.1.99.r168987.tar.bz2 New: llvm-3.1.99.r169678.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.X3S9Dr/_old 2012-12-14 09:42:33.0 +0100 +++ /var/tmp/diff_new_pack.X3S9Dr/_new 2012-12-14 09:42:33.0 +0100 @@ -16,7 +16,7 @@ # -%define _revision 168987 +%define _revision 169678 %define _release_version 3.2 %define _supported_archs "arm,x86" @@ -155,7 +155,7 @@ 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,"subdirectories = .*","subdirectories = ARM PowerPC X86", lib/Target/LLVMBuild.txt sed -i s,"IntelJITEvents OProfileJIT","", lib/ExecutionEngine/LLVMBuild.txt echo > utils/unittest/LLVMBuild.txt ++ llvm-3.1.99.r168987.tar.bz2 -> llvm-3.1.99.r169678.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-3.1.99.r168987.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.1.99.r169678.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-12-05 13:59:15 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-11-22 16:45:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-12-05 13:59:18.0 +0100 @@ -1,0 +2,19 @@ +Tue Dec 4 13:15:12 UTC 2012 - guilla...@opensuse.org + +- Fix ARM build + +--- +Mon Dec 3 13:32:14 UTC 2012 - schue...@gmx.net + +- Fix llvm-config --libdir to return /usr/lib64 where appropriate. + The old method of using sed on the executable does no longer + work, because llvm-config is now a binary. + +--- +Fri Nov 30 07:27:46 UTC 2012 - idon...@suse.com + +- Update to r168987 from release_32 branch + * Crash fixes + * Miscompilation fixes + +--- Old: llvm-3.1.99.r168357.tar.bz2 New: arm_suse_support.diff disable_neon_in_armv7.diff llvm-3.1.99.r168987.tar.bz2 llvm-config-lib64.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.9hZ7Jh/_old 2012-12-05 13:59:19.0 +0100 +++ /var/tmp/diff_new_pack.9hZ7Jh/_new 2012-12-05 13:59:19.0 +0100 @@ -16,12 +16,12 @@ # -%define _revision 168357 +%define _revision 168987 %define _release_version 3.2 %define _supported_archs "arm,x86" Name: llvm -Version:3.1.99.r168357 +Version:3.1.99.r%{_revision} Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -37,6 +37,11 @@ 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: llvm-config-lib64.patch +# PATCH-FIX-OPENSUSE arm_suse_support.diff --Enable ARM suse toolchain support +Patch6: arm_suse_support.diff +# PATCH-FIX-OPENSUSE disable_neon_in_armv7.diff -- Disable use of neon in armv7 openSUSE +Patch7: disable_neon_in_armv7.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -125,6 +130,15 @@ %endif %patch3 -p1 %patch4 -p1 +%if "%{_lib}" == "lib64" +%patch5 -p1 +%endif +%ifarch %arm +%patch6 -p1 +%endif +%ifarch armv7l armv7hl +%patch7 -p0 +%endif # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -151,16 +165,38 @@ export SUSE_ASNEEDED=0 mkdir stage1 stage2 pushd stage1 +mkdir Release + +%if "%{_lib}" == "lib64" +ln -s lib Release/lib64 +%endif + +%ifarch armv7l armv7hl +# This fixes the armv7 build. (Allow to run stage2 without problem) +export CFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" +export CXXFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" +%endif ../configure \ --enable-optimized \ --disable-assertions \ --with-optimize-option="-O0" \ -%ifarch %arm +%ifarch armv5el armv5tel --disable-sjlj-exceptions \ ---with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb \ +--with-arch=armv5te --with-float=soft --with-mode=arm \ --disable-werror --enable-checking=release \ ---build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \ +--build=armv5tel-suse-linux-gnueabi --host=armv5tel-suse-linux-gnueabi --target=armv5tel-suse-linux-gnueabi \ +%endif +%ifarch armv7l armv7hl +--disable-sjlj-exceptions \ +--with-arch=armv7-a --with-tune=cortex-a9 --with-float=hard --with-fpu=vfpv3-d16 --with-fpmath=vfp3 \ +--disable-werror --enable-checking=release \ +--build=armv7hl-suse-linux-gnueabi --host=armv7hl-suse-linux-gnueabi --target=armv7hl-suse-linux-gnueabi \ +%if 0%{?suse_version} >= 1220 +--with-mode=thumb \ +%else +--with-mode=arm \ +%endif %endif --enable-targets=host @@ -169,9 +205,11 @@ popd pushd stage2 -# autotools ignore --libdir mkdir Release+Debug +# autotools ignore --libdir +%if "%{_lib}" == "lib64" ln -s lib Release+Debug/lib64 +%endif export CC=$TOPLEVEL/stage1/Release/bin/clang export CXX=$TOPLEVEL/stage1/Release/bin/clang++ @@ -186,12 +224,24 @@ %if 0%{?suse_version} >= 1220 --with-binutils-include=/usr/include \ %endif -%ifarch %arm +%ifarch armv5el armv5tel --with-optimize-option="-U_GLIBCXX_ATOMIC_BUILTINS" \ --disable-sjlj-exceptions \ ---with-arch=armv7-a --with-float=hard --
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-11-22 16:45:49 Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) Package is "llvm", Maintainer is "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-11-17 07:26:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-11-22 16:45:51.0 +0100 @@ -1,0 +2,17 @@ +Tue Nov 20 08:59:09 UTC 2012 - idon...@suse.com + +- Stop excluding ppc64 architecture + +--- +Tue Nov 20 08:25:54 UTC 2012 - idon...@suse.com + +- Update to r168357 from release_32 branch + * Fixes a miscompilation with gcc 4.7 + +--- +Sun Nov 18 15:28:10 UTC 2012 - idon...@suse.com + +- Update to r168286 from release_32 branch + * Fixes llvm PR14309 + +--- Old: llvm-3.1.99.r168031.tar.bz2 New: llvm-3.1.99.r168357.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.qqjRUN/_old 2012-11-22 16:45:53.0 +0100 +++ /var/tmp/diff_new_pack.qqjRUN/_new 2012-11-22 16:45:53.0 +0100 @@ -16,12 +16,12 @@ # -%define _revision168031 +%define _revision 168357 %define _release_version 3.2 %define _supported_archs "arm,x86" Name: llvm -Version:3.1.99.r168031 +Version:3.1.99.r168357 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -59,10 +59,6 @@ BuildRequires: python-base BuildRequires: python-sphinx -# LLVM is not supported on PPC64 -# http://llvm.org/bugs/show_bug.cgi?id=3729 -ExcludeArch:ppc64 - %description LLVM is a compiler infrastructure designed for compile-time, link-time, runtime, and idle-time optimization of programs from ++ llvm-3.1.99.r168031.tar.bz2 -> llvm-3.1.99.r168357.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-3.1.99.r168031.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.1.99.r168357.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
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 "orpha...@suse.de" Changes: --- /work/SRC/openSUSE:Factory/llvm/llvm.changes2012-11-02 07:30:43.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-11-17 07:26:10.0 +0100 @@ -1,0 +2,35 @@ +Thu Nov 15 08:21:58 UTC 2012 - idon...@suse.com + +- Update to r168031 from release_32 branch + * This is 3.2rc1 + +--- +Mon Nov 12 08:05:08 UTC 2012 - idon...@suse.com + +- 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.0 +0100 +++ /var/tmp/diff_new_pack.AS4kvb/_new 2012-11-17 07:26:12.0 +0100 @@ -16,12 +16,12 @@ # -%define _revision 157047 -%define _release_version 3.1 +%define _revision168031 +%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.sphin
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-11-02 07:30:41 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.changes2012-09-25 16:15:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-11-02 07:30:43.0 +0100 @@ -1,0 +2,5 @@ +Sat Oct 27 06:01:06 UTC 2012 - co...@suse.com + +- add explicit buildrequire groff for man pages + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.JHYHqx/_old 2012-11-02 07:30:44.0 +0100 +++ /var/tmp/diff_new_pack.JHYHqx/_new 2012-11-02 07:30:44.0 +0100 @@ -55,6 +55,7 @@ BuildRequires: flex BuildRequires: gcc BuildRequires: gcc-c++ +BuildRequires: groff %ifarch x86_64 # For tests BuildRequires: glibc-devel-32bit @@ -76,7 +77,6 @@ tools as well as libraries with equivalent functionality. %package devel - Summary:Libraries and Header Files for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} @@ -88,7 +88,6 @@ new native programs that use the LLVM infrastructure. %package doc - Summary:Documentation for LLVM Group: Documentation/HTML Requires: %{name} = %{version} @@ -97,7 +96,6 @@ Documentation for the LLVM compiler infrastructure. %package clang - Summary:CLANG frontend for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} @@ -109,7 +107,6 @@ This package contains the clang (C language) frontend for LLVM. %package clang-devel - Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other Requires: clang = %{version} @@ -120,7 +117,6 @@ (development files) %packagevim-plugins - Summary:Vim plugins for LLVM Group: Productivity/Text/Editors Requires: vim -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-09-25 16:15:02 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.changes2012-07-21 14:32:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-09-25 16:15:04.0 +0200 @@ -1,0 +2,5 @@ +Mon Sep 10 10:16:41 UTC 2012 - idon...@suse.com + +- Fix debuginfo generation + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.wRTQFn/_old 2012-09-25 16:15:05.0 +0200 +++ /var/tmp/diff_new_pack.wRTQFn/_new 2012-09-25 16:15:05.0 +0200 @@ -188,8 +188,8 @@ pushd stage2 # autotools ignore --libdir -mkdir Release -ln -s lib Release/lib64 +mkdir Release+Debug +ln -s lib Release+Debug/lib64 export CC=$TOPLEVEL/stage1/Release/bin/clang export CXX=$TOPLEVEL/stage1/Release/bin/clang++ @@ -211,7 +211,9 @@ --disable-werror --enable-checking=release \ --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \ %endif - --with-clang-resource-dir="../%{_lib}/clang/%{_release_version}" + --with-clang-resource-dir="../%{_lib}/clang/%{_release_version}" \ +--enable-debug-symbols \ +--enable-debug-runtime make %{?_smp_mflags} REQUIRES_RTTI=1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-07-21 14:32:17 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.changes2012-07-18 17:32:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-07-21 14:32:19.0 +0200 @@ -1,0 +2,6 @@ +Thu Jul 19 14:14:20 UTC 2012 - llu...@suse.com + +- make link time optimization plugin accessible to ar/nm/ranlib +- build the plugin properly + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.AVH4NZ/_old 2012-07-21 14:32:21.0 +0200 +++ /var/tmp/diff_new_pack.AVH4NZ/_new 2012-07-21 14:32:21.0 +0200 @@ -165,6 +165,8 @@ %build TOPLEVEL=$PWD +# as-needed avoids linking LLVMgold to LTO, just because cmake places -lLTO before the .o file is used +export SUSE_ASNEEDED=0 mkdir stage1 stage2 pushd stage1 @@ -276,6 +278,11 @@ ln -s ccc-analyzer c++-analyzer popd +%if 0%{?suse_version} >= 1220 +mkdir -p %{buildroot}%{_libdir}/bfd-plugins +ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/ +%endif + sed -i 's,RealBin/bin/clang,RealBin/clang,' \ %{buildroot}%{_bindir}/scan-build @@ -354,6 +361,7 @@ %{_libdir}/*profile*.a %if 0%{?suse_version} >= 1220 %{_libdir}/LLVMgold.so +%{_libdir}/bfd-plugins/ %endif %{_libdir}/clang -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-07-18 17:32:08 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.changes2012-07-15 12:05:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-07-18 17:32:09.0 +0200 @@ -1,0 +2,5 @@ +Thu Jul 14 17:30:58 UTC 2012 - adr...@suse.de + +- fix arm build + +--- New: arm-suse-support.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.f49wAr/_old 2012-07-18 17:32:10.0 +0200 +++ /var/tmp/diff_new_pack.f49wAr/_new 2012-07-18 17:32:10.0 +0200 @@ -42,6 +42,7 @@ Patch7: pr12463.patch Patch8: pr13141.patch Patch9: pr13303.patch +Patch10:arm-suse-support.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -144,6 +145,9 @@ %patch7 -p0 %patch8 -p0 %patch9 -p1 +%ifarch %arm +%patch10 +%endif # We hardcode i586 rm tools/clang/test/Driver/x86_features.c @@ -168,6 +172,12 @@ --enable-optimized \ --disable-assertions \ --with-optimize-option="-O0" \ +%ifarch %arm +--disable-sjlj-exceptions \ +--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb \ +--disable-werror --enable-checking=release \ +--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \ +%endif --enable-targets=host make %{?_smp_mflags} @@ -192,15 +202,25 @@ %if 0%{?suse_version} >= 1220 --with-binutils-include=/usr/include \ %endif +%ifarch %arm + --with-optimize-option="-U_GLIBCXX_ATOMIC_BUILTINS" \ +--disable-sjlj-exceptions \ +--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb \ +--disable-werror --enable-checking=release \ +--build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \ +%endif --with-clang-resource-dir="../%{_lib}/clang/%{_release_version}" make %{?_smp_mflags} REQUIRES_RTTI=1 %check cd stage2 +%if 0%{!?qemu_user_space_build:1} +# we just do not have enough memory with qemu emulation make check cd tools/clang make test +%endif %install cd stage2 ++ arm-suse-support.patch ++ Index: tools/clang/lib/Driver/Tools.cpp === --- tools/clang/lib/Driver/Tools.cpp.orig +++ tools/clang/lib/Driver/Tools.cpp @@ -611,6 +611,11 @@ static StringRef getARMFloatABI(const Dr } case llvm::Triple::Linux: { + StringRef ArchName = getLLVMArchSuffixForARM(getARMTargetCPU(Args, Triple)); + if (Triple.getEnvironment() == llvm::Triple::GNUEABIHF || ArchName.startswith("v7")) { +FloatABI = "hard"; +break; + } else if (Triple.getEnvironment() == llvm::Triple::GNUEABI) { FloatABI = "softfp"; break; @@ -623,6 +627,9 @@ static StringRef getARMFloatABI(const Dr case llvm::Triple::GNUEABI: FloatABI = "softfp"; break; + case llvm::Triple::GNUEABIHF: +FloatABI = "hard"; +break; case llvm::Triple::EABI: // EABI is always AAPCS, and if it was not marked 'hard', it's softfp FloatABI = "softfp"; @@ -665,6 +672,7 @@ void Clang::AddARMTargetArgs(const ArgLi // Select the default based on the platform. switch(Triple.getEnvironment()) { case llvm::Triple::ANDROIDEABI: +case llvm::Triple::GNUEABIHF: case llvm::Triple::GNUEABI: ABIName = "aapcs-linux"; break; @@ -730,10 +738,11 @@ void Clang::AddARMTargetArgs(const ArgLi // Setting -msoft-float effectively disables NEON because of the GCC // implementation, although the same isn't true of VFP or VFP3. - if (FloatABI == "soft") { +// if (FloatABI == "soft") { +// we do not use neon on suse so far, disabling it always to avoid incompatible ABI CmdArgs.push_back("-target-feature"); CmdArgs.push_back("-neon"); - } +// } // Kernel code has more strict alignment requirements. if (KernelOrKext) { @@ -5062,8 +5071,9 @@ void linuxtools::Assemble::ConstructJob( CmdArgs.push_back("-many"); } else if (getToolChain().getArch() == llvm::Triple::arm) { StringRef MArch = getToolChain().getArchName(); -if (MArch == "armv7" || MArch == "armv7a" || MArch == "armv7-a") - CmdArgs.push_back("-mfpu=neon"); +// we do not use neon on suse so far, disabling it always to avoid incompatible ABI +//if (MArch == "armv7" || MArc
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-07-15 12:05:48 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.changes2012-05-26 13:07:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-07-15 12:05:54.0 +0200 @@ -1,0 +2,16 @@ +Fri Jul 13 21:03:40 UTC 2012 - llu...@suse.com + +- change rewrite-includes patch to use options to match upstream + changed option names + +--- +Fri Jul 13 10:14:15 UTC 2012 - llu...@suse.com + +- fix debuginfo generation (PR#13303) + +--- +Mon Jun 18 20:26:51 UTC 2012 - llu...@suse.com + +- Do not reject PCH because of -DFOO duplication (PR#13141) + +--- New: pr12463.patch pr13141.patch pr13303.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.iAtnLs/_old 2012-07-15 12:05:55.0 +0200 +++ /var/tmp/diff_new_pack.iAtnLs/_new 2012-07-15 12:05:55.0 +0200 @@ -39,6 +39,9 @@ Patch4: default-to-i586.patch Patch5: clang-fix-mips-test.patch Patch6: rewrite-includes.patch +Patch7: pr12463.patch +Patch8: pr13141.patch +Patch9: pr13303.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -138,6 +141,9 @@ %patch6 -p0 # sle11 patch cannot create empty files touch tools/clang/test/Frontend/Inputs/rewrite-includes9.h +%patch7 -p0 +%patch8 -p0 +%patch9 -p1 # We hardcode i586 rm tools/clang/test/Driver/x86_features.c ++ pr12463.patch ++ diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index fea0fe1..1046972 100644 --- tools/clang/lib/Sema/SemaExpr.cpp +++ tools/clang/lib/Sema/SemaExpr.cpp @@ -6577,23 +6577,29 @@ QualType Sema::CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, checkEnumComparison(*this, Loc, LHS, RHS); if (!LHSType->hasFloatingRepresentation() && - !(LHSType->isBlockPointerType() && IsRelational) && - !LHS.get()->getLocStart().isMacroID() && - !RHS.get()->getLocStart().isMacroID()) { + !(LHSType->isBlockPointerType() && IsRelational)) { // For non-floating point types, check for self-comparisons of the form // x == x, x != x, x < x, etc. These always evaluate to a constant, and // often indicate logic errors in the program. // -// NOTE: Don't warn about comparison expressions resulting from macro -// expansion. Also don't warn about comparisons which are only self +// NOTE: Don't warn about self-comparison expressions resulting from macro +// expansion, unless they don't make sense at all. +// Also don't warn about comparisons which are only self // comparisons within a template specialization. The warnings should catch // obvious cases in the definition of the template anyways. The idea is to // warn when the typed comparison operator will always evaluate to the same // result. +bool InMacro = LHS.get()->getLocStart().isMacroID() || + RHS.get()->getLocStart().isMacroID(); if (DeclRefExpr* DRL = dyn_cast(LHSStripped)) { if (DeclRefExpr* DRR = dyn_cast(RHSStripped)) { +if (isa(LHSStripped)) + LHSStripped = LHSStripped->IgnoreParenCasts(); if (DRL->getDecl() == DRR->getDecl() && -!IsWithinTemplateSpecialization(DRL->getDecl())) { +!IsWithinTemplateSpecialization(DRL->getDecl()) && +!InMacro && +!isa(LHSStripped) && +!isa(LHSStripped)) { DiagRuntimeBehavior(Loc, 0, PDiag(diag::warn_comparison_always) << 0 // self- << (Opc == BO_EQ @@ -6602,23 +6608,26 @@ QualType Sema::CheckCompareOperands(ExprResult &LHS, ExprResult &RHS, } else if (LHSType->isArrayType() && RHSType->isArrayType() && !DRL->getDecl()->getType()->isReferenceType() && !DRR->getDecl()->getType()->isReferenceType()) { -// what is it always going to eval to? -char always_evals_to; switch(Opc) { case BO_EQ: // e.g. array1 == array2 - always_evals_to = 0; // false + if (!InMacro) +DiagRuntimeBehavior(Loc, 0, PDiag(diag::warn_comparison_always) +<< 1 // array +
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-05-26 13:07:30 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.changes2012-05-11 09:46:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-05-26 13:07:35.0 +0200 @@ -1,0 +2,5 @@ +Tue May 15 09:01:26 UTC 2012 - idon...@suse.com + +- Update to final 3.1 release + +--- Old: llvm-3.0.99+svn155819.tar.bz2 New: llvm-3.1.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.JDQ7WW/_old 2012-05-26 13:07:37.0 +0200 +++ /var/tmp/diff_new_pack.JDQ7WW/_new 2012-05-26 13:07:37.0 +0200 @@ -16,12 +16,12 @@ # -%define _revision 155819 +%define _revision 157047 %define _release_version 3.1 %define _supported_archs "arm,x86" Name: llvm -Version:3.0.99+svn155819 +Version:3.1 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -127,7 +127,9 @@ %prep %setup -q -n %{name} %patch1 -p1 +%if 0%{?suse_version} >= 1100 %patch2 -p1 +%endif %patch3 -p1 %patch4 -p1 %ifarch x86_64 ++ assume-opensuse.patch ++ --- /var/tmp/diff_new_pack.JDQ7WW/_old 2012-05-26 13:07:37.0 +0200 +++ /var/tmp/diff_new_pack.JDQ7WW/_new 2012-05-26 13:07:37.0 +0200 @@ -6,7 +6,7 @@ } static bool IsOpenSuse(enum LinuxDistro Distro) { -- return Distro >= OpenSuse11_3 && Distro <= OpenSuse12_1; +- return Distro >= OpenSuse11_3 && Distro <= OpenSuse12_2; + return true; } ++ llvm-3.0.99+svn155819.tar.bz2 -> llvm-3.1.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-3.0.99+svn155819.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.1.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-05-11 09:46:51 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.changes2012-05-08 11:15:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-05-11 09:46:53.0 +0200 @@ -1,0 +2,10 @@ +Thu May 10 11:40:06 UTC 2012 - idon...@suse.com + +- Depend on python-base so we don't pull whole Mesa + +--- +Tue May 8 08:21:42 UTC 2012 - llu...@suse.com + +- make -rewrite-includes support -C and -CC + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.kti71y/_old 2012-05-11 09:46:55.0 +0200 +++ /var/tmp/diff_new_pack.kti71y/_new 2012-05-11 09:46:55.0 +0200 @@ -57,7 +57,7 @@ %endif BuildRequires: libffi-devel BuildRequires: libtool -BuildRequires: python +BuildRequires: python-base # LLVM is not supported on PPC64 # http://llvm.org/bugs/show_bug.cgi?id=3729 @@ -134,6 +134,8 @@ %patch5 -p1 %endif %patch6 -p0 +# sle11 patch cannot create empty files +touch tools/clang/test/Frontend/Inputs/rewrite-includes9.h # We hardcode i586 rm tools/clang/test/Driver/x86_features.c ++ rewrite-includes.patch ++ 1222 lines (skipped) between /work/SRC/openSUSE:Factory/llvm/rewrite-includes.patch and /work/SRC/openSUSE:Factory/.llvm.new/rewrite-includes.patch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
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.changes2012-04-18 16:30:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-05-08 11:15:09.0 +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.0 +0200 +++ /var/tmp/diff_new_pack.bvP2Gp/_new 2012-05-08 11:15:11.0 +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 pu
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-04-18 16:30:11 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.changes2012-03-23 12:06:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-04-18 16:30:25.0 +0200 @@ -1,0 +2,65 @@ +Tue Apr 17 07:48:50 UTC 2012 - idon...@suse.com + +- Update to svn revision 154914 from 3.1 branch + + Major new features: + + * AddressSanitizer, a fast memory error detector. + * MachineInstr Bundles, Support to model instruction +bundling / packing. + * ARM Integrated Assembler, A full featured assembler +and direct-to-object support for ARM. + * Basic Block Placement Probability driven basic block placement. + + LLVM IR and Core Improvements + + * IR support for half float + * IR support for vectors of pointers, including vector GEPs. + * Module flags have been introduced. + * Loads can now have range metadata attached to them to +describe the possible values being loaded. + * Inline cost heuristics have been completely overhauled +and now closely model constant propagation through call sites, +disregard trivially dead code costs, and +can model C++ STL iterator patterns. + + Optimizer Improvements + + * The loop unroll pass now is able to unroll loops with +run-time trip counts. This feature is turned off by default, +and is enabled with the -unroll-runtime flag. + * A new basic-block autovectorization pass is available. +Pass -vectorize to run this pass along with some associated +post-vectorization cleanup passes. + + X86-32 and X86-64 Target Improvements + + * Bug fixes and improved support for AVX1 + * Support for AVX2 (still incomplete at this point) + + ARM Target Improvements + + * The constant island pass now supports basic block and +constant pool entry alignments greater than 4 bytes. + + Clang Changes + + * New: -Wdangling-else, -Wstrncat-size + * Improved: -Wformat, -Wempty-body, -Wliteral-conversion + * Clang 3.1 adds support for anonymous structs and anonymous unions, +added in the latest ISO C standard. Use -std=c11 or -std=gnu11 +to enable support for the new language standard. +The new C11 features are backwards-compatible and are available +as an extension in all language modes. + * All warning and language selection flags which previously accepted +c1x have been updated to accept c11. The old c1x forms have been removed. + * Generalized constant expressions + * Lambda expressions + * Generalized initializers + * Unrestricted unions + * User-defined literals + * Forward-declared enumerations + * Atomics (both libc++'s and libstdc++4.7's are supported) + + +--- Old: clang-glibc2.14.patch clang-pr11642.patch llvm-3.0.tar.bz2 New: clang-fix-mips-test.patch llvm-3.0.99+svn154914.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.YoGIl7/_old 2012-04-18 16:30:36.0 +0200 +++ /var/tmp/diff_new_pack.YoGIl7/_new 2012-04-18 16:30:36.0 +0200 @@ -16,12 +16,12 @@ # -%define _revision 145598 -%define _release_version 3.0 +%define _revision 154914 +%define _release_version 3.1 %define _supported_archs "arm,x86" Name: llvm -Version:3.0 +Version:3.0.99+svn154914 Release:0 Summary:Low Level Virtual Machine License:NCSA @@ -32,15 +32,12 @@ # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features -Patch3: assume-opensuse.patch -# PATCH-FIX-UPSTREAM clang-glibc2.14.patch idoen...@suse.de -- Support glibc 2.14 headers -Patch4: clang-glibc2.14.patch +Patch2: assume-opensuse.patch # PATCH-FIX-OPENSUSE clang-disable-ada-extension.patch idoen...@suse.de -- Don't run gcc for ada files -Patch5: clang-disable-ada-extension.patch -# PATCH-FIX-UPSTREAM http://llvm.org/viewvc/llvm-project?view=rev&revision=147295 -Patch6: clang-pr11642.patch +Patch3: clang-disable-ada-extension.patch # PATCH-FIX-OPENSUSE default-to-i586.patch -- Use i586 as default target for 32bit -Patch7:
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-03-23 12:06:31 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.changes2012-02-10 17:17:54.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-03-23 12:06:32.0 +0100 @@ -1,0 +2,5 @@ +Tue Mar 20 12:40:27 UTC 2012 - idon...@suse.com + +- Target i586-linux for 32bit builds + +--- Old: clang-cmake-lib.patch New: default-to-i586.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.msyqf4/_old 2012-03-23 12:06:34.0 +0100 +++ /var/tmp/diff_new_pack.msyqf4/_new 2012-03-23 12:06:34.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define _revision 145598 %define _release_version 3.0 -%define _supported_archs "ARM;X86" +%define _supported_archs "arm,x86" Name: llvm Version:3.0 @@ -30,8 +31,6 @@ Source100: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch -# PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Use correct lib prefix -Patch2: clang-cmake-lib.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features Patch3: assume-opensuse.patch # PATCH-FIX-UPSTREAM clang-glibc2.14.patch idoen...@suse.de -- Support glibc 2.14 headers @@ -40,6 +39,8 @@ Patch5: clang-disable-ada-extension.patch # PATCH-FIX-UPSTREAM http://llvm.org/viewvc/llvm-project?view=rev&revision=147295 Patch6: clang-pr11642.patch +# PATCH-FIX-OPENSUSE default-to-i586.patch -- Use i586 as default target for 32bit +Patch7: default-to-i586.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -48,7 +49,6 @@ %endif BuildRequires: bison BuildRequires: chrpath -BuildRequires: cmake BuildRequires: dejagnu BuildRequires: fdupes BuildRequires: flex @@ -112,8 +112,8 @@ Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other -Requires: llvm-devel = %{version} Requires: clang = %{version} +Requires: llvm-devel = %{version} %{py_requires} %description clang-devel @@ -132,13 +132,16 @@ %prep %setup -q %patch1 -%patch2 %patch3 cd tools/clang %patch4 %patch6 cd ../.. %patch5 -p1 +%patch7 -p1 + +# We hardcode i586 +rm tools/clang/test/Driver/x86_features.c sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp @@ -150,8 +153,6 @@ mkdir stage1 stage2 stage3 pushd stage1 -# Idiot cmake doesn't let me select my own optimization level here -# hence we use configure, this needed to workaround a gcc 4.5 bug ../configure \ --enable-optimized \ --disable-assertions \ @@ -166,41 +167,42 @@ export CC=$TOPLEVEL/stage1/Release/bin/clang export CXX=$TOPLEVEL/stage1/Release/bin/clang++ -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DCMAKE_BUILD_TYPE=Release \ - -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ - .. +../configure \ + --enable-optimized \ + --disable-assertions \ + --enable-targets=host + make %{?_smp_mflags} popd pushd stage3 -# Needed to make clang resource dir working inside build tree -ln -s lib lib64 -export CC=$TOPLEVEL/stage2/bin/clang -export CXX=$TOPLEVEL/stage2/bin/clang++ +# autotools ignore --libdir +mkdir Release +ln -s lib Release/lib64 -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DCMAKE_BUILD_TYPE=Release \ - -DLLVM_ENABLE_ASSERTIONS=FALSE \ - -DLLVM_ENABLE_PIC=TRUE \ - -DLLVM_ENABLE_TIMESTAMPS=FALSE \ - -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ - -DCLANG_VENDOR="SUSE Linux" \ -%if "%{_lib}" == "lib64" - -DLLVM_LIBDIR_SUFFIX=64 \ -%endif +export CC=$TOPLEVEL/stage2/Release/bin/clang +export CXX=$TOPLEVEL/stage2/Release/bin/clang++ + +../configure \ +--prefix=%{_prefix} \ + --enable-optimized \ + --disable-assertions \ + --enable-pic \ + --disable-timestamps \ +--enab
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2012-02-10 17:17:53 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.changes2011-12-27 18:37:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2012-02-10 17:17:54.0 +0100 @@ -1,0 +2,5 @@ +Tue Dec 27 21:33:48 UTC 2011 - idon...@suse.com + +- Add upstream fix for llvm PR11642 + +--- New: clang-pr11642.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.I2KQXk/_old 2012-02-10 17:17:57.0 +0100 +++ /var/tmp/diff_new_pack.I2KQXk/_new 2012-02-10 17:17:57.0 +0100 @@ -38,6 +38,8 @@ Patch4: clang-glibc2.14.patch # PATCH-FIX-OPENSUSE clang-disable-ada-extension.patch idoen...@suse.de -- Don't run gcc for ada files Patch5: clang-disable-ada-extension.patch +# PATCH-FIX-UPSTREAM http://llvm.org/viewvc/llvm-project?view=rev&revision=147295 +Patch6: clang-pr11642.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -134,6 +136,7 @@ %patch3 cd tools/clang %patch4 +%patch6 cd ../.. %patch5 -p1 ++ clang-pr11642.patch ++ Index: test/CodeGenCXX/visibility-inlines-hidden.cpp === --- test/CodeGenCXX/visibility-inlines-hidden.cpp (revision 147294) +++ test/CodeGenCXX/visibility-inlines-hidden.cpp (revision 147295) @@ -97,3 +97,14 @@ // CHECK: define available_externally void @_ZN5test22ns3fooINS_1BINS_1AEvv() } + +namespace PR11642 { + template + class Foo { + public: +T foo(T x) { return x; } + }; + extern template class Foo; + template class Foo; + // CHECK: define weak_odr i32 @_ZN7PR116423FooIiE3fooEi +} Index: lib/AST/Decl.cpp === --- lib/AST/Decl.cpp(revision 147294) +++ lib/AST/Decl.cpp(revision 147295) @@ -568,6 +568,7 @@ // about whether containing classes have visibility attributes, // and that's intentional. if (TSK != TSK_ExplicitInstantiationDeclaration && +TSK != TSK_ExplicitInstantiationDefinition && F.ConsiderGlobalVisibility && MD->getASTContext().getLangOptions().InlineVisibilityHidden) { // InlineVisibilityHidden only applies to definitions, and -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-12-27 18:37:25 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.changes2011-12-06 18:00:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-12-27 18:37:59.0 +0100 @@ -1,0 +2,11 @@ +Sun Dec 25 15:29:46 UTC 2011 - idon...@suse.com + +- Don't run gcc for ada files, just fail instead. + +--- +Thu Dec 22 15:33:24 UTC 2011 - idon...@suse.com + +- Add clang-glibc2.14.patch to support glibc 2.14 headers +- Install profiling support + +--- New: clang-disable-ada-extension.patch clang-glibc2.14.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.menvkR/_old 2011-12-27 18:38:00.0 +0100 +++ /var/tmp/diff_new_pack.menvkR/_new 2011-12-27 18:38:00.0 +0100 @@ -15,18 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %define _revision 145598 %define _release_version 3.0 %define _supported_archs "ARM;X86" Name: llvm Version:3.0 -Release:1 -License:NCSA +Release:0 Summary:Low Level Virtual Machine -Url:http://www.llvm.org +License:NCSA Group: Development/Languages/Other +Url:http://www.llvm.org Source0:%{name}-%{version}.tar.bz2 Source100: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision @@ -35,6 +34,10 @@ Patch2: clang-cmake-lib.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features Patch3: assume-opensuse.patch +# PATCH-FIX-UPSTREAM clang-glibc2.14.patch idoen...@suse.de -- Support glibc 2.14 headers +Patch4: clang-glibc2.14.patch +# PATCH-FIX-OPENSUSE clang-disable-ada-extension.patch idoen...@suse.de -- Don't run gcc for ada files +Patch5: clang-disable-ada-extension.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -129,13 +132,15 @@ %patch1 %patch2 %patch3 +cd tools/clang +%patch4 +cd ../.. +%patch5 -p1 sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp # Nasty hardcoded path -%if "%{_lib}" == "lib64" -sed -i s,/lib/LLVMgold.so,/lib64/LLVMgold.so, tools/clang/lib/Driver/Tools.cpp -%endif +sed -i s,/lib/,/%{_lib}/,g tools/clang/lib/Driver/Tools.cpp %build TOPLEVEL=$PWD @@ -334,6 +339,7 @@ %{_mandir}/man1/clang.1.gz %{_libdir}/libclang.so.* %{_libdir}/libLTO.so +%{_libdir}/*profile*.a %if 0%{?suse_version} >= 1220 %{_libdir}/LLVMgold.so %endif @@ -370,10 +376,10 @@ %defattr(-,root,root) %{_includedir}/clang %{_includedir}/clang-c -%{_libdir}/libclang.so %{_libdir}/libLTO.a +%{_libdir}/libclang.so %{_libdir}/libclang*.a -%{_libdir}/*profile_rt* +%{_libdir}/*profile*.so %files devel %defattr(-,root,root,-) ++ clang-disable-ada-extension.patch ++ Index: llvm/tools/clang/lib/Driver/Types.cpp === --- llvm.orig/tools/clang/lib/Driver/Types.cpp +++ llvm/tools/clang/lib/Driver/Types.cpp @@ -158,8 +158,6 @@ types::ID types::lookupTypeForExtension( .Case("hh", TY_CXXHeader) .Case("ll", TY_LLVM_IR) .Case("hpp", TY_CXXHeader) - .Case("ads", TY_Ada) - .Case("adb", TY_Ada) .Case("ast", TY_AST) .Case("c++", TY_CXX) .Case("C++", TY_CXX) ++ clang-glibc2.14.patch ++ Index: test/CodeGen/pr9614.c === --- test/CodeGen/pr9614.c (revision 146866) +++ test/CodeGen/pr9614.c (revision 146867) @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm %s -O1 -o - | FileCheck %s +// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s extern void foo_alias (void) __asm ("foo"); inline void foo (void) { @@ -8,15 +8,22 @@ inline __attribute__ ((__always_inline__)) void bar (void) { return bar_alias (); } +extern char *strrchr_foo (const char *__s, int __c) __asm ("strrchr"); +extern inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * strrchr_foo (const char *__s, int __c) { + return __builtin_strrchr (__s, __c); +} void f(void) { foo(); bar(); + strrchr_foo("", '.'); } // CHECK: define void @f() // CHECK: call void @foo() // CHECK-N
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-12-06 17:59:38 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.changes2011-11-08 09:30:58.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-12-06 18:00:46.0 +0100 @@ -1,0 +2,38 @@ +Mon Dec 5 13:19:22 UTC 2011 - idoen...@suse.de + +- Switch to 3-stage bootstrap + +--- +Fri Dec 2 12:22:07 UTC 2011 - idoen...@suse.de + +- Build first stage compiler with -O0 to workaround gcc 4.5 bug + +--- +Thu Dec 1 18:04:15 UTC 2011 - idoen...@suse.de + +- Update to final 3.0 release + * No real change since rc2 + +--- +Tue Nov 29 13:23:32 UTC 2011 - idoen...@suse.de + +- Use %{_lib} macro instead of checking for x86_64 + +--- +Wed Nov 16 14:28:17 UTC 2011 - idon...@suse.com + +- Enable ARM support again +- Switch to optimized build + +--- +Thu Nov 10 14:54:50 UTC 2011 - idon...@suse.com + +- Disable ARM support, VM goes out of memory while compiling it + +--- +Thu Nov 10 10:33:01 UTC 2011 - idon...@suse.com + +- Really enable ARM support +- Remove forcing -frtti + +--- Old: llvm-2.9.99.svn2006.tar.bz2 New: llvm-3.0.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.WT7cod/_old 2011-12-06 18:00:49.0 +0100 +++ /var/tmp/diff_new_pack.WT7cod/_new 2011-12-06 18:00:49.0 +0100 @@ -16,11 +16,12 @@ # -%define _revision 143961 +%define _revision 145598 %define _release_version 3.0 +%define _supported_archs "ARM;X86" Name: llvm -Version:2.9.99.svn2006 +Version:3.0 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -132,38 +133,53 @@ sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp # Nasty hardcoded path -%ifarch x86_64 +%if "%{_lib}" == "lib64" sed -i s,/lib/LLVMgold.so,/lib64/LLVMgold.so, tools/clang/lib/Driver/Tools.cpp %endif %build TOPLEVEL=$PWD -mkdir stage1 stage2 -cd stage1 +mkdir stage1 stage2 stage3 +pushd stage1 -cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DLLVM_ENABLE_ASSERTIONS=TRUE \ - -DLLVM_TARGETS_TO_BUILD="ARM;X86" \ - .. +# Idiot cmake doesn't let me select my own optimization level here +# hence we use configure, this needed to workaround a gcc 4.5 bug +../configure \ +--enable-optimized \ +--disable-assertions \ +--with-optimize-option="-O0" \ +--enable-targets=host + +make %{?_smp_mflags} + +popd +pushd stage2 +export CC=$TOPLEVEL/stage1/Release/bin/clang +export CXX=$TOPLEVEL/stage1/Release/bin/clang++ + +cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ + .. make %{?_smp_mflags} -cd ../stage2 +popd +pushd stage3 # Needed to make clang resource dir working inside build tree ln -s lib lib64 -export CC=$TOPLEVEL/stage1/bin/clang -export CXX=$TOPLEVEL/stage1/bin/clang++ -export CXXFLAGS="%{optflags} -frtti" +export CC=$TOPLEVEL/stage2/bin/clang +export CXX=$TOPLEVEL/stage2/bin/clang++ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_ASSERTIONS=FALSE \ -DLLVM_ENABLE_PIC=TRUE \ -DLLVM_ENABLE_TIMESTAMPS=FALSE \ - -DLLVM_TARGETS_TO_BUILD=X86 \ + -DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \ -DCLANG_VENDOR="SUSE Linux" \ -%ifarch x86_64 +%if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ %endif %if 0%{?suse_version} >= 1220 @@ -174,17 +190,17 @@ make %{?_smp_mflags} %check -cd stage2 +cd stage3 make check make clang-test %install -cd stage2 +cd stage3 %makeinstall cd .. -# Fixup libdir for x86-64 -%ifarch x86_64 +# Fixup libdir +%if "%{_lib}" == "lib64" sed -i s,ABS_RUN_DIR/lib,ABS_RUN_DIR/lib64, %{buildroot}/%{_bindir}/llvm-config %endif ++ llvm-2.9.99.svn2006.tar.bz2 -> llvm-3.0.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-2.9.99.svn2006.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-3.0.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-m
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-11-08 09:30:56 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.changes2011-11-02 12:02:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-11-08 09:30:58.0 +0100 @@ -1,0 +2,16 @@ +Mon Nov 7 15:05:52 UTC 2011 - idon...@suse.com + +- Update to r143961 from llvm-3.0 branch + * No longer hardcoding include paths + +--- +Mon Nov 7 09:17:40 UTC 2011 - idon...@suse.com + +- Fix LLVMgold.so path for x86-64 + +--- +Sun Nov 6 22:03:12 UTC 2011 - idon...@suse.com + +- Enable ld gold support + +--- Old: llvm-2.9.99.svn2001.tar.bz2 New: llvm-2.9.99.svn2006.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.SThTRb/_old 2011-11-08 09:31:00.0 +0100 +++ /var/tmp/diff_new_pack.SThTRb/_new 2011-11-08 09:31:00.0 +0100 @@ -16,17 +16,11 @@ # -%define _revision142912 +%define _revision 143961 %define _release_version 3.0 -%if 0%{?suse_version} >= 1200 -%define _gcc_ver 4.6 -%else -%define _gcc_ver 4.5 -%endif - Name: llvm -Version:2.9.99.svn2001 +Version:2.9.99.svn2006 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -43,6 +37,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake +%if 0%{?suse_version} >= 1220 +BuildRequires: binutils-devel >= 2.21.90 +%endif BuildRequires: bison BuildRequires: chrpath BuildRequires: cmake @@ -134,6 +131,11 @@ sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp +# Nasty hardcoded path +%ifarch x86_64 +sed -i s,/lib/LLVMgold.so,/lib64/LLVMgold.so, tools/clang/lib/Driver/Tools.cpp +%endif + %build TOPLEVEL=$PWD mkdir stage1 stage2 @@ -164,10 +166,10 @@ %ifarch x86_64 -DLLVM_LIBDIR_SUFFIX=64 \ %endif +%if 0%{?suse_version} >= 1220 + -DLLVM_BINUTILS_INCDIR=/usr/include \ +%endif -DCLANG_RESOURCE_DIR="../%{_lib}/clang/%{_release_version}" \ - -DC_INCLUDE_DIRS="/usr/include:\ -%{_libdir}/gcc/%{_target_cpu}-suse-linux/%{_gcc_ver}/include:\ -%{_libdir}/gcc/%{_target_cpu}-suse-linux/%{_gcc_ver}/include-fixed" \ .. make %{?_smp_mflags} @@ -316,6 +318,9 @@ %{_mandir}/man1/clang.1.gz %{_libdir}/libclang.so.* %{_libdir}/libLTO.so +%if 0%{?suse_version} >= 1220 +%{_libdir}/LLVMgold.so +%endif %dir %{_libdir}/clang %dir %{_libdir}/clang/* %dir %{_libdir}/clang/*/include ++ llvm-2.9.99.svn2001.tar.bz2 -> llvm-2.9.99.svn2006.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-2.9.99.svn2001.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-2.9.99.svn2006.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-11-02 12:02:00 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.changes2011-10-29 08:00:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-11-02 12:02:04.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 1 11:31:57 UTC 2011 - idon...@suse.com + +- Update r143456 from llvm-3.0 branch + * llvm/clang 3.0rc2 + +--- Old: llvm-2.9.99.svn20111025.tar.bz2 llvm-pr9614-part1.patch llvm-pr9614-part2.patch New: llvm-2.9.99.svn2001.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.DBUnXs/_old 2011-11-02 12:02:06.0 +0100 +++ /var/tmp/diff_new_pack.DBUnXs/_new 2011-11-02 12:02:06.0 +0100 @@ -26,7 +26,7 @@ %endif Name: llvm -Version:2.9.99.svn20111025 +Version:2.9.99.svn2001 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -40,9 +40,6 @@ Patch2: clang-cmake-lib.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features Patch3: assume-opensuse.patch -# PATCH-FIX-UPSTREAM llvm-pr9614-part1.patch idoen...@suse.de -- Fix LLVM PR9614 -Patch4: llvm-pr9614-part1.patch -Patch5: llvm-pr9614-part2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -135,11 +132,6 @@ %patch2 %patch3 -pushd tools/clang -%patch4 -p2 -%patch5 -p2 -popd - sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp %build ++ llvm-2.9.99.svn20111025.tar.bz2 -> llvm-2.9.99.svn2001.tar.bz2 ++ /work/SRC/openSUSE:Factory/llvm/llvm-2.9.99.svn20111025.tar.bz2 /work/SRC/openSUSE:Factory/.llvm.new/llvm-2.9.99.svn2001.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-10-29 08:00:43 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.changes2011-10-28 19:57:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-10-29 08:00:44.0 +0200 @@ -1,0 +2,5 @@ +Fri Oct 28 20:54:16 UTC 2011 - idon...@suse.com + +- Add llvm-pr9614-part{1,2}.patch to fix LLVM PR9614 + +--- New: llvm-pr9614-part1.patch llvm-pr9614-part2.patch Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.Fq8Hd4/_old 2011-10-29 08:00:45.0 +0200 +++ /var/tmp/diff_new_pack.Fq8Hd4/_new 2011-10-29 08:00:45.0 +0200 @@ -40,6 +40,9 @@ Patch2: clang-cmake-lib.patch # PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features Patch3: assume-opensuse.patch +# PATCH-FIX-UPSTREAM llvm-pr9614-part1.patch idoen...@suse.de -- Fix LLVM PR9614 +Patch4: llvm-pr9614-part1.patch +Patch5: llvm-pr9614-part2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -132,6 +135,11 @@ %patch2 %patch3 +pushd tools/clang +%patch4 -p2 +%patch5 -p2 +popd + sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp %build ++ llvm-pr9614-part1.patch ++ --- cfe/trunk/lib/CodeGen/CodeGenModule.cpp 2011/10/26 20:33:43 143048 +++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp 2011/10/26 20:41:06 143049 @@ -29,6 +29,7 @@ #include "clang/AST/DeclTemplate.h" #include "clang/AST/Mangle.h" #include "clang/AST/RecordLayout.h" +#include "clang/AST/RecursiveASTVisitor.h" #include "clang/Basic/Diagnostic.h" #include "clang/Basic/SourceManager.h" #include "clang/Basic/TargetInfo.h" @@ -858,6 +859,62 @@ } } +namespace { + struct FunctionIsDirectlyRecursive : +public RecursiveASTVisitor { +const StringRef Name; +bool Result; +FunctionIsDirectlyRecursive(const FunctionDecl *F) : + Name(F->getName()), Result(false) { +} +typedef RecursiveASTVisitor Base; + +bool TraverseCallExpr(CallExpr *E) { + const Decl *D = E->getCalleeDecl(); + if (!D) +return true; + AsmLabelAttr *Attr = D->getAttr(); + if (!Attr) +return true; + if (Name == Attr->getLabel()) { +Result = true; +return false; + } + return true; +} + }; +} + +// isTriviallyRecursiveViaAsm - Check if this function calls another +// decl that, because of the asm attribute, ends up pointing to itself. +bool +CodeGenModule::isTriviallyRecursiveViaAsm(const FunctionDecl *F) { + if (getCXXABI().getMangleContext().shouldMangleDeclName(F)) +return false; + + FunctionIsDirectlyRecursive Walker(F); + Walker.TraverseFunctionDecl(const_cast(F)); + return Walker.Result; +} + +bool +CodeGenModule::shouldEmitFunction(const FunctionDecl *F) { + if (getFunctionLinkage(F) != llvm::Function::AvailableExternallyLinkage) +return true; + if (F->hasAttr()) +return true; + if (CodeGenOpts.OptimizationLevel == 0) +return false; + // PR9614. Avoid cases where the source code is lying to us. An available + // externally function should have an equivalent function somewhere else, + // but a function that calls itself is clearly not equivalent to the real + // implementation. + // This happens in glibc's btowc and in some configure checks. + if (isTriviallyRecursiveViaAsm(F)) +return false; + return true; +} + void CodeGenModule::EmitGlobalDefinition(GlobalDecl GD) { const ValueDecl *D = cast(GD.getDecl()); @@ -868,10 +925,7 @@ if (const FunctionDecl *Function = dyn_cast(D)) { // At -O0, don't generate IR for functions with available_externally // linkage. -if (CodeGenOpts.OptimizationLevel == 0 && -!Function->hasAttr() && -getFunctionLinkage(Function) - == llvm::Function::AvailableExternallyLinkage) +if (!shouldEmitFunction(Function)) return; if (const CXXMethodDecl *Method = dyn_cast(D)) { --- cfe/trunk/lib/CodeGen/CodeGenModule.h 2011/10/26 20:33:43 143048 +++ cfe/trunk/lib/CodeGen/CodeGenModule.h 2011/10/26 20:41:06 143049 @@ -324,6 +324,8 @@ void createOpenCLRuntime(); void createCUDARuntime(); + bool isTriviallyRecursiveViaAsm(const FunctionDecl *F); + bool shouldEmitFunction(const FunctionDecl *F); llvm::LLVMContext &VMContext;
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-10-28 19:31:15 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.changes2011-10-25 16:15:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-10-28 19:57:56.0 +0200 @@ -1,0 +2,6 @@ +Fri Oct 28 08:23:03 UTC 2011 - idon...@suse.com + +- Fixup dependencies so that llvm-clang doesn't depend + on llvm-clang-devel + +--- Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.O9cHQS/_old 2011-10-28 19:58:52.0 +0200 +++ /var/tmp/diff_new_pack.O9cHQS/_new 2011-10-28 19:58:52.0 +0200 @@ -109,7 +109,8 @@ Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other -Requires: %{name} = %{version} +Requires: llvm-devel = %{version} +Requires: clang = %{version} %{py_requires} %description clang-devel @@ -269,9 +270,13 @@ %fdupes -s %{buildroot}%{_docdir}/%{name} %fdupes -s %{buildroot}%{_docdir}/%{name}-doc -%post -n llvm-clang-devel -p /sbin/ldconfig +%post clang -p /sbin/ldconfig -%postun -n llvm-clang-devel -p /sbin/ldconfig +%postun clang -p /sbin/ldconfig + +%post clang-devel -p /sbin/ldconfig + +%postun clang-devel -p /sbin/ldconfig %files %defattr(-,root,root) @@ -309,6 +314,8 @@ %{py_sitedir}/Resources %{_datadir}/clang %{_mandir}/man1/clang.1.gz +%{_libdir}/libclang.so.* +%{_libdir}/libLTO.so %dir %{_libdir}/clang %dir %{_libdir}/clang/* %dir %{_libdir}/clang/*/include @@ -342,8 +349,9 @@ %defattr(-,root,root) %{_includedir}/clang %{_includedir}/clang-c -%{_libdir}/libclang* -%{_libdir}/libLTO.* +%{_libdir}/libclang.so +%{_libdir}/libLTO.a +%{_libdir}/libclang*.a %{_libdir}/*profile_rt* %files devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2011-10-25 16:15:23 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.changes2011-10-02 10:17:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes 2011-10-25 16:15:33.0 +0200 @@ -1,0 +2,39 @@ +Tue Oct 25 07:13:47 UTC 2011 - idon...@suse.com + +- Update to r142912 llvm-3.0 branch + * Fixes to python bindings + +--- +Fri Oct 21 06:57:07 UTC 2011 - idon...@suse.com + +- Update to r142641 + * llvm/clang 3.0 rc1 + +--- +Thu Oct 20 17:56:08 UTC 2011 - idon...@suse.com + +- Enable ARM code generation + +--- +Wed Oct 19 15:47:10 UTC 2011 - idon...@suse.com + +- Fix libdir on x86_64 + +--- +Tue Oct 18 10:42:09 UTC 2011 - idon...@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 + +--- Old: llvm-2.9.99.svn20110929.tar.xz New: llvm-2.9.99.svn20111025.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.5RLMx0/_old 2011-10-25 16:15:44.0 +0200 +++ /var/tmp/diff_new_pack.5RLMx0/_new 2011-10-25 16:15:44.0 +0200 @@ -16,7 +16,7 @@ # -%define _revision140782 +%define _revision142912 %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 idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch @@ -55,7 +55,6 @@ 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 @@ 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 @@ %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 @@ # 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 @@ %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 @@ %{_bindir}/clang %{_bindir}/clang-* %{_bindir}/clang++ -%{_bindir}/tblgen %{_bindir}/c-index-test %{_bindir}/ccc-analyzer %{_bindir}/c++-analyzer @@ -304,7 +309,6 @@ %{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 @@ %{_libdir}/clang/*/include/nmmintrin.h %{_libdir}/clang/*/include/pmmintrin.h %{_libdir}/clang/*/
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Sun Oct 2 10:18:00 CEST 2011. --- openSUSE:Factory/llvm/llvm.changes 2011-09-23 02:11:56.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-09-29 22:33:54.0 +0200 @@ -1,0 +2,10 @@ +Thu Sep 29 08:10:42 UTC 2011 - idon...@suse.com + +- Update to r140780 + * Code cleanup + * Crash fixes + * Add support for alignment-specifiers in C1X and C++11 + * Introduce a new compiler switch: -fms-compatility + * Emit debug info for c++0x nullptr. + +--- calling whatdependson for head-i586 Old: llvm-2.9.99.svn20110913.tar.xz New: llvm-2.9.99.svn20110929.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.3LHslW/_old 2011-10-02 10:17:52.0 +0200 +++ /var/tmp/diff_new_pack.3LHslW/_new 2011-10-02 10:17:52.0 +0200 @@ -16,7 +16,7 @@ # -%define _revision139589 +%define _revision140782 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -26,7 +26,7 @@ %endif Name: llvm -Version:2.9.99.svn20110913 +Version:2.9.99.svn20110929 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -76,7 +76,6 @@ %package devel - Summary:Libraries and Header Files for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} @@ -89,7 +88,6 @@ %package doc - Summary:Documentation for LLVM Group: Documentation/HTML Requires: %{name} = %{version} @@ -99,7 +97,6 @@ %package clang - Summary:CLANG frontend for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} @@ -111,7 +108,6 @@ %package clang-devel - Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other Requires: %{name} = %{version} @@ -123,7 +119,6 @@ %packagevim-plugins - Summary:Vim plugins for LLVM Group: Productivity/Text/Editors Requires: vim @@ -136,6 +131,7 @@ %patch1 %patch2 %patch3 + sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp %build @@ -297,6 +293,7 @@ %{_bindir}/clang-* %{_bindir}/clang++ %{_bindir}/tblgen +%{_bindir}/c-index-test %{_bindir}/ccc-analyzer %{_bindir}/c++-analyzer %{_bindir}/scan-build continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Wed Sep 14 14:58:26 CEST 2011. --- llvm/llvm.changes 2011-09-01 16:35:13.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-09-13 10:11:37.0 +0200 @@ -1,0 +2,7 @@ +Tue Sep 13 07:36:30 UTC 2011 - idon...@suse.com + +- Update to r139589 + * C++0x fixes + * PCH fixes + +--- calling whatdependson for head-i586 Old: llvm-2.9.99.svn20110901.tar.xz New: llvm-2.9.99.svn20110913.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.Qakiz7/_old 2011-09-14 14:58:15.0 +0200 +++ /var/tmp/diff_new_pack.Qakiz7/_new 2011-09-14 14:58:15.0 +0200 @@ -16,7 +16,7 @@ # -%define _revision138939 +%define _revision139589 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -26,7 +26,7 @@ %endif Name: llvm -Version:2.9.99.svn20110901 +Version:2.9.99.svn20110913 Release:1 License:NCSA Summary:Low Level Virtual Machine Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Fri Sep 2 09:56:07 CEST 2011. --- llvm/llvm.changes 2011-08-12 12:31:37.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-09-01 16:35:13.0 +0200 @@ -1,0 +2,9 @@ +Thu Sep 1 14:03:14 UTC 2011 - idon...@suse.com + +- Update to r138939 + * Many crash fixes. + * Performance optimizations. + * Allow C99 hexfloats in C++0x mode. + * Add missing function _mm_ucomige_sd to emmintrin.h. + +--- calling whatdependson for head-i586 Old: llvm-2.9.99.svn20110812.tar.xz New: llvm-2.9.99.svn20110901.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.rYXFch/_old 2011-09-02 09:54:24.0 +0200 +++ /var/tmp/diff_new_pack.rYXFch/_new 2011-09-02 09:54:24.0 +0200 @@ -16,8 +16,7 @@ # -%define _sharedir%{_prefix}/share -%define _revision137452 +%define _revision138939 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -27,7 +26,7 @@ %endif Name: llvm -Version:2.9.99.svn20110812 +Version:2.9.99.svn20110901 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -200,7 +199,7 @@ find %{buildroot}%{_docdir}/%{name}-doc/ -name '*.tar.gz' -exec rm {} \; # install scan-build et al -install -d %{buildroot}%{_sharedir}/clang +install -d %{buildroot}%{_datadir}/clang install -d %{buildroot}%{py_sitedir} pushd tools/clang/tools @@ -209,7 +208,7 @@ install $file %{buildroot}%{_bindir} done for file in scan-build/scanview.css scan-build/sorttable.js; do - install -m 644 $file %{buildroot}%{_sharedir}/clang/ + install -m 644 $file %{buildroot}%{_datadir}/clang/ done for file in scan-view/Reporter.py scan-view/ScanView.py \ scan-view/startfile.py; do @@ -233,10 +232,10 @@ sed -i 's,RealBin/bin/ccc-analyzer,RealBin/ccc-analyzer,' \ %{buildroot}%{_bindir}/scan-build -sed -i 's,$RealBin/sorttable.js,%{_sharedir}/clang/sorttable.js,' \ +sed -i 's,$RealBin/sorttable.js,%{_datadir}/clang/sorttable.js,' \ %{buildroot}%{_bindir}/scan-build -sed -i 's,$RealBin/scanview.css,%{_sharedir}/clang/scanview.css,' \ +sed -i 's,$RealBin/scanview.css,%{_datadir}/clang/scanview.css,' \ %{buildroot}%{_bindir}/scan-build sed -i 's,RealBin/bin,RealBin,' \ @@ -306,7 +305,7 @@ %{py_sitedir}/Reporter.py %{py_sitedir}/startfile.py %{py_sitedir}/Resources -%{_sharedir}/clang +%{_datadir}/clang %{_mandir}/man1/clang.1.gz %{_mandir}/man1/tblgen.1.gz %dir %{_libdir}/clang Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Mon Aug 15 11:45:41 CEST 2011. --- llvm/llvm.changes 2011-08-03 13:49:16.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-08-12 12:31:37.0 +0200 @@ -1,0 +2,9 @@ +Fri Aug 12 09:22:18 UTC 2011 - idon...@novell.com + +- Update to r137452 + * Fix problems found by PVS-Studio + * More AVX fixes + * Many C++ fixes +- Add assume-opensuse.patch to remove dependency on openSUSE-release + +--- calling whatdependson for head-i586 Old: llvm-2.9.99.svn20110803.tar.xz New: assume-opensuse.patch llvm-2.9.99.svn20110812.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.DVrfp7/_old 2011-08-15 11:24:16.0 +0200 +++ /var/tmp/diff_new_pack.DVrfp7/_new 2011-08-15 11:24:16.0 +0200 @@ -17,7 +17,7 @@ %define _sharedir%{_prefix}/share -%define _revision136773 +%define _revision137452 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -27,7 +27,7 @@ %endif Name: llvm -Version:2.9.99.svn20110803 +Version:2.9.99.svn20110812 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -39,6 +39,8 @@ Patch1: set-revision.patch # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Use correct lib prefix Patch2: clang-cmake-lib.patch +# PATCH-FIX-OPENSUSE assume-opensuse.patch idoen...@suse.de -- Always enable openSUSE/SUSE features +Patch3: assume-opensuse.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -51,7 +53,6 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: openSUSE-release BuildRequires: python-devel BuildRequires: tcl-devel BuildRequires: tk-devel @@ -135,6 +136,7 @@ %setup -q %patch1 %patch2 +%patch3 sed -i s,SVN_REVISION,\"%{_revision}\",g tools/clang/lib/Basic/Version.cpp %build @@ -274,6 +276,7 @@ %defattr(-,root,root) %doc *.TXT *.txt %{_bindir}/bugpoint +%{_bindir}/diagtool %{_bindir}/llc %{_bindir}/lli %{_bindir}/macho-dump ++ assume-opensuse.patch ++ --- tools/clang/lib/Driver/ToolChains.cpp 2011-08-12 11:19:35.0 +0200 +++ tools/clang/lib/Driver/ToolChains.cpp 2011-08-12 12:10:47.733446958 +0200 @@ -1346,8 +1346,7 @@ } static bool IsOpenSuse(enum LinuxDistro Distro) { - return Distro == OpenSuse11_3 || Distro == OpenSuse11_4 || - Distro == OpenSuse12_1; + return true; } static bool IsDebian(enum LinuxDistro Distro) { Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Thu Aug 4 10:05:55 CEST 2011. --- llvm/llvm.changes 2011-07-19 16:04:55.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-08-03 13:49:16.0 +0200 @@ -1,0 +2,7 @@ +Wed Aug 3 11:18:31 UTC 2011 - idon...@novell.com + +- Update to r136773 + * Many AVX fixes + * Support for C++0x unicode string and character literals + +--- @@ -4 +11 @@ -- Update to 135431 +- Update to r135431 calling whatdependson for head-i586 Old: llvm-2.9.99.svn20110718.tar.bz2 New: llvm-2.9.99.svn20110803.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.FiXJeI/_old 2011-08-04 10:04:29.0 +0200 +++ /var/tmp/diff_new_pack.FiXJeI/_new 2011-08-04 10:04:29.0 +0200 @@ -17,7 +17,7 @@ %define _sharedir%{_prefix}/share -%define _revision135431 +%define _revision136773 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -27,13 +27,13 @@ %endif Name: llvm -Version:2.9.99.svn20110718 +Version:2.9.99.svn20110803 Release:1 License:NCSA Summary:Low Level Virtual Machine Url:http://www.llvm.org Group: Development/Languages/Other -Source0:%{name}-%{version}.tar.bz2 +Source0:%{name}-%{version}.tar.xz Source100: %{name}-rpmlintrc # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Wed Jul 20 09:41:27 CEST 2011. --- llvm/llvm.changes 2011-07-09 11:46:54.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-07-19 16:04:55.0 +0200 @@ -1,0 +2,12 @@ +Tue Jul 19 14:03:21 UTC 2011 - v...@ovi.com + +- Update to 135431 + * API changes to match Mesa requirements + +--- +Mon Jul 11 08:33:59 UTC 2011 - idon...@novell.com + +- Update to r134888 + * Type system rewrite + +--- calling whatdependson for head-i586 Old: llvm-2.9.99.svn20110709.tar.xz New: llvm-2.9.99.svn20110718.tar.bz2 Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.ZyyycZ/_old 2011-07-20 09:36:06.0 +0200 +++ /var/tmp/diff_new_pack.ZyyycZ/_new 2011-07-20 09:36:06.0 +0200 @@ -17,7 +17,7 @@ %define _sharedir%{_prefix}/share -%define _revision134813 +%define _revision135431 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -27,13 +27,13 @@ %endif Name: llvm -Version:2.9.99.svn20110709 +Version:2.9.99.svn20110718 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 idoen...@suse.de -- Allow us to set revision Patch1: set-revision.patch @@ -103,6 +103,7 @@ Summary:CLANG frontend for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} +Provides: clang %{py_requires} %description clang ++ llvm-2.9.99.svn20110709.tar.xz -> llvm-2.9.99.svn20110718.tar.bz2 ++ llvm/llvm-2.9.99.svn20110709.tar.xz /mounts/work_src_done/STABLE/llvm/llvm-2.9.99.svn20110718.tar.bz2 differ: char 1, line 1 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit llvm for openSUSE:Factory
Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at Mon Jul 11 10:27:39 CEST 2011. --- llvm/llvm.changes 2011-06-09 10:54:51.0 +0200 +++ /mounts/work_src_done/STABLE/llvm/llvm.changes 2011-07-09 11:46:54.0 +0200 @@ -1,0 +2,27 @@ +Sat Jul 9 09:27:17 UTC 2011 - idon...@novell.com + +- Update to r134813 + * Mainly gcc compatibility fixes + +--- +Fri Jul 8 11:31:27 UTC 2011 - idon...@novell.com + +- Update to r134698 + * Up to 80x speed improvements with -Wuninitialized + +--- +Thu Jul 7 11:37:40 UTC 2011 - idon...@novell.com + +- Enable RTTI support +- Disable assertions because they are not thread safe +- Update to r134611 + * Many C++ fixes and speedups + * Updates for AVX instruction support + * gcc 4.6.1 support + +--- +Sat Jul 2 19:31:38 UTC 2011 - idon...@novell.com + +- Fix manpage generation (bnc #703591) + +--- calling whatdependson for head-i586 Old: llvm-2.9.99.git20110605.tar.xz New: llvm-2.9.99.svn20110709.tar.xz Other differences: -- ++ llvm.spec ++ --- /var/tmp/diff_new_pack.podAOK/_old 2011-07-11 10:23:46.0 +0200 +++ /var/tmp/diff_new_pack.podAOK/_new 2011-07-11 10:23:46.0 +0200 @@ -17,7 +17,7 @@ %define _sharedir%{_prefix}/share -%define _revision132667 +%define _revision134813 %define _release_version 3.0 %if 0%{?suse_version} >= 1200 @@ -27,7 +27,7 @@ %endif Name: llvm -Version:2.9.99.git20110605 +Version:2.9.99.svn20110709 Release:1 License:NCSA Summary:Low Level Virtual Machine @@ -50,7 +50,6 @@ BuildRequires: flex BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: groff BuildRequires: libtool BuildRequires: openSUSE-release BuildRequires: python-devel @@ -77,6 +76,7 @@ %package devel + Summary:Libraries and Header Files for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} @@ -89,6 +89,7 @@ %package doc + Summary:Documentation for LLVM Group: Documentation/HTML Requires: %{name} = %{version} @@ -98,6 +99,7 @@ %package clang + Summary:CLANG frontend for LLVM Group: Development/Languages/Other Requires: %{name} = %{version} @@ -108,6 +110,7 @@ %package clang-devel + Summary:CLANG frontend for LLVM (devel package) Group: Development/Languages/Other Requires: %{name} = %{version} @@ -119,6 +122,7 @@ %packagevim-plugins + Summary:Vim plugins for LLVM Group: Productivity/Text/Editors Requires: vim @@ -150,10 +154,11 @@ export CC=$TOPLEVEL/stage1/bin/clang export CXX=$TOPLEVEL/stage1/bin/clang++ +export CXXFLAGS="%{optflags} -frtti" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DLLVM_ENABLE_ASSERTIONS=TRUE \ + -DLLVM_ENABLE_ASSERTIONS=FALSE \ -DLLVM_ENABLE_PIC=TRUE \ -DLLVM_ENABLE_TIMESTAMPS=FALSE \ -DLLVM_TARGETS_TO_BUILD=X86 \ @@ -242,7 +247,7 @@ install -m 755 -d %{buildroot}%{_mandir}/man1 for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do page=`echo $i|awk -F"/" '{print $(NF)}'|sed s,.pod,,` && -groff -Tps -man $i > %{buildroot}%{_mandir}/man1/$page.1; +pod2man -s1 $i %{buildroot}%{_mandir}/man1/$page.1; done # Remove gtest library Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org