]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp GCN plugin: Clean up unused references to system-provided HSA Runtime library
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 6 Apr 2022 09:31:45 +0000 (11:31 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 11 May 2022 12:24:55 +0000 (14:24 +0200)
commitd6adba307508c75f1ccb2121eb1a43c9ab1d4056
tree8c40961cd8a27ab0afeac6bd150d542b5603fd54
parent2e309a4eff80e55b53d32d26926a2a94eabfea21
libgomp GCN plugin: Clean up unused references to system-provided HSA Runtime library

This is only active if GCC is 'configure'd with '--with-hsa-runtime=[...]' or
'--with-hsa-runtime-include=[...]', '--with-hsa-runtime-lib=[...]' -- which
nobody really is doing, as far as I can tell.

Originally changed for the libgomp HSA plugin in
commit b8d89b03db5f212919e4571671ebb4f5f8b1e19d (r242749)
"Remove build dependence on HSA run-time", and later propagated into the GCN
plugin, these are no longer built against system-provided HSA Runtime library.
Instead, unconditionally built against the GCC-shipped 'include/hsa*.h' header
files, and at run time does 'dlopen("libhsa-runtime64.so.1")'.  It thus doesn't
make sense to consider references to system-provided HSA Runtime library during
libgomp GCN plugin build.

libgomp/
* plugin/configfrag.ac (HSA_RUNTIME_CPPFLAGS)
(HSA_RUNTIME_LDFLAGS): Remove.
* configure: Regenerate.
libgomp/configure
libgomp/plugin/configfrag.ac