Properly set ld_library_path in cilk-plus tests
* gcc.dg/cilk-plus/cilk-plus.exp: Append to ld_library_path. Call set_ld_library_path_env_vars. * g++.dg/cilk-plus/cilk-plus.exp: Likewise. From-SVN: r205441
This commit is contained in:
parent
241b71bb88
commit
a7d4a96bf7
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-11-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* gcc.dg/cilk-plus/cilk-plus.exp: Append to ld_library_path.
|
||||
Call set_ld_library_path_env_vars.
|
||||
* g++.dg/cilk-plus/cilk-plus.exp: Likewise.
|
||||
|
||||
2013-11-27 Tom de Vries <tom@codesourcery.com>
|
||||
Marc Glisse <marc.glisse@inria.fr>
|
||||
|
||||
|
|
|
@ -31,7 +31,8 @@ dg-finish
|
|||
|
||||
set library_var [get_multilibs]
|
||||
# Pointing the ld_library_path to the Cilk Runtime library binaries.
|
||||
set ld_library_path "${library_var}/libcilkrts/.libs"
|
||||
append ld_library_path ":${library_var}/libcilkrts/.libs"
|
||||
set_ld_library_path_env_vars
|
||||
|
||||
global TEST_EXTRA_LIBS
|
||||
set TEST_EXTRA_LIBS "-L${library_var}/libcilkrts/.libs"
|
||||
|
|
|
@ -26,7 +26,8 @@ if { ![check_effective_target_cilkplus] } {
|
|||
|
||||
set library_var [get_multilibs]
|
||||
# Pointing the ld_library_path to the Cilk Runtime library binaries.
|
||||
set ld_library_path "${library_var}/libcilkrts/.libs"
|
||||
append ld_library_path ":${library_var}/libcilkrts/.libs"
|
||||
set_ld_library_path_env_vars
|
||||
|
||||
global TEST_EXTRA_LIBS
|
||||
set TEST_EXTRA_LIBS "-L${library_var}/libcilkrts/.libs"
|
||||
|
|
Loading…
Add table
Reference in a new issue