libgomp: Fix "intelmic" offloading in build-tree testing.
libgomp/ * testsuite/lib/libgomp.exp (libgomp_init): Correctly match "intelmic" in $offload_targets. From-SVN: r219348
This commit is contained in:
parent
247ecdf3b8
commit
f9a0eca40d
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* testsuite/lib/libgomp.exp (libgomp_init): Correctly match
|
||||
"intelmic" in $offload_targets.
|
||||
|
||||
2015-01-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
|
|
@ -115,8 +115,7 @@ proc libgomp_init { args } {
|
|||
|
||||
# Add liboffloadmic build directory in LD_LIBRARY_PATH to support
|
||||
# non-fallback testing for Intel MIC targets
|
||||
if { [string match "*-intelmic-*" $offload_targets]
|
||||
|| [string match "*-intelmicemul-*" $offload_targets] } {
|
||||
if { [string match "*,intelmic,*" ",$offload_targets,"] } {
|
||||
append always_ld_library_path ":${blddir}/../liboffloadmic/.libs"
|
||||
append always_ld_library_path ":${blddir}/../liboffloadmic/plugin/.libs"
|
||||
# libstdc++ is required by liboffloadmic
|
||||
|
|
Loading…
Add table
Reference in a new issue