odeint/performance/Jamfile.v2
René Ferdinand Rivera Morell 00381ec23f
Add support for modular build structure. (#88)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Update library dependencies.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Move inter-lib dependencies to a project variable and into the build targets.

* Switch to /boost/test//included target for header only mode of Boost.Test.

* Update build deps.

* Change math dep real target math/tr1.
2024-08-19 10:27:34 -04:00

34 lines
888 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
<library>/boost/odeint//boost_odeint
<define>BOOST_ALL_NO_LIB=1
<cxxstd>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
/boost/timer//boost_timer
;