Commit adffea1e by Tobias Burnus Committed by Tobias Burnus

revert: cilk-plus.exp: Add the libcilkrts library path to the compile flags.

2013-10-30  Tobias Burnus  <burnus@net-b.de>

        Revert:
        2013-10-30  Tobias Burnus  <burnus@net-b.de>
        * gcc.dg/cilk-plus/cilk-plus.exp: Add the libcilkrts library
        path to the compile flags.

From-SVN: r204230
parent 8f24613d
2013-10-30 Tobias Burnus <burnus@net-b.de>
Revert:
2013-10-30 Tobias Burnus <burnus@net-b.de>
* gcc.dg/cilk-plus/cilk-plus.exp: Add the libcilkrts library
path to the compile flags.
2013-10-30 Cong Hou <congh@google.com>
* gcc.target/i386/vect-abs-s8.c: New test.
......
......@@ -26,24 +26,7 @@ if { ![check_effective_target_cilkplus] } {
verbose "$tool $libdir" 1
set library_var [get_multilibs]
# Pointing the ld_library_path to the Cilk Runtime library binaries.
if { $gccpath != "" } {
if { [file exists "${gccpath}/libcilkrts/.libs/libcilkrts.a"]
|| [file exists "${gccpath}/libcilkrts/.libs/libcilkrts.${shlib_ext}"] } {
append flags " -B${gccpath}/libcilkrts/ "
append flags " -L${gccpath}/libcilkrts/.libs "
append ld_library_path ":${gccpath}/libcilkrts/.libs"
}
} else {
global tool_root_dir
set libcilkrts [lookfor_file ${tool_root_dir} libcilkrts]
if { $libcilkrts != "" } {
append flags "-L${libcilkrts} "
append ld_library_path ":${libcilkrts}"
}
}
set_ld_library_path_env_vars
set ld_library_path "${library_var}/libcilkrts/.libs"
dg-init
dg-runtest [lsort [glob -nocomplain $srcdir/c-c++-common/cilk-plus/AN/*.c]] " -fcilkplus" " "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment