这是indexloc提供的服务,不要输入任何密码
Skip to content

[CI] Mac jar build uses a different LLVM version than Linux #862

@lriggs

Description

@lriggs

Describe the bug, including details regarding any error messages, version, and platform.

The Mac build uses an older LLVM version (15) than Linux (18). This seems to be related to the CI code and the fact that the mac github runners have llvm installed via brew
https://github.com/actions/runner-images/blob/releases/macos-14-arm64/20250915/images/macos/macos-14-arm64-Readme.md
Even newer runners only have LLVM 17.

The discrepancy could lead to hard to find bugs or performance issues.

Is it possible to use vcpkg for the mac builds? That way we could be assured that they are always consistent across platforms.

A few related changes I found:
Unpin the llvm version in arrow/cpp/Brewfile. I think this might mean that theoretically the latest llvm could be installed but since the runner image already has an older one installed, that is used instead.
apache/arrow@c1f9952

A related change talking about llvm 14. apache/arrow#14310

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions