odeint/test_external/mkl/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

30 lines
774 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)
# bring in rules for testing
import testing ;
project
: requirements
<library>/boost/test//boost_unit_test_framework
;
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 ;
test-suite "mkl"
:
[ run check_mkl.cpp libpthread libiomp5 libmkl_core libmkl_intel_thread libmkl
:
:
: <link>shared:<define>BOOST_TEST_DYN_LINK=1
]
;