Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and use clang in GPU test jobs. #18076

Merged
merged 6 commits into from
Aug 5, 2024

Conversation

ScottTodd
Copy link
Member

@ScottTodd ScottTodd commented Jul 31, 2024

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

@ScottTodd ScottTodd added the infrastructure Relating to build systems, CI, or testing label Jul 31, 2024
@ScottTodd ScottTodd marked this pull request as ready for review August 1, 2024 21:59
@ScottTodd ScottTodd requested a review from saienduri August 1, 2024 21:59
@ScottTodd
Copy link
Member Author

Ping?

@@ -30,11 +30,11 @@ jobs:
IREE_HIP_DISABLE: 0
IREE_HIP_TEST_TARGET_CHIP: "gfx90a"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also add environment variables that you want to use here in the future

Copy link
Collaborator

@saienduri saienduri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@ScottTodd ScottTodd merged commit 09dc003 into iree-org:main Aug 5, 2024
28 checks passed
@ScottTodd ScottTodd deleted the infra-pkgci-clang branch August 5, 2024 18:04
ScottTodd added a commit that referenced this pull request Aug 6, 2024
This fixes the nightly 'samples' workflow.

I thought this `libstdc++-12-dev` dep would help use clang instead of
gcc here: #18076. Turns out that
package doesn't exist on ubuntu-20.04:
https://github.com/iree-org/iree/actions/runs/10260247034/job/28385997161#step:4:43
`E: Unable to locate package libstdc++-12-dev`. A working clang
toolchain also already exists. Ugh Linux. Tested here:
https://github.com/ScottTodd/iree/actions/runs/10269229609.

(Yes, we could use Docker to manage toolchains / system deps like this,
but I'd really rather not)

skip-ci: no impact on regular workflows (and soon this won't trigger
them at all)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Relating to build systems, CI, or testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants