Skip to content

[Chore] Install clang in CI Docker image for pre-built JIT IR support #508

@zhangxffff

Description

@zhangxffff

Chore Type

Dependency Update (Conan/Third-party)

Task Description

Install clang in the CI Docker image (bolt-ci) so that the pre-built JIT IR framework (#501) can compile kernel bitcode without a workaround.

Motivation / Benefit

PR #501 introduces pre-built JIT IR which requires clang -emit-llvm at build time. The current Docker image doesn't have clang, so #501 works around this by adding apt-get install clang to three workflow files (build-test.yml, build-main.yml, pre-commit-checks.yml). This adds ~10s to every CI run. Installing clang in the Docker image eliminates this overhead and the workaround

Related Files (Optional)

No response

Implementation Plan (Optional)

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions