Uh oh!
There was an error while loading. Please reload this page.
Fix strict linking on MacOS - #207
Conversation
kevinushey
commented
Jan 3, 2024
LGTM, but I'd like to confirm a couple things before merge. With this approach, I see: Could those Also, to confirm -- do those paths look the same / correct when cross-compiling? |
Update: actually it does work. I now added a I don't think there is any benefit right now because we are manually loading |
This could allow the package to be loaded even without the manual library.dynam() in R.
kevinushey
commented
Jan 4, 2024
Awesome, thanks for taking the deeper look. LGTM! |
(maybe this is asking for a different feature, On A test package is at https://github.com/mtmorgan/CppTest. It has the DESCRIPTION and src/Makevars file from https://rcppcore.github.io/RcppParallel/#r_packages; there is no ( If I add This seems to be consistent with @kevinushey's concern that |
kevinushey
commented
Feb 6, 2024
I think this is right -- |
Fixes#206.
This basically does the same as you already did on Windows here:
RcppParallel/src/Makevars.in
Lines 87 to 89 in 6f81716
And likewise in
tbbLdFlags().In my own fork I added CI for Mac, so you can see that it failed on MacOS before this fix, and then passed afterwards: https://github.com/jeroen/RcppParallel/commits/master/