revbayes / revbayes.github.io

https://revbayes.github.io
7 stars 11 forks source link

Updating Xcode internal build instructions #27

Closed davidcerny closed 10 months ago

davidcerny commented 11 months ago

Updating the tutorial on setting up Xcode for RevBayes development to make it applicable to newer versions of macOS (version used in this PR: Monterey), Xcode (version used in this PR: 14.2), and RevBayes itself. In particular, after PR #278, we now need to compile under the C++17 dialect. Some of the screenshots used in the tutorial were less than informative or accidentally duplicated, so I replaced those too.

davidcerny commented 10 months ago

Thanks for merging this, Ben! That said, I'm wondering if the Xcode instructions should be updated once again, given what @mlandis recently reported on Slack (after I opened this PR)...

bredelings commented 10 months ago

Good point! I talked with @mlandis, and I think that the real solution was to use the most recent version of boost (version 1.83). Mike had to compile boost 1.83 himself because homebrew was stuck on 1.82 for a while, but it looks like homebrew finally got version 1.83. So (fingers crossed) hopefully users of XCode 14 shouldn't have to do anything?

davidcerny commented 10 months ago

Ah, that's great to hear! So the _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION preprocessor macro is not necessary when using boost 1.83?

bredelings commented 10 months ago

Yeah, if using boost 1.83, its not necessary.