From: Thomas Schwinge Date: Thu, 8 Jan 2015 16:01:24 +0000 (+0100) Subject: libgomp: Fix "intelmic" offloading in build-tree testing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9a0eca40d0bacce52cf56998d79ca0d02345355;p=gcc.git libgomp: Fix "intelmic" offloading in build-tree testing. libgomp/ * testsuite/lib/libgomp.exp (libgomp_init): Correctly match "intelmic" in $offload_targets. From-SVN: r219348 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index afbde87a6b0..beecba9f667 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2015-01-08 Thomas Schwinge + + * testsuite/lib/libgomp.exp (libgomp_init): Correctly match + "intelmic" in $offload_targets. + 2015-01-05 Jakub Jelinek Update copyright years. diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index ff22f106bc5..2d6f822adf9 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -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