doc/install.texi: Document --enable-offload-defaulted config option
authorTobias Burnus <tobias@codesourcery.com>
Wed, 28 Apr 2021 19:15:16 +0000 (21:15 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 28 Apr 2021 19:15:16 +0000 (21:15 +0200)
Document configure --enable-offload-defaulted option added in
commit r12-218-gfe5bfa6704179f8db7d1ae0b485439e9896df8eb

gcc/ChangeLog:

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

gcc/doc/install.texi

index 4c38244ae5899258c920615de966819cc95646bf..d2cab15d9fd5436103e4585f864a81d4d17679a6 100644 (file)
@@ -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}