Accepting request 674183 from home:glaubitz:branches:devel:tools:compiler
- Remove ppc from Exclude field in spec file - Allow use of Gold linker to be conditional - Disable Gold linker on ppc OBS-URL: https://build.opensuse.org/request/show/674183 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=519
This commit is contained in:
parent
91c9d99272
commit
448655ca5c
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 16:33:33 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Remove ppc from Exclude field in spec file
|
||||||
|
- Allow use of Gold linker to be conditional
|
||||||
|
- Disable Gold linker on ppc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 14 15:39:53 UTC 2019 - msrb@suse.com
|
Mon Jan 14 15:39:53 UTC 2019 - msrb@suse.com
|
||||||
|
|
||||||
|
18
llvm.spec
18
llvm.spec
@ -12,10 +12,16 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
%define _sonum 7
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%define has_lldb 1
|
%define has_lldb 1
|
||||||
@ -42,7 +48,9 @@ BuildRequires: llvm%{_sonum} = %{version}
|
|||||||
BuildRequires: llvm%{_sonum}-LTO-devel = %{version}
|
BuildRequires: llvm%{_sonum}-LTO-devel = %{version}
|
||||||
BuildRequires: llvm%{_sonum}-devel = %{version}
|
BuildRequires: llvm%{_sonum}-devel = %{version}
|
||||||
BuildRequires: llvm%{_sonum}-emacs-plugins = %{version}
|
BuildRequires: llvm%{_sonum}-emacs-plugins = %{version}
|
||||||
|
%if %{with gold}
|
||||||
BuildRequires: llvm%{_sonum}-gold = %{version}
|
BuildRequires: llvm%{_sonum}-gold = %{version}
|
||||||
|
%endif
|
||||||
BuildRequires: llvm%{_sonum}-vim-plugins = %{version}
|
BuildRequires: llvm%{_sonum}-vim-plugins = %{version}
|
||||||
Requires: llvm%{_sonum} = %{version}
|
Requires: llvm%{_sonum} = %{version}
|
||||||
%if 0%{?has_lldb}
|
%if 0%{?has_lldb}
|
||||||
@ -53,7 +61,7 @@ BuildRequires: lldb%{_sonum}-devel = %{version}
|
|||||||
BuildRequires: python3-lldb%{_sonum} = %{version}
|
BuildRequires: python3-lldb%{_sonum} = %{version}
|
||||||
%endif
|
%endif
|
||||||
# Mirrors ExcludeArch in llvm%{_sonum}
|
# Mirrors ExcludeArch in llvm%{_sonum}
|
||||||
ExcludeArch: ppc s390
|
ExcludeArch: s390
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LLVM is a compiler infrastructure designed for compile-time,
|
LLVM is a compiler infrastructure designed for compile-time,
|
||||||
@ -71,7 +79,9 @@ don't require a specific LLVM version should depend on this.
|
|||||||
Summary: Header Files for LLVM
|
Summary: Header Files for LLVM
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Requires: llvm%{_sonum}-devel = %{version}
|
Requires: llvm%{_sonum}-devel = %{version}
|
||||||
|
%if %{with gold}
|
||||||
Requires: llvm-gold
|
Requires: llvm-gold
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains library and header files needed to develop
|
This package contains library and header files needed to develop
|
||||||
@ -140,6 +150,7 @@ This package is a dummy package that depends on the version of
|
|||||||
llvm-LTO-devel that openSUSE currently supports. Packages that
|
llvm-LTO-devel that openSUSE currently supports. Packages that
|
||||||
don't require a specific LLVM version should depend on this.
|
don't require a specific LLVM version should depend on this.
|
||||||
|
|
||||||
|
%if %{with gold}
|
||||||
%package gold
|
%package gold
|
||||||
Summary: Gold linker plugin for LLVM
|
Summary: Gold linker plugin for LLVM
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
@ -151,6 +162,7 @@ This package contains the Gold linker plugin for LLVM.
|
|||||||
This package is a dummy package that depends on the version of
|
This package is a dummy package that depends on the version of
|
||||||
llvm-gold that openSUSE currently supports. Packages that
|
llvm-gold that openSUSE currently supports. Packages that
|
||||||
don't require a specific LLVM version should depend on this.
|
don't require a specific LLVM version should depend on this.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package vim-plugins
|
%package vim-plugins
|
||||||
Summary: Vim plugins for LLVM
|
Summary: Vim plugins for LLVM
|
||||||
@ -245,8 +257,10 @@ echo "This is a dummy package to provide a dependency on the system compiler." >
|
|||||||
%files -n clang-checker
|
%files -n clang-checker
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
%if %{with gold}
|
||||||
%files gold
|
%files gold
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc README
|
%doc README
|
||||||
|
Loading…
x
Reference in New Issue
Block a user