GoogleContainerTools / GoogleContainerTools/container-debug-support

Speed up cross-platform builds

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
kind/enhancement
Dominant language
Go
Stars
104
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.