Skip to content

Commit

Permalink
[MINOR][BUILD] Extract gcc version from libgluten.so
Browse files Browse the repository at this point in the history
  • Loading branch information
wecharyu committed Sep 10, 2024
1 parent 3edc207 commit 537ab54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/gluten-build-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=$(readelf -p .comment $GLUTEN_ROOT/cpp/build/releases/libgluten.so | grep GCC | head -n 1 | sed -n 's/.*\(GCC.*\)/\1/p')
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)
Expand Down

0 comments on commit 537ab54

Please sign in to comment.