Skip to content

Commit

Permalink
Avoid running sudo apt update on mi250 and mi300 runners. (iree-org…
Browse files Browse the repository at this point in the history
…#18316)

It seems like multiple instances / users on these machines can't be
running these commands concurrently so for now we'll just rely on the
runners having this software already installed. We could also use
Docker.

ci-exactly: build_packages,test_amd_mi250,test_amd_mi300
  • Loading branch information
ScottTodd authored Aug 21, 2024
1 parent 4c8913b commit dd8abf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pkgci_test_amd_mi250.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ jobs:
./build_tools/pkgci/setup_venv.py ${VENV_DIR} \
--artifact-path=${PACKAGE_DOWNLOAD_DIR} \
--fetch-gh-workflow=${{ inputs.artifact_run_id }}
- name: Install build dependencies
- name: Configure build toolchain
run: |
sudo apt update
sudo apt install -y cmake clang ninja-build libstdc++-12-dev
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pkgci_test_amd_mi300.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@ jobs:
./build_tools/pkgci/setup_venv.py ${VENV_DIR} \
--artifact-path=${PACKAGE_DOWNLOAD_DIR} \
--fetch-gh-workflow=${{ inputs.artifact_run_id }}
- name: Install build dependencies
- name: Configure build toolchain
run: |
sudo apt update
sudo apt install -y cmake clang ninja-build libstdc++-12-dev
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
Expand Down

0 comments on commit dd8abf7

Please sign in to comment.