Boost logo

Boost-Build :

Subject: Re: [Boost-build] cuda.jam
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-12-01 14:10:56


On Tue, Dec 1, 2009 at 1:56 AM, Pete Bartlett <pcbartlett_at_[hidden]> wrote:
> Hello Boost.Builders,
>
> I am interested in integrating nvidia cuda compilation into our Boost.Build
> system. I see from a previous posts (e.g.
> http://lists.boost.org/boost-build/2008/07/19741.php) that this has been
> attempted before. Noel Belcourt even references a cuda.jam in a recent post
> (http://lists.boost.org/boost-build/2009/11/22687.php). I imagine this
> cuda.jam defines a cuda toolset - however I don't believe it is in a release
> of Boost. Is there a copy of that toolset file that can be made publicly
> available? Or if not, does  anyone have any tips for creating my own?

I don't know bjam well enough to write a proper nvcc.jam file but I
managed to hack my way to something working, see attachment. There are
some hardcoded paths that you'll have to change, plus I find myself
occasionally editing the jam file to tweak the nvcc options --
obviously it'd be much better if they can be changed directly from the
Jamfiles.

HTH,
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode




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