Brian Silverman | 7c33ab2 | 2018-08-04 17:14:51 -0700 | [diff] [blame^] | 1 | # Copyright 2012 Karsten Ahnert |
| 2 | # Copyright 2012 Mario Mulansky |
| 3 | # Distributed under the Boost Software License, Version 1.0. |
| 4 | # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | # bring in rules for testing |
| 7 | |
| 8 | import testing ; |
| 9 | use-project boost : $(BOOST_ROOT) ; |
| 10 | |
| 11 | project |
| 12 | : requirements |
| 13 | <library>/boost/test//boost_unit_test_framework |
| 14 | ; |
| 15 | |
| 16 | |
| 17 | lib libmkl : : <name>mkl_intel_lp64 <link>shared ; |
| 18 | lib libmkl_core : : <name>mkl_core <link>shared ; |
| 19 | lib libmkl_intel_thread : : <name>mkl_intel_thread ; |
| 20 | lib libiomp5 : : <name>iomp5 ; |
| 21 | lib libpthread : : <name>pthread ; |
| 22 | |
| 23 | test-suite "mkl" |
| 24 | : |
| 25 | [ run check_mkl.cpp libpthread libiomp5 libmkl_core libmkl_intel_thread libmkl |
| 26 | : |
| 27 | : |
| 28 | : <link>shared:<define>BOOST_TEST_DYN_LINK=1 |
| 29 | ] |
| 30 | ; |