public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Burnus <tobias@codesourcery.com>
To: Matthias Klose <doko@ubuntu.com>,
	Tobias Burnus <tobias@codesourcery.com>,
	 gcc-patches <gcc-patches@gcc.gnu.org>,
	Jakub Jelinek <jakub@redhat.com>,
	Richard Biener <rguenther@suse.de>
Subject: Re: [Patch] offload-defaulted: Config option to silently ignore uninstalled offload compilers
Date: Wed, 28 Apr 2021 18:56:37 +0200	[thread overview]
Message-ID: <e291c835-6376-7639-1141-f2741742f1be@codesourcery.com> (raw)
In-Reply-To: <251870a9-85e8-b69b-2f94-841f7548c3ba@ubuntu.com>

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

On 28.04.21 16:13, Matthias Klose wrote:

> On 4/27/21 12:22 PM, Tobias Burnus wrote:
>> Hence, the distro behaviour is only active when configured with
>> --enable-offload-defaulted.
> please document that option in gcc/doc/install.texi.

Like attached? Or do you have some other wording suggestions?

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf

[-- Attachment #2: install-texi.diff --]
[-- Type: text/x-patch, Size: 977 bytes --]

doc/install.texi: Document --enable-offload-defaulted config option

Document configure --enable-offload-defaulted option added in
commit r12-218-gfe5bfa6704179f8db7d1ae0b485439e9896df8eb

gcc/ChangeLog:

        * doc/install.texi (--enable-offload-defaulted): Document.

diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 4c38244ae58..e5e26571eb1 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2239,6 +2239,12 @@ specifying paths @var{path1}, @dots{}, @var{pathN}.
     --enable-offload-targets=x86_64-intelmicemul-linux-gnu=/path/to/x86_64/compiler,nvptx-none
 @end smallexample
 
+@item --enable-offload-defaulted
+
+Tell GCC that configured but not installed offload compilers and libgomp
+plugins are silently ignored.  Useful for distribution compilers where
+those are in separate optional packages.
+
 @item --with-hsa-runtime=@var{pathname}
 @itemx --with-hsa-runtime-include=@var{pathname}
 @itemx --with-hsa-runtime-lib=@var{pathname}

  reply	other threads:[~2021-04-28 16:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 10:22 Tobias Burnus
2021-04-28 14:05 ` Jakub Jelinek
2021-04-28 14:13 ` Matthias Klose
2021-04-28 16:56   ` Tobias Burnus [this message]
2021-04-28 16:59     ` Matthias Klose
2021-04-28 17:02     ` Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e291c835-6376-7639-1141-f2741742f1be@codesourcery.com \
    --to=tobias@codesourcery.com \
    --cc=doko@ubuntu.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=rguenther@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).