Boost logo

Boost :

Subject: Re: [boost] [build][compute] Various libraries regression tests missing after change in Compute
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-03-29 21:25:49


AMDG

On 03/29/2017 03:07 PM, Adam Wulkiewicz via Boost wrote:
> Steven Watanabe Via Boost wrote:
>>
>> Changing 'compile' to use an 'obj' target instead should
>> fix it. There's a bug with --dump-tests when a test
>> target is used in a configure check. (Note that since
>> this test probably shouldn't be reported in the regression
>> output, using compile is not correct in the first place.)
>
> To make sure I understand you correctly are you suggesting replacing
> `compile` rule with `exe` rule?
> So change:
> compile check/has_opencl.cpp : : has_opencl ;
> into
> exe has_opencl : check/has_opencl.cpp ;
> which works, btw.
>

I suggested obj, not exe (there's no need to link), but that works to.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk