GoogleContainerTools / GoogleContainerTools/container-debug-support
Speed up cross-platform builds
- Lenguaje dominante
- Go
- Estrellas
- 104
- Forks
- 32
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I think we can speed up the Go and Python builds by using buildkit's target platforms.
### Go and Delve
Go supports cross-platform building; I'm uncertain if we can do deep-static linking with `-extldflags "-static"'`.
### Python
`pip` supports `--platform` and `--abi` flags. Something like:
pip install --only-binary=:all: --abi cp39 --platform=manylinux2014_x86_64 --target=/dbg/python/lib/python3.9/site-packages debugpy
The platforms and mappings are listed here: https://github.com/pypa/manylinux
Guía de contribución
Línea de trabajo
The issue names no files or tests. Start by locating the repository's build definitions, then investigate BuildKit target platforms, Go and Delve static linking, and pip's --platform and --abi options; done means cross-platform builds are measurably faster and still produce working debug-support artifacts.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go, python
- Área
- build-system, devops
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100