-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix strict linking on MacOS #207
Conversation
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.
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
|
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/