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

Đang mở
#2,522 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, python, ruby
Lĩnh vực
build-system, desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
1.2k
Fork
305
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của KLayout/klayout

Tất cả issue của KLayout/klayout

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.