-
Notifications
You must be signed in to change notification settings - Fork 22
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
SST compile fix on MacOS #338
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth adding a TODO to remove it later and some explanation of the how this has been updated for newer versions of SST that we don't support yet?
I agree with Dan. Looks like this is a temporary fix which can hopefully be removed once SST has been updated. Beyond that, looks good |
@dANW34V3R @JosephMoore25 TODO comment added. Please check |
On more recent versions of MacOS, and more specifically with more recent versions of Apple Clang, SST is unable to be compiled due to
unary_function
andbinary_function
types being depricated (since c++11) and now removed from Apple Clang v15. There is a compile flag which re-enabled these types and this has been added toCMakeLists.txt
if the user is on MacOS.These functions are only used in SST, and in more recent versions (i.e. SST v13) they have been replaced - so this issue may only be short term if SimEng's SST support is updated to version 13+