-
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
A few small fixes for compilation and installation #132
base: main
Are you sure you want to change the base?
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.
Thanks so much for the fixes! : - ) There's just one small thing; please see comment.
@@ -47,6 +47,10 @@ | |||
#include "maybe_static_size.hpp" | |||
#include "layout_tags.hpp" | |||
|
|||
#include <experimental/__p0009_bits/macros.hpp> |
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.
The P1673 implementation shouldn't be depending on P0009 implementation details. Would you consider instead just including the main mdspan
header, <experimental/mdspan>? Thanks!
@@ -122,7 +122,7 @@ install(TARGETS linalg EXPORT linalgTargets | |||
install(EXPORT linalgTargets | |||
FILE linalgTargets.cmake | |||
NAMESPACE std:: | |||
DESTINATION cmake | |||
DESTINATION lib/cmake/stdBLAS |
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.
Should be lib/cmake/<ProjectName>
so stdBLAS -> linalg
?
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.
Ah, yes, that's right, thanks for the catch!
@lums658 I'm a bit occupied today, but if you're too busy to push the requested changes, would you mind if we did it? Thanks! |
This was to get compilation and installation working with g++-11 on MacOS. Added a few "typename" here and there in a couple of files. Also changed "cmake" to lib/cmake/stdBLAS for installing the stdBLAS cmake file(s).
I note that compilation is only possible with -std=c++20 now -- many uses of concepts and requires clauses throughout.