This is an automated email from the ASF dual-hosted git repository.
philo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 9997927316 [MINOR][BUILD] Extract gcc version from libgluten.so (#7189)
9997927316 is described below
commit 9997927316db3fcc346ba16ac00b073f16dc0b81
Author: Wechar Yu <[email protected]>
AuthorDate: Wed Sep 11 15:48:47 2024 +0800
[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 5a33eb06a9..e3cc4539d0 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]