]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/compute/test/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / compute / test / Jamfile.v2
index 16d695668165310c29663199cd39e775002c2109..f1a6bfe5dbae16c9b93491fdb8b3753e69ebc432 100644 (file)
@@ -6,6 +6,9 @@ import testing ;
 
 lib boost_unit_test_framework ;
 
+obj has_opencl : check/has_opencl.cpp ;
+explicit has_opencl ;
+
 project
     : source-location .
     : requirements
@@ -19,6 +22,8 @@ project
         <toolset>msvc:<cxxflags>/wd4800 # Warning C4800: 'uint32_t' : forcing value to bool 'true' or 'false' (performance warning)
         <toolset>msvc:<cxxflags>/wd4838 # Warning C4838: conversion from 'double' to 'float' requires a narrowing conversion
         <library>/boost/test//boost_unit_test_framework
+
+        [ check-target-builds has_opencl "OpenCL" : : <build>no ]
     ;
 
 rule test_all