Can remote libraries be provided locally to mx?
还没有人认领这个 Issue。
评估
调研方向
首先检查所引用的 suite.py 文件中的依赖声明,以及 mx 对 ~/.mx/cache 的处理方式。确定是否可以在不访问网络的情况下配置备用本地源;当存在一种有文档说明的方式、能够为 hermetic Graal 目标构建在本地提供这些库时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I'm attempting to build Graal targets in a hermetic environment (no network access) to assure supply chain security. Because of this I need to find a way to provide libraries normally downloaded over the network (example) locally.
I've managed to track down where mx stores these kinds of dependencies once they're downloaded (~/.mx/cache) but fiddling with that location seems unwise. Is there a way to pass an alternate location for a given library, perhaps by flag, or a minimal patch to apply to the suite.pys so they can find the dependencies on the local file system instead?
- 主要语言
- Python
- 星标
- 205
- 派生
- 131
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graalvm/mx 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
Error while doing maven-install可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 3/5 1-2 天 新手友好度 30/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 5/5 一周以上 新手友好度 25/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 72/100
pdm-project/pdm#4042 ·
维护者通常 1 天内回复
-
change relation
难度 1/5 1 小时以内 新手友好度 76/100
globalwordnet/english-wordnet#1467 ·
维护者通常 1 天内回复
-
pr-babysit: the validator reports only the hex part of the harvest fingerprint, so a launch stops review-report-unusable可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭follow-up
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
521xueweihan/HelloGitHub#4618 ·