diff --git a/build/build-info b/build/build-info index ff3836ff89..bc17cf3983 100755 --- a/build/build-info +++ b/build/build-info @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,18 +20,21 @@ # Arguments: # version - The current version of the project # git_path - The path to the repository +# libcudf_path - The path to the libcudf library set -e echo_build_properties() { version=$1 git_path=$2 - shift 2 + 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=$(cuobjdump "$libcudf_path" 2>/dev/null | awk -F_ '/arch =/ {print $2}' | sort -n -u | tr '\n' ';') for arg in "$@"; do echo $arg done diff --git a/pom.xml b/pom.xml index 14bfa4bd4a..f7a4fcd354 100644 --- a/pom.xml +++ b/pom.xml @@ -476,6 +476,7 @@ + +