Re: Using extension modules

Steven Watanabe via Boost-build <[email protected]> Mon, 29 Oct 2018 22:16:50 -0600
Newsgroups gmane.comp.lib.boost.build
Organization Providere Consulting, Inc.
Message-ID <[email protected]>
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.)

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

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build