Speed up cross-platform builds

未关闭
#70 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
go, python

调研方向

该 issue 未指出任何文件或测试。首先定位仓库的构建定义,然后调查 BuildKit 目标平台、Go 和 Delve 的静态链接,以及 pip 的 --platform 和 --abi 选项;当跨平台构建的速度有可测量的提升,并且仍能生成可正常工作的调试支持构件时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

kind/enhancement

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

主要语言
Go
星标
105
派生
33
平均合并
8 小时 47 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GoogleContainerTools/container-debug-support 的其他 Issue

查看 GoogleContainerTools/container-debug-support 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。