arm64 macOS: embed ruby and python for pre-built binaries?

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start by reviewing how the arm64 macOS pre-built binaries are packaged and how they currently use the OS-bundled Ruby; the issue does not name relevant files or tests. Decide whether and how Ruby and Python runtimes should be embedded so the binaries work independently of the user's environment, then verify the packaged build works with the targeted DRC decks.

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

描述

Hiya,

The pre-built binaries over at https://www.klayout.de/build.html use the "OS-bundled Ruby". This presents some challenges at this point.

One is the bundled Ruby is on its way out: this message is printed when I launch irb on macOS 27:

WARNING: This version of ruby is included in macOS for compatibility with legacy software. 
In future versions of macOS the ruby runtime will not be available by 
default, and may require you to install an additional package.

The other is Ruby 2.6 is very out of date, and some DRC decks for open-source PDKs written for KLayout require a more up-to-date version of Ruby.

I am aware there are options for Conda and MacPorts, but neither have the install base of Homebrew - but even if there was a qt6Brew version like x86-64, it would be nicer if there's an option that, however heavy, just works for our use-case OOTB completely independently of the user's environment.

Thoughts? I would be willing to work on this.

主要语言
C++
星标
1.2k
派生
305
平均合并
3 天 2 小时
30 天内合并 PR
11

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

KLayout/klayout 的其他 Issue

查看 KLayout/klayout 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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