szaszm commented on code in PR #1624:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1624#discussion_r1293468589
##########
linux.sh:
##########
@@ -19,3 +19,30 @@ verify_gcc_enable(){
#feature="$1"
[ "$COMPILER_MAJOR" -ge 11 ] && echo true || echo false
}
+
+install_cmake_from_binary() {
+ CMAKE_VERSION="3.24.4"
+ CMAKE_URL="https://cmake.org/files/v3.24/cmake-3.24.4-linux-x86_64.tar.gz"
+
EXPECTED_SHA256="cac77d28fb8668c179ac02c283b058aeb846fe2133a57d40b503711281ed9f19"
+
+ TMP_DIR=$(mktemp -d)
+
+ install_pkgs wget
+ wget -P "$TMP_DIR" "$CMAKE_URL"
+
+ ACTUAL_SHA256=$(sha256sum
"$TMP_DIR/cmake-$CMAKE_VERSION-linux-x86_64.tar.gz" | awk '{print $1}')
Review Comment:
sorry for the bad snippet: I didn't check the output of `sha256sum`, just
wrote it by memory, which was wrong
--
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]