1# Copyright 2012 Karsten Ahnert 2# Copyright 2013 Mario Mulansky 3# 4# Distributed under the Boost Software License, Version 1.0. 5# (See accompanying file LICENSE_1_0.txt or 6# copy at http://www.boost.org/LICENSE_1_0.txt) 7 8 9import boost ; 10import os ; 11 12boost.use-project ; 13 14 15# change these lines to fit you configuration 16local HOME = [ os.environ HOME ] ; 17local VEXCL_INCLUDE = [ os.environ VEXCL_ROOT ] ; 18OPENCL_INCLUDE = /usr/local/cuda/include ; 19 20 21 22lib opencl : : <name>OpenCL ; 23 24project : requirements 25 <implicit-dependency>/boost//headers 26 <include>$(VEXCL_INCLUDE) 27 <include>$(OPENCL_INCLUDE) 28 <toolset>gcc:<cxxflags>-std=c++0x 29 <library>/boost//system/ 30 ; 31 32exe lorenz_ensemble : lorenz_ensemble.cpp opencl ;