Skip to content

Commit

Permalink
PMM-12899 fix architecture for the client
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Oct 19, 2024
1 parent f35a85f commit ca58e15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/scripts/build-client-binary
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ gobuild_component() {
local archive=$(ls ${source_dir} | grep -e "${parent_component}-\w*\.tar\.gz" | head -n1)
local build_command

if [ "$(uname -i)" = "aarch64" ]; then
local GOARCH=arm64
fi

if [ -d "${root_dir}/go-build" ]; then
volume_mounts+=" -v ${root_dir}/go-build:/home/builder/.cache/go-build"
fi
Expand Down

0 comments on commit ca58e15

Please sign in to comment.