Rev devel:gcc/2 Md5 4740ea568825a52f96653ee3e6abf3a5 2022-01-13 12:48:03 rguenther None
This commit is contained in:
committed by
Git OBS Bridge
parent
4c9c8313da
commit
77d3ccd24d
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package cross-nvptx-gcc12
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
@@ -117,7 +117,6 @@ Release: 0
|
||||
%if %{suse_version} < 1310
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%endif
|
||||
Group: Development/Languages/C and C++
|
||||
Source: gcc-%{version}.tar.xz
|
||||
Source1: change_spec
|
||||
Source2: gcc12-rpmlintrc
|
||||
@@ -288,9 +287,10 @@ Requires: libstdc++6-devel-gcc12
|
||||
AutoReqProv: off
|
||||
BuildRequires: update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun):update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
Summary: The GNU Compiler Collection targeting %{cross_arch}
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description
|
||||
The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}.
|
||||
@@ -459,7 +459,7 @@ nvptx-none,\
|
||||
%if %{build_gcn}
|
||||
amdgcn-amdhsa,\
|
||||
%endif
|
||||
--enable-offload-defaulted \
|
||||
--enable-offload-defaulted \
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
--without-cuda-driver \
|
||||
@@ -840,7 +840,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \
|
||||
install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \
|
||||
$RPM_BUILD_ROOT/env/usr/bin/gcc
|
||||
|
||||
for back in cc1 cc1plus; do
|
||||
for back in cc1 cc1plus; do
|
||||
install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \
|
||||
$RPM_BUILD_ROOT/env%{targetlibsubdir}/$back
|
||||
done
|
||||
|
Reference in New Issue
Block a user