[CI] Mac jar build uses a different LLVM version than Linux
- Lenguaje dominante
- Java
- Estrellas
- 94
- Forks
- 152
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 11
Descripción
### 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
Guía de contribución
Línea de trabajo
Localiza las definiciones de CI de jar-build para macOS y Linux y compara cómo se selecciona LLVM; después, inspecciona arrow/cpp/Brewfile y los detalles de la imagen del runner enlazada. El trabajo estará terminado cuando las compilaciones usen una versión coherente de LLVM o exista una diferencia de versión entre plataformas documentada y justificada explícitamente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github-actions, java
- Área
- build-system, ci-cd
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 38/100