Lunderberg commented on pull request #8520:
URL: https://github.com/apache/tvm/pull/8520#issuecomment-885183219


   > Not in the scope of this PR, I am thinking if we should add a cmake target 
for each subfolder like `src/runtime`, `src/tir`, `src/relay` and each target 
could have their own precompiled header, unity build, etc.
   
   I think that would make a lot of sense.  I could also imagine having a debug 
option for each target to generate a separate shared library.  At least one my 
computer, linking the final `libtvm.so` is what takes the majority of the total 
time if I've only changed a few files.  Having a single distributable file is 
good for deployment, but having a debug `libtvm.so` that itself points to a 
dozen smaller libraries would be much faster for incremental testing.


-- 
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