GoogleContainerTools / GoogleContainerTools/container-debug-support

Speed up cross-platform builds

オープン
#70 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
kind/enhancement
主要言語
Go
スター
104
フォーク
32
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue にはファイルもテストも記載されていません。まずリポジトリのビルド定義を見つけ、次に BuildKit のターゲットプラットフォーム、Go と Delve の静的リンク、pip の --platform および --abi オプションを調査します。クロスプラットフォームビルドが測定可能なほど高速化され、機能するデバッグサポート用アーティファクトを引き続き生成できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go, python
領域
build-system, devops
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。