Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Pre-generate Bison parser files in Repo

Đang mở
#1,878 1 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 2 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
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cmake, cpp

Hướng nghiên cứu

Kiểm tra src/liboslexec/CMakeLists.txt, src/liboslquery/CMakeLists.txt và src/liboslcomp/CMakeLists.txt để hiểu quy trình tạo hiện tại của Bison và nơi các tệp được tạo sẵn sẽ được sử dụng. Sau đó xem xét INSTALL.md, các tệp trong platform doc/build_install/windows/Readme.md và doc/build_install/windows/build_osl.py. Công việc được xem là hoàn tất khi repository bao gồm các tệp parser đã tạo có thể sử dụng, các bản build không còn yêu cầu Bison theo mặc định và tài liệu mô tả Bison là tùy chọn.

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

Mô tả

good first issue help wanted oslc
Problem

OSL builds currently generate the Bison parser code during their builds.
It would be really great if someone could pre-generate these files and include them in the repo for the build system to use.

This would allow reducing the dependency count in OSL on Windows/Mac to not require bison on each machine, and would make builds ever so slightly more efficient for each builder.

This would require adjusting:

  • src/liboslexec/CMakeLists.txt, src/liboslquery/CMakeLists.txt and src/liboslcomp/CMakeLists.txt to allow using the pre-generated files.
  • INSTALL.md and the various platform doc/build_install/windows/Readme.md files that mention requiring bison, to making it optional.
  • doc/build_install/windows/build_osl.py to make bison an optional build component.
Ngôn ngữ chính
C++
Star
2.3k
Fork
415
Merge trung bình
4 ngày 16 giờ
Pull request đã merge (30 ngày)
20

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

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 AcademySoftwareFoundation/OpenShadingLanguage

Tất cả issue của AcademySoftwareFoundation/OpenShadingLanguage

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.