GoogleContainerTools / GoogleContainerTools/container-debug-support

Speed up cross-platform builds

Offen
#70 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
kind/enhancement
Vorherrschende Sprache
Go
Sterne
104
Forks
32
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.