
27 Aug
2024
27 Aug
'24
2:14 a.m.
вт, 27 авг. 2024 г. в 00:46, Alexander Grund via Boost <boost@lists.boost.org>:
Some time ago I suggested that b2 supports compiling binaries but not running them. Not sure if this was implemented by now.
If you mean, disable running all or some tests, then there's testing.execute feature. To disable running all tests (e.g. when cross-compiling) you'd do b2 testing.execute=off To disable running a specific test in a specific situation you'd put in a jamfile something like run mytest.cpp : requirements <target-os>windows:<testing.execute>off ; But regardless of that, as far as I can see, using Boost.Compute requires OpenCL to be present.