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

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, python
Domain
build-system, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.