Skip to content

Commit

Permalink
Remove git path and rename libcudf_path
Browse files Browse the repository at this point in the history
Signed-off-by: Partho Sarthi <psarth@nvidia.com>
  • Loading branch information
parthosa committed Mar 6, 2024
1 parent 82cfc38 commit 176c5d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/build-info
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
# Arguments:
# version - The current version of the project
# git_path - The path to the repository
# library_path - The path to the libcudf library
# libcudf_path - The path to the libcudf library
set -e

echo_build_properties() {
version=$1
git_path=$2
library_path=$3
libcudf_path=$3
shift 3
echo version=$version
echo user=$USER
echo revision=$(cd "$git_path" && git rev-parse HEAD)
echo branch=$(cd "$git_path" && git rev-parse --abbrev-ref HEAD)
echo date=$(date -u +%Y-%m-%dT%H:%M:%SZ)
echo url=$(cd "$git_path" && git config --get remote.origin.url)
echo gpu_architectures=$(cd "$git_path" && cuobjdump "$library_path" 2>/dev/null | grep 'arch = ' | awk -F_ '{print $2}' | sort -n -u | tr '\n' ';')
echo gpu_architectures=$(cuobjdump "$libcudf_path" 2>/dev/null | grep 'arch = ' | awk -F_ '{print $2}' | sort -n -u | tr '\n' ';')
for arg in "$@"; do
echo $arg
done
Expand Down

0 comments on commit 176c5d6

Please sign in to comment.