-
Notifications
You must be signed in to change notification settings - Fork 1
Support mac os m architecture #140
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
base: vara-dev
Are you sure you want to change the base?
Conversation
Co-authored-by: Sebastian Böhm <[email protected]>
elseif(UNIX AND NOT APPLE) | ||
# Clang on Linux can use libstdc++ (usually default) No need to explicitly | ||
# add this unless required | ||
add_compile_options(-stdlib=libstdc++) |
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.
Could you make this optional or maybe don't set it at all, as it is currently not necessary to be specified for UNIX systems where the system default gets chosen.
PS: I compile with libc++ on some UNIX setup 🥲
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.
Yes, I do not need it, was not sure if that should be in it.
Should I remove it or what would be the way to make it optional to be helpful for Linux?
set(Python3_ROOT_DIR "/opt/homebrew") # cmake-lint: disable=C0103 | ||
endif() | ||
|
||
find_package(Python3 REQUIRED COMPONENTS Interpreter Development) |
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 this always necessary here? If I remember correctly, we only searched for python where we needed it for the bindings but I'm not sure if we did this our selfs or if we just used what pybind found.
endif() | ||
|
||
if(APPLE) | ||
set(Python3_ROOT_DIR "/opt/homebrew") # cmake-lint: disable=C0103 |
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.
Oh boy, someone should fix the cmake find package for python 😆 or why is it necessary to specify the actual root beforehand where it's not on other systems?
remove unnecessary commands as comment in CMakelists Co-authored-by: Florian Sattler <[email protected]>
No description provided.