Store version info or MD5 hash of the shared TBB objects
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- cpp
- Bereich
- backend, build-system
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C++
- Sterne
- 173
- Forks
- 60
- Ø Merge
- 1 Std. 55 Min.
- Gemergte PRs (30 T.)
- 2
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus RcppCore/RcppParallel
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
RcppCore/RcppParallel#239 · 6 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 20/100
RcppCore/RcppParallel#228 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
RcppCore/RcppParallel#227 · 6 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
RcppCore/RcppParallel#216 · 5 Kommentare ·
-
Support of long vectors Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
RcppCore/RcppParallel#213 ·
Alle Issues in RcppCore/RcppParallel
Ähnliche Issues
-
Website Doc Typo Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 92/100
autowarefoundation/autoware_universe#13413 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
automated-analysis bug memory-safety
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100