]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp HSA/GCN plugins: don't prepend the 'HSA_RUNTIME_LIB' path to 'libhsa-runtime6...
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 25 Jun 2020 09:59:42 +0000 (11:59 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 25 Mar 2021 13:21:25 +0000 (14:21 +0100)
commit312ed310cf68c6f28ecba0b439cfa7252d0d213b
tree63cb720081f01de5e28ab4d37cc3d1af730558d8
parentc89b23b73edeeb7e3d8cbad278e505c2d6d770c4
libgomp HSA/GCN plugins: don't prepend the 'HSA_RUNTIME_LIB' path to 'libhsa-runtime64.so'

For unknown reasons, this had gotten added for the libgomp HSA plugin in commit
b8d89b03db5f212919e4571671ebb4f5f8b1e19d (r242749) "Remove build dependence on
HSA run-time", and later propagated into the GCN plugin.

libgomp/
* plugin/plugin-hsa.c (init_enviroment_variables): Don't prepend
the 'HSA_RUNTIME_LIB' path to 'libhsa-runtime64.so'.
* plugin/plugin-gcn.c (init_environment_variables): Likewise.
* plugin/configfrag.ac (HSA_RUNTIME_LIB): Clean up.
* config.h.in: Regenerate.
* configure: Likewise.

(cherry picked from commit 7c1e856bedb4ae190c420ec2d2ca5e08730cf21d)
libgomp/ChangeLog.omp
libgomp/config.h.in
libgomp/configure
libgomp/plugin/configfrag.ac
libgomp/plugin/plugin-gcn.c
libgomp/plugin/plugin-hsa.c