Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using extension modules
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-10-30 04:16:50


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


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