llvm-project
0c21d6b4 - [libclc] Fix commands in compile_to_bc are executed sequentially (#130755)

Commit
282 days ago
[libclc] Fix commands in compile_to_bc are executed sequentially (#130755) In libclc, we observe that compiling OpenCL source files to bitcode is executed sequentially on Windows, which increases debug build time by about an hour. add_custom_command may introduce additional implicit dependencies, see https://gitlab.kitware.com/cmake/cmake/-/issues/17097 This PR adds a target for each command, enabling parallel builds of OpenCL source files. CMake 3.27 has fixed above issue with DEPENDS_EXPLICIT_ONLY. When LLVM upgrades cmake vertion to 3.7, we can switch to DEPENDS_EXPLICIT_ONLY.
Author
Parents
Loading