From d7f698724f0e091cef6b5aea9cce933b7b519157 Mon Sep 17 00:00:00 2001 From: Wechar Yu Date: Wed, 11 Sep 2024 15:48:47 +0800 Subject: [PATCH] [MINOR][BUILD] Extract gcc version from libgluten.so (#7189) --- dev/gluten-build-info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/gluten-build-info.sh b/dev/gluten-build-info.sh index 5a33eb06a935..e3cc4539d00c 100755 --- a/dev/gluten-build-info.sh +++ b/dev/gluten-build-info.sh @@ -39,7 +39,7 @@ echo_build_properties() { echo url=$(git config --get remote.origin.url) if [ "$BACKEND_TYPE" = "velox" ]; then - echo gcc_version=$(gcc --version | head -n 1) + echo gcc_version=$(strings $GLUTEN_ROOT/cpp/build/releases/libgluten.so | grep "GCC:" | head -n 1) echo velox_branch=$(git -C $BACKEND_HOME rev-parse --abbrev-ref HEAD) echo velox_revision=$(git -C $BACKEND_HOME rev-parse HEAD) echo velox_revision_time=$(git -C $BACKEND_HOME show -s --format=%ci HEAD)