[Patch] ./configure.ac – build libgomp by default for amdgcn*-*-*

Jakub Jelinek jakub@redhat.com
Mon Mar 9 15:56:49 GMT 2020


On Mon, Mar 09, 2020 at 04:24:20PM +0100, Tobias Burnus wrote:
> PS: While amdgcn was added in GCC 9, offloading is
> only supported in GCC 10 – hence, there is no backporting
> needed.
> 
> 2020-03-09  Tobias Burnus  <tobias@codesourcery.com>
> 
>        * configure.ac: Build libgomp by default for amdgcn.
>        * configure: Regenerate.

> diff --git a/configure.ac b/configure.ac
> index df2af18f9bd..56c881770b8 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -512,7 +512,7 @@ if test x$enable_libgomp = x ; then
>        ;;
>      *-*-darwin* | *-*-aix*)
>        ;;
> -    nvptx*-*-*)
> +    nvptx*-*-*|amdgcn*-*-*)

Please keep it consistent with the code around and use spaces around | .
Ok with that change.

	Jakub



More information about the Gcc-patches mailing list