apache / apache/arrow-java

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

Ouverte
#862 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Type: bug
Langage dominant
Java
Étoiles
94
Forks
152
Merge moyen
3 j 16 h
PR mergées (30 j)
11

Description

### 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.
https://github.com/apache/arrow/commit/c1f995226c46c2bba9c5fbf988cf9b247f87adad

A related change talking about llvm 14. https://github.com/apache/arrow/pull/14310

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Localisez les définitions CI de jar-build pour macOS et Linux et comparez la manière dont LLVM est sélectionné, puis examinez arrow/cpp/Brewfile et les détails de l’image du runner liée. Le travail sera considéré comme terminé lorsque les builds utiliseront une version cohérente de LLVM ou qu’une différence de version entre les plateformes sera explicitement documentée et justifiée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github-actions, java
Domaine
build-system, ci-cd
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.