Drop support for LLVM 15 in 0.46

Đang mở
#6,277 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
53/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, go
Lĩnh vực
build-system, ci-cd, compilers

Hướng nghiên cứu

Start with the listed LLVM 15 configuration files and build tags in go-llvm, cgo, and compileopts, then review builder/build.go and ci/compat.yml. Check how each file handles supported LLVM versions and run the relevant build and CI checks. Done means LLVM 15 references and support are removed, LLVM 16 is the oldest supported version, and the compatibility CI uses LLVM 16.

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

Mô tả

TinyGo 0.44 removed support for LLVM versions below 15 (#5925, tinygo-org/go-llvm#85). I propose that 0.46 removes support for LLVM 15, so that LLVM 16 becomes the oldest supported version.

The work for LLVM 15:

  • go-llvm: remove llvm_config_llvm15.go and the llvm15 build tag, then update go.mod.
  • cgo: remove libclang_config_llvm15.go and remove llvm15 from the build tags in libclang_config_llvm20.go.
  • compileopts: remove llvm15 from the build tags in features_pre20.go and features_default.go.
  • builder: remove the llvm.VersionMajor >= 16 check in build.go for trimmed Darwin builds.
  • ci: set LLVM to "16" in compat.yml.

If you build TinyGo against LLVM 15 and you cannot change to LLVM 16 or later, please tell us in this issue.

Ngôn ngữ chính
Go
Star
17.8k
Fork
1.1k
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
380

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 tinygo-org/tinygo

Tất cả issue của tinygo-org/tinygo

Issue tương tự

Thêm issue về Go

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.