From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 44B17394480C; Wed, 28 Apr 2021 19:38:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44B17394480C MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Tobias Burnus To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-227] doc/install.texi: Document --enable-offload-defaulted config option X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/master X-Git-Oldrev: 3ba781d3b5c8efadb60866c9743b657e8f0eb222 X-Git-Newrev: 4c84c45d8ab5ef55aabef18da17244dc13170f9c Message-Id: <20210428193830.44B17394480C@sourceware.org> Date: Wed, 28 Apr 2021 19:38:30 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2021 19:38:30 -0000 https://gcc.gnu.org/g:4c84c45d8ab5ef55aabef18da17244dc13170f9c commit r12-227-g4c84c45d8ab5ef55aabef18da17244dc13170f9c Author: Tobias Burnus Date: Wed Apr 28 21:15:16 2021 +0200 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: --- gcc/doc/install.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 4c38244ae58..d2cab15d9fd 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2239,6 +2239,14 @@ 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 and where the presence or absence +of those optional packages should determine the actual supported offloading +target set rather than the GCC configure-time selection. + @item --with-hsa-runtime=@var{pathname} @itemx --with-hsa-runtime-include=@var{pathname} @itemx --with-hsa-runtime-lib=@var{pathname}