Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using extension modules
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2018-10-30 03:51:29


On 10/29/18 7:57 PM, Steven Watanabe via Boost-build wrote:
> AMDG
>
> On 10/29/2018 08:46 AM, Stefan Seefeld via Boost-build wrote:
>> I just merged some GSoC work into Boost.uBLAS. This contains two
>> Boost.Build "extension modules" ("opencl.jam" and "clblas.jam"), which
>> are used in Jamfiles ("using clblas ;", for example in
>> https://github.com/boostorg/ublas/blob/develop/test/opencl/Jamfile).
>>
>> What is the proper way to
>>
>> * point `b2` to  find these modules ? (I can of course set
>> BOOST_BUILD_PATH, but I find that not very scalable. Should I ask all
>> Boost users & testers to do that ? Isn't there a way to set this
>> programmatically, from within the project's Jamfile ?)
>>
> using path/to/clblas ;
> should work in the Jamfile.

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 ?

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