imay commented on a change in pull request #2660: [Build]Make set target arch
universal
URL: https://github.com/apache/incubator-doris/pull/2660#discussion_r363171185
##########
File path: be/CMakeLists.txt
##########
@@ -40,7 +40,7 @@ string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
message(STATUS "Build type is ${CMAKE_BUILD_TYPE}")
# set CMAKE_BUILD_TARGET_ARCH
-execute_process(COMMAND bash "-c" "lscpu | grep 'Architecture' | awk '{print
$2}'"
+execute_process(COMMAND bash "-c" "uname -m"
Review comment:
Better to leave a comment to describe the origin method's problem
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]