Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using extension modules
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2018-10-30 04:24:41


On 10/30/18 12:16 AM, Steven Watanabe via Boost-build wrote:
> AMDG
>
> On 10/29/2018 09:51 PM, Stefan Seefeld via Boost-build wrote:
>> I tried
>>
>> ```
>> using ../../opencl ;
>> using ../../clblas ;
>>
>> ```
>>
>> in test/opencl/Jamfile, which results in the error
>>
>> ERROR: rule "../../opencl.init" unknown in module "toolset".
>>
>> What am I doing wrong ?
>>
> Oh, I see. It probably should work, but doesn't.
> (`using` fails to strip off the path component when
> calculating the module name.)

OK. Should I file a bug report for this ?

>
> Try this as a workaround:
> import ../../opencl ;
> using opencl ;

That works, thanks !

Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...
    



signature.png

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk