We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa80bf commit ccc0c27Copy full SHA for ccc0c27
sycl/CMakeLists.txt
@@ -221,6 +221,13 @@ add_custom_target( sycl-toolchain
221
COMMENT "Building SYCL compiler toolchain..."
222
)
223
224
+# Check if opencl-aot tool is enabled.
225
+list(FIND LLVM_ENABLE_PROJECTS opencl-aot OPENCL_AOT_FOUND)
226
+if(NOT OPENCL_AOT_FOUND EQUAL -1)
227
+ add_dependencies(sycl-toolchain opencl-aot)
228
+ list(APPEND SYCL_TOOLCHAIN_DEPLOY_COMPONENTS opencl-aot)
229
+endif()
230
+
231
if (SYCL_ENABLE_XPTI_TRACING)
232
add_dependencies( sycl-toolchain xpti)
233
if (MSVC)
0 commit comments