- Enable offloading for nvptx-none on the host (offload compiler still

missing).  Re-enable HSA offloading.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc7?expand=0&rev=10
This commit is contained in:
Richard Biener 2017-01-20 11:59:41 +00:00 committed by Git OBS Bridge
parent 17ce8befc3
commit 9f928ad94e
39 changed files with 184 additions and 77 deletions

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -366,11 +366,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -366,11 +366,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -365,11 +365,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -95,8 +95,6 @@
%endif
%endif
%define libgomp_sover 1
%define libgomp_plugin_hsa_sover 1
%define libgomp_plugin_nvptx_sover 1
%define libstdcxx_sover 6
%define libobjc_sover 4
%define libgfortran_sover 4
@ -129,8 +127,6 @@
%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}}
%define libgomp_suffix %{plv libgomp %{libgomp_sover}}
%define libgomp_plugin_hsa_suffix %{plv libgomp-plugin-hsa %{libgomp_plugin_hsa_sover}}
%define libgomp_plugin_nvptx_suffix %{plv libgomp-plugin-nvptx %{libgomp_plugin_nvptx_sover}}
%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}}
%define libobjc_suffix %{plv libobjc %{libobjc_sover}}
%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}}
@ -1199,11 +1195,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \
@ -2123,10 +2124,10 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc@base_ver@-locale.lang
%defattr(-,root,root)
%mainlib libgomp.so.%{libgomp_sover}*
%if %{build_hsa}
%mainlib libgomp-plugin-hsa.so.%{libgomp_plugin_hsa_sover}*
%mainlib libgomp-plugin-hsa.so.%{libgomp_sover}*
%endif
%if %{build_nvptx}
%mainlib libgomp-plugin-nvptx.so.%{libgomp_plugin_nvptx_sover}*
%mainlib libgomp-plugin-nvptx.so.%{libgomp_sover}*
%endif
%if %{separate_biarch}
@ -2135,7 +2136,7 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc@base_ver@-locale.lang
%biarchlib libgomp.so.%{libgomp_sover}*
%endif
%if %{build_nvptx}
%biarchlib libgomp-plugin-nvptx.so.%{libgomp_plugin_nvptx_sover}*
%biarchlib libgomp-plugin-nvptx.so.%{libgomp_sover}*
%endif

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -111,8 +111,6 @@
%endif
%endif
%define libgomp_sover 1
%define libgomp_plugin_hsa_sover 1
%define libgomp_plugin_nvptx_sover 1
%define libstdcxx_sover 6
%define libobjc_sover 4
%define libgfortran_sover 4
@ -145,8 +143,6 @@
%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}}
%define libgomp_suffix %{plv libgomp %{libgomp_sover}}
%define libgomp_plugin_hsa_suffix %{plv libgomp-plugin-hsa %{libgomp_plugin_hsa_sover}}
%define libgomp_plugin_nvptx_suffix %{plv libgomp-plugin-nvptx %{libgomp_plugin_nvptx_sover}}
%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}}
%define libobjc_suffix %{plv libobjc %{libobjc_sover}}
%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}}
@ -564,11 +560,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \

View File

@ -3,7 +3,8 @@ Fri Jan 20 08:36:18 UTC 2017 - rguenther@suse.com
- Update to gcc trunk head (r244684).
- Use --with-gcc-major-version-only and drop gcc-dir-version.patch.
- Enable offloading for nvptx-none.
- Enable offloading for nvptx-none on the host (offload compiler still
missing). Re-enable HSA offloading.
- Re-add missing cross.spec.in and enable crosses.
-------------------------------------------------------------------

View File

@ -93,8 +93,6 @@
%endif
%endif
%define libgomp_sover 1
%define libgomp_plugin_hsa_sover 1
%define libgomp_plugin_nvptx_sover 1
%define libstdcxx_sover 6
%define libobjc_sover 4
%define libgfortran_sover 4
@ -127,8 +125,6 @@
%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}}
%define libgomp_suffix %{plv libgomp %{libgomp_sover}}
%define libgomp_plugin_hsa_suffix %{plv libgomp-plugin-hsa %{libgomp_plugin_hsa_sover}}
%define libgomp_plugin_nvptx_suffix %{plv libgomp-plugin-nvptx %{libgomp_plugin_nvptx_sover}}
%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}}
%define libobjc_suffix %{plv libobjc %{libobjc_sover}}
%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}}
@ -1892,11 +1888,16 @@ TCFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_libdir} \
--libexecdir=%{_libdir} \
--enable-languages=$languages \
%if %{build_hsa} || %{build_nvptx}
--enable-offload-targets=\
%if %{build_hsa}
--enable-offload-targets=hsa \
hsa,\
%endif
%if %{build_nvptx}
nvptx-none=%{_prefix}/nvptx-none, \
%endif
%endif
%if %{build_nvptx}
--enable-offload-targets=nvptx-none=%{_prefix}/nvptx-none \
--without-cuda-driver \
%endif
$ENABLE_CHECKING \
@ -2808,10 +2809,10 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc7-locale.lang
%defattr(-,root,root)
%mainlib libgomp.so.%{libgomp_sover}*
%if %{build_hsa}
%mainlib libgomp-plugin-hsa.so.%{libgomp_plugin_hsa_sover}*
%mainlib libgomp-plugin-hsa.so.%{libgomp_sover}*
%endif
%if %{build_nvptx}
%mainlib libgomp-plugin-nvptx.so.%{libgomp_plugin_nvptx_sover}*
%mainlib libgomp-plugin-nvptx.so.%{libgomp_sover}*
%endif
%if %{separate_biarch}
@ -2820,7 +2821,7 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc7-locale.lang
%biarchlib libgomp.so.%{libgomp_sover}*
%endif
%if %{build_nvptx}
%biarchlib libgomp-plugin-nvptx.so.%{libgomp_plugin_nvptx_sover}*
%biarchlib libgomp-plugin-nvptx.so.%{libgomp_sover}*
%endif
%ifarch %asan_arch