Skip to content

[OSDC] Update setup-linux to support OSDC ARC runners - #177950

Closed
huydhn wants to merge 6 commits into
mainfrom
huydhn/setup-linux-osdc
Closed

huydhn wants to merge 6 commits into
mainfrom
huydhn/setup-linux-osdc

Conversation

@huydhn

@huydhn huydhn commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

This composite action consolidates common Linux setup steps for OSDC ARC runners into a single reusable action. It accepts a build-environment string and handles:

  • Parsing the Python version (e.g. py3.12) and setting up uv with a virtual environment
  • Installing CI pip requirements
  • Installing MKL (x86_64 only, skipped on aarch64)
  • Installing the C++ compiler based on what the build-environment specifies:
    • clang 18: already pre-installed on AlmaLinux 9 from AppStream, no action needed
    • clang 15 (or older): installed from EPEL with versioned packages and registered via update-alternatives
    • gcc: uses system GCC 11 or installs gcc-toolset for newer versions
    • neither: leaves the base image compiler as-is
  • Switching to the requested CUDA version (e.g. cuda12.8 parsed from build-environment) by updating the /usr/local/cuda symlink and setting CUDA_HOME, PATH, LD_LIBRARY_PATH, and NCCL paths. All CUDA versions are pre-installed in the base image; the default is CUDA 13.

This GHA will be used to setup Linux build and test jobs on OSDC. @yangw-dev While this is needed to run on CI for now, let's discuss on how we can move the logic here into blast cli.

Testing

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants