Re: adding custom modules
Steven Watanabe via Boost-build <[email protected]>
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Organization | Providere Consulting, Inc. |
| Message-ID | <[email protected]> |
AMDG On 05/13/2018 10:35 AM, Stefan Seefeld via Boost-build wrote: > On 2018-05-06 10:49 PM, Stefan Seefeld wrote: >> I'm still a bit confused about the exact semantics of the "using" and >> "import" directives. So now I'm using >> ``` >> import clblas ; >> using clblas ; >> ``` >> In a Jamfile, with a `clblas.jam` file in the same directory, which >> works fine. Now the next step: I want to define `clblas` similar to >> other third-party libraries, such that I can invoke `using clblas ...` >> with some appropriate paths from my `user-config.jam` file, to set the >> environment on the build machine. But AFAIU, `user-config.jam` is read >> in before any local (project-specific) Jamfiles are read. So where >> would I have to put the `clblas.jam` file for `user-config.jam` to >> find it ? > > Ping ? > Sorry for the delay. I was at C++Now last week. You need to add the path to clblas.jam to $BOOST_BUILD_PATH somehow. I know that this is a problem, but I don't have a good solution. It might be possible for me to make `using` lazy somehow, but the resulting non-deterministic initialization order is likely to cause surprises. In Christ, Steven Watanabe _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build