Re: Using extension modules

Stefan Seefeld via Boost-build <[email protected]> Tue, 30 Oct 2018 00:24:41 -0400
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
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...

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build