PHILO-HE commented on code in PR #10638:
URL:
https://github.com/apache/incubator-gluten/pull/10638#discussion_r2331863975
##########
dev/build_helper_functions.sh:
##########
@@ -137,6 +137,11 @@ function cmake_install {
"$@"
cmake --build "${BINARY_DIR}"
+ if [ -z "${SUDO}" ]; then
+ if command -v sudo >/dev/null 2>&1 && sudo -n true 2>/dev/null; then
+ SUDO="sudo"
Review Comment:
@beliefer, I suggest to just fix this line, and let users explicitly set the
environment variable if they meet such permission issue.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]