csullivan commented on code in PR #13138:
URL: https://github.com/apache/tvm/pull/13138#discussion_r999921614
##########
cmake/modules/Hexagon.cmake:
##########
@@ -182,6 +182,36 @@ if(BUILD_FOR_HEXAGON)
"${TVMRT_SOURCE_DIR}/hexagon/ops/conv2d_fp16_hvx.cc"
PROPERTIES COMPILE_FLAGS "-mhvx"
)
+
+ # Include hexagon external library runtime sources
+ if(DEFINED USE_HEXAGON_EXTERNAL_LIBS)
+ if (EXISTS ${USE_HEXAGON_EXTERNAL_LIBS})
Review Comment:
I should clear this up with a comment, thank you. EXISTS here is checking to
see if USE_HEXAGON_EXTERNAL_LIBS is a path that is resolvable on the system. If
it is a local path then it will use the path to the local install of external
libs. EXISTS will return false when it's not a path, e.g. if it is a git url or
malformed.
--
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]