manupa-arm commented on a change in pull request #7002:
URL: https://github.com/apache/tvm/pull/7002#discussion_r546094897



##########
File path: python/tvm/micro/build.py
##########
@@ -74,8 +74,8 @@ def path(self):
 
 _CRT_DEFAULT_OPTIONS = {
     "cflags": ["-std=c11"] + _COMMON_CFLAGS,
-    "ccflags": ["-std=c++11"] + _COMMON_CFLAGS,
-    "ldflags": ["-std=c++11"],
+    "ccflags": ["-std=gnu++11"] + _COMMON_CFLAGS,
+    "ldflags": ["-std=gnu++11"],

Review comment:
       Reverted them back to c++11 and made export library save the runtime 
modules to .c instead .cc

##########
File path: python/tvm/micro/build.py
##########
@@ -74,8 +74,8 @@ def path(self):
 
 _CRT_DEFAULT_OPTIONS = {
     "cflags": ["-std=c11"] + _COMMON_CFLAGS,
-    "ccflags": ["-std=c++11"] + _COMMON_CFLAGS,
-    "ldflags": ["-std=c++11"],
+    "ccflags": ["-std=gnu++11"] + _COMMON_CFLAGS,
+    "ldflags": ["-std=gnu++11"],

Review comment:
       Reverted them back to c++11 and made export library save the runtime 
modules to .c instead of .cc




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

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


Reply via email to