Install gpg for ROCm builds (#3744)

Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3744

gpg is needed for ROCm builds but does not come with containerized builds. This change add installation of gpg.

Reviewed By: junjieqi

Differential Revision: D61007840

fbshipit-source-id: 6322112803866dff57637bea290dc032e2bf41ad
pull/3736/head
Ramil Bakhshyiev 2024-08-09 02:04:53 -07:00 committed by Facebook GitHub Bot
parent 9f9b53b3c7
commit ac18577482
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@ runs:
if: inputs.rocm == 'ON'
shell: bash
run: |
# Update repos and install kmod, wget
# Update repos and install kmod, wget, gpg
sudo apt-get update
sudo apt-get install -y kmod wget
sudo apt-get install -y kmod wget gpg
# Get UBUNTU version name
UBUNTU_VERSION_NAME=`cat /etc/os-release | grep UBUNTU_CODENAME | awk -F= '{print $2}'`