Skip to content

accelerator/rocm: fix ldflags and libs #11

accelerator/rocm: fix ldflags and libs

accelerator/rocm: fix ldflags and libs #11

Workflow file for this run

name: GitHub Action CI
on: [pull_request]
env:
ROCM_VER: 5-4
jobs:
compile-rocm:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends wget lsb-core software-properties-common gpg curl
- name: Install extra dependencies
run: |

Check failure on line 16 in .github/workflows/compile-rocm.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile-rocm.yaml

Invalid workflow file

You have an error in your yaml syntax on line 16
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/$ver/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/amdgpu.list
sudo apt update
sudo apt install -y rocm-hip-runtime
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Open MPI
run: |
./autogen.pl
./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran
make V=1 -j
- name: Clean up
run: |
ls -la ./
rm -rf ./*
rm -rf ./.??*
ls -la ./