-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install and use clang in GPU test jobs. (#18076)
Missed this when setting up these AMD jobs / migrating the NVIDIA job away from Docker. The jobs had been using gcc :P ci-exactly: build_packages, test_amd_mi250, test_amd_mi300, test_amd_w7900, test_nvidia_t4
- Loading branch information
Showing
5 changed files
with
42 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,11 +30,11 @@ jobs: | |
IREE_HIP_DISABLE: 0 | ||
IREE_HIP_TEST_TARGET_CHIP: "gfx90a" | ||
steps: | ||
- name: Checking out repository | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
with: | ||
submodules: false | ||
- name: "Checking out runtime submodules" | ||
- name: Check out runtime submodules | ||
run: ./build_tools/scripts/git/update_runtime_submodules.sh | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -49,9 +49,16 @@ jobs: | |
./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ | ||
--artifact-path=${PACKAGE_DOWNLOAD_DIR} \ | ||
--fetch-gh-workflow=${{ inputs.artifact_run_id }} | ||
- name: "Building tests" | ||
- name: Install build dependencies | ||
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 | ||
- name: Build tests | ||
run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin | ||
- name: "Running GPU tests" | ||
- name: Run GPU tests | ||
env: | ||
CTEST_PARALLEL_LEVEL: 2 | ||
IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=hip$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,11 @@ jobs: | |
if: contains(matrix.name, 'gfx942') | ||
run: | | ||
sudo chmod -R 777 ~/actions-runner/_work | ||
- name: Checking out repository | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
with: | ||
submodules: false | ||
- name: "Checking out runtime submodules" | ||
- name: Check out runtime submodules | ||
run: ./build_tools/scripts/git/update_runtime_submodules.sh | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -54,9 +54,16 @@ jobs: | |
./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ | ||
--artifact-path=${PACKAGE_DOWNLOAD_DIR} \ | ||
--fetch-gh-workflow=${{ inputs.artifact_run_id }} | ||
- name: "Building tests" | ||
- name: Install build dependencies | ||
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 | ||
- name: Build tests | ||
run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin | ||
- name: "Running GPU tests" | ||
- name: Run GPU tests | ||
env: | ||
CTEST_PARALLEL_LEVEL: 2 | ||
IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=hip$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,11 +30,11 @@ jobs: | |
IREE_HIP_DISABLE: 0 | ||
IREE_HIP_TEST_TARGET_CHIP: "gfx1100" | ||
steps: | ||
- name: Checking out repository | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
with: | ||
submodules: false | ||
- name: "Checking out runtime submodules" | ||
- name: Check out runtime submodules | ||
run: ./build_tools/scripts/git/update_runtime_submodules.sh | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -49,9 +49,10 @@ jobs: | |
./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ | ||
--artifact-path=${PACKAGE_DOWNLOAD_DIR} \ | ||
--fetch-gh-workflow=${{ inputs.artifact_run_id }} | ||
- name: "Building tests" | ||
- name: Build tests | ||
run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin | ||
- name: "Running GPU tests" | ||
- name: Run GPU tests | ||
env: | ||
CTEST_PARALLEL_LEVEL: 1 | ||
IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=vulkan$|^driver=hip$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,19 +34,13 @@ jobs: | |
IREE_CUDA_DISABLE: 0 | ||
IREE_HIP_DISABLE: 1 | ||
steps: | ||
- name: Checking out repository | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
with: | ||
submodules: false | ||
- name: "Checking out runtime submodules" | ||
- name: Check out runtime submodules | ||
run: ./build_tools/scripts/git/update_runtime_submodules.sh | ||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -y cmake clang ninja-build | ||
export CC=clang | ||
export CXX=clang | ||
- name: Querying GPU information | ||
- name: Query GPU information | ||
run: | | ||
./build_tools/scripts/check_cuda.sh | ||
./build_tools/scripts/check_vulkan.sh | ||
|
@@ -63,9 +57,16 @@ jobs: | |
./build_tools/pkgci/setup_venv.py ${VENV_DIR} \ | ||
--artifact-path=${PACKAGE_DOWNLOAD_DIR} \ | ||
--fetch-gh-workflow=${{ inputs.artifact_run_id }} | ||
- name: "Building tests" | ||
- name: Install build dependencies | ||
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 | ||
- name: Build tests | ||
run: ./build_tools/pkgci/build_tests_using_package.sh ${VENV_DIR}/bin | ||
- name: "Running GPU tests" | ||
- name: Run GPU tests | ||
env: | ||
CTEST_PARALLEL_LEVEL: 2 | ||
IREE_CTEST_LABEL_REGEX: ^requires-gpu|^driver=vulkan$|^driver=cuda$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,9 +49,9 @@ jobs: | |
- name: "Installing build dependencies" | ||
run: | | ||
sudo apt update | ||
sudo apt install cmake clang ninja-build | ||
export CC=clang | ||
export CXX=clang++ | ||
sudo apt install -y cmake clang ninja-build libstdc++-12-dev | ||
echo "CC=clang" >> $GITHUB_ENV | ||
echo "CXX=clang++" >> $GITHUB_ENV | ||
- name: "Setting up Python" | ||
uses: actions/[email protected] | ||
with: | ||
|