This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] Fix g++.dg/cilk-plus/cilk-plus.exp


Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>>
>>> diff --git a/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp b/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp
>>> --- a/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp
>>> +++ b/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp
>>> @@ -25,10 +25,11 @@ 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.
>>> -set ld_library_path "$[get_multilibs]/libcilkrts/.libs"
>>> +append ld_library_path ":${library_var}/libcilkrts/.libs"
>>> +set_ld_library_path_env_vars
>>>  
>>> -set ALWAYS_CFLAGS ""
>>> -lappend ALWAYS_CFLAGS "-L${library_var}/libcilkrts/.libs"
>>> +global TEST_EXTRA_LIBS
>>> +set TEST_EXTRA_LIBS "-L${library_var}/libcilkrts/.libs"
>>
>> There is no point in doing this twice.
>
> What are you talking about?

Look down the file.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]