Drop support for LLVM 15 in 0.46

Abierto
#6,277 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
53/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, go

Línea de trabajo

Start with the listed LLVM 15 configuration files and build tags in go-llvm, cgo, and compileopts, then review builder/build.go and ci/compat.yml. Check how each file handles supported LLVM versions and run the relevant build and CI checks. Done means LLVM 15 references and support are removed, LLVM 16 is the oldest supported version, and the compatibility CI uses LLVM 16.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

TinyGo 0.44 removed support for LLVM versions below 15 (#5925, tinygo-org/go-llvm#85). I propose that 0.46 removes support for LLVM 15, so that LLVM 16 becomes the oldest supported version.

The work for LLVM 15:

  • go-llvm: remove llvm_config_llvm15.go and the llvm15 build tag, then update go.mod.
  • cgo: remove libclang_config_llvm15.go and remove llvm15 from the build tags in libclang_config_llvm20.go.
  • compileopts: remove llvm15 from the build tags in features_pre20.go and features_default.go.
  • builder: remove the llvm.VersionMajor >= 16 check in build.go for trimmed Darwin builds.
  • ci: set LLVM to "16" in compat.yml.

If you build TinyGo against LLVM 15 and you cannot change to LLVM 16 or later, please tell us in this issue.

Lenguaje dominante
Go
Estrellas
17.8k
Forks
1.1k
Merge medio
1 d 4 h
PR fusionados (30 d)
380

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tinygo-org/tinygo

Todos los issues de tinygo-org/tinygo

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.