ashutosh-arm commented on code in PR #13656:
URL: https://github.com/apache/tvm/pull/13656#discussion_r1064872232
##########
tests/python/relay/aot/corstone300.mk:
##########
@@ -48,6 +48,11 @@ CC = arm-none-eabi-gcc
AR = arm-none-eabi-ar
RANLIB = arm-none-eabi-ranlib
CC_OPTS = CC=$(CC) AR=$(AR) RANLIB=$(RANLIB)
+ifeq ($(shell [ -d ${CMSIS_PATH}/CMSIS-NN ]; echo $$?), 0)
+ CMSIS_NN_PATH = ${CMSIS_PATH}/CMSIS-NN
+else
+ CMSIS_NN_PATH = ${CMSIS_PATH}/CMSIS/NN
+endif
Review Comment:
doesn't simply looking for the directory work `if [ -d "
${CMSIS_PATH}/CMSIS-NN" ]; ` for simplicity - just curious?
--
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]