Brian Silverman | 7c33ab2 | 2018-08-04 17:14:51 -0700 | [diff] [blame^] | 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 | |
| 9 | import boost ; |
| 10 | import os ; |
| 11 | |
| 12 | boost.use-project ; |
| 13 | |
| 14 | |
| 15 | # change these lines to fit you configuration |
| 16 | local HOME = [ os.environ HOME ] ; |
| 17 | local VEXCL_INCLUDE = [ os.environ VEXCL_ROOT ] ; |
| 18 | OPENCL_INCLUDE = /usr/local/cuda/include ; |
| 19 | |
| 20 | |
| 21 | |
| 22 | lib opencl : : <name>OpenCL ; |
| 23 | |
| 24 | project : 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 | |
| 32 | exe lorenz_ensemble : lorenz_ensemble.cpp opencl ; |