GoogleContainerTools / GoogleContainerTools/container-debug-support

Speed up cross-platform builds

Aperta
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
kind/enhancement
Lingua principale
Go
Stelle
104
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.