Store version info or MD5 hash of the shared TBB objects

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

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
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
backend, build-system

Hướng nghiên cứu

Start by examining the RcppParallel v5.1.2 symlink handling for externally linked TBB libraries and the loading path for shared TBB objects. Investigate how TBB_INTERFACE_VERSION or an MD5 hash can be recorded at build time and checked before runtime loading. Done means mismatches produce a warning recommending package reinstallation rather than silently loading incompatible or missing libraries.

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

Mô tả

RcppParallel v5.1.2+ creates symlinks of TBB libraries into the package directory if externally linked (see a1fddba85101886b35123c73054c0d904f747d11 & #161). This can break RcppParallel when the original files are moved, removed, or upgraded to an incompatible version (undefined references). We need to create a function that stores the version info (e.g., TBB_INTERFACE_VERSION), or MD5 hash of the shared TBB objects, at build time and check them at runtime, before loading. If there's a mismatch, we continue with a warning that recommends reinstalling the package to relink to (or build) the TBB libraries.

It's important to ensure the integrity of the shared TBB objects, before loading them. This will also inform the users if the package loading failed due to this issue.

Ngôn ngữ chính
C++
Star
173
Fork
60
Merge trung bình
1 giờ 55 phút
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 RcppCore/RcppParallel

Tất cả issue của RcppCore/RcppParallel

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.