You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RcppParallel v5.1.2+ creates symlinks of TBB libraries into the package directory if externally linked (see a1fddba & #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.
The text was updated successfully, but these errors were encountered:
RcppParallel v5.1.2+
creates symlinks of TBB libraries into the package directory if externally linked (see a1fddba & #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.
The text was updated successfully, but these errors were encountered: