33 lines
859 B
Plaintext
33 lines
859 B
Plaintext
# Copyright 2012 Karsten Ahnert
|
|
# Copyright 2012 Mario Mulansky
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import os ;
|
|
import modules ;
|
|
import path ;
|
|
|
|
project
|
|
: requirements
|
|
<define>BOOST_ALL_NO_LIB=1
|
|
<include>../../../..
|
|
<cxxflags>-std=c++11
|
|
<toolset>gcc:<cxxflags>-ffast-math
|
|
<toolset>intel:<cxxflags>"-fast -inline-forceinline"
|
|
: default-build release
|
|
;
|
|
|
|
|
|
lib libgsl : : <name>gsl ;
|
|
lib libgslcblas : : <name>gslcblas ;
|
|
|
|
lib libmkl : : <name>mkl_intel_lp64 <link>shared ;
|
|
lib libmkl_core : : <name>mkl_core <link>shared ;
|
|
lib libmkl_intel_thread : : <name>mkl_intel_thread ;
|
|
lib libiomp5 : : <name>iomp5 ;
|
|
lib libpthread : : <name>pthread ;
|
|
|
|
exe odeint_rk4_array
|
|
: odeint_rk4_array.cpp
|
|
;
|