tkonolige opened a new pull request #9611:
URL: https://github.com/apache/tvm/pull/9611


   Before this commit, newly added or removed source files were not detected by 
cmake. This manifested either as file not found errors from the compiler (when 
files were deleted) or packedfuncs not being found (when files were added). 
This commit uses the CONFIGURE_DEPENDS option of cmake's `file(GLOB)` function 
to ask the build system to check for new files on every rebuild. Checking for 
new files adds a slight but negligible overhead to each build, but is better 
than unexpected errors.
   
   Note that the cmake documentation recommends avoiding CONFIGURE_DEPENDS in 
favor of manually listing all files. This approach has been proposed in the 
past, but the community did not want to do it.
   
   @electriclilies @junrushao1994 @areusch @jroesch @tqchen @leandron 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to