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.
> that this has been
> attempted before. Noel Belcourt even references a cuda.jam in a recent post
> ( 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

Emil Dotchevski
Reverge Studios, Inc.

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at