-
Notifications
You must be signed in to change notification settings - Fork 75
Refine conditional build #410
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
Conversation
d95b113 to
3b860b8
Compare
|
Ok -- I made one more pass over it and redefined things in terms of an 'affirming' compile-time variable With that I rewrote the @johnlaing Would greatly appreciate another review. It's not super urgent but I would love for this to get to CRAN (along with other PR #404 which I know you looked at but for which I do not think I have from you per se). |
3b860b8 to
74e3400
Compare
|
Rebased on top of merged #404 (and thanks for looking that over) and should be clean and ready. |
|
@johnlaing The PR should be ready to merge. There is no code change, but a more or less cosmetic change of making the decision to build with Blp support an opt-in (an actual This will achieve the stated goal of no longer failing to compile where there is no Blp support (as e.g on ancient macos as at CRAN) and I would like to get it there. If you are to tied up to review let me know, I am confident that we can proceed here but I would appreciated the check from an experienced second set of eyes. Plus, of course, if you have time, a local build and run. |
|
I prioritized the other PR which added a new feature and have not had time to review this one. I would like to look and potentially will be able to do so this weekend. |
|
Given that the commits were made ten days ago, I will likely take absense of a new issue as implicit consent and move along merging and releasing. |
|
It's not implicit consent, it's I haven't had time to review. If you want to go ahead and merge anyway that's up to you. |
|
Rank ordering of preferences. If you could not make time during ten days, I cannot have reasonable expectations that will change so I may decide to move ahead. I did the work to get a fix to CRAN, and that is still the goal. |
|
I have a few more other packages in my queue that I am taking care of so I can wait until Monday or Tuesday. Should you find time to test this before then it would be greatly appreciated. If you cannot, then I will most likely proceed without it. |
|
All tests pass with a live Bloomberg, so that's great. I think this approach to the preprocessor is much more clear as well. Not directly a consequence of this PR, but we've been sliding in this direction: |
|
Thank you for checking! Really really appreciate it. Yes. Configure could change, but it is a bit of chore because the blp repo holding the binary blobs also has to change. When we last refactored I (mistakenly!) thought we could preserve two platforms for macOS (given that we once had working object code from them for x86_64 aka amd64 -- that never worked). So in favour of revisiting but let's ship what we have (cleaned up now) in code to CRAN. Speaking of cleanups, there is also some polish we could apply to things below I'll ship this to CRAN 'soon' and then we get rid of the three stoooopid ERRORs on macOS because the maintainer for macOS would never listen to our requests to not force-build. Shoud have done this sooner. Oh well -- hindsight bias. |
|
I will merge now, that give R-universe a moment to build binaries. Just in case, the previous iterations all look good already. |
|
Also see here: Lines 110 to 112 in 93661dd
|
|
Now at CRAN. Thanks for your repeated checks, and the cleanup PR! |
This PR adds a little bit of polish and simplifies the code in
configureandsrc/Makevars.in.We also turn on continuous integration for macos-13 which is a x86_64 platform and hence without (current) blp support providing a test of the fallback build.