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 a46efa0 commit abd38a8Copy full SHA for abd38a8
libdevice/cmake/modules/SYCLLibdevice.cmake
@@ -300,7 +300,8 @@ add_custom_target(imf_fp32_host_obj DEPENDS ${obj_binary_dir}/imf-fp32-host.${li
300
add_custom_target(imf_fp64_host_obj DEPENDS ${obj_binary_dir}/imf-fp64-host.${lib-suffix})
301
add_custom_target(imf_bf16_host_obj DEPENDS ${obj_binary_dir}/imf-bf16-host.${lib-suffix})
302
303
-add_custom_target(imf_host_obj
+add_custom_target(imf_host_obj DEPENDS ${obj_binary_dir}/${devicelib_host_static})
304
+add_custom_command(OUTPUT ${obj_binary_dir}/${devicelib_host_static}
305
COMMAND ${llvm-ar} rcs ${obj_binary_dir}/${devicelib_host_static}
306
${obj_binary_dir}/imf-fp32-host.${lib-suffix}
307
${obj_binary_dir}/fallback-imf-fp32-host.${lib-suffix}
0 commit comments