Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lums658
Copy link

@lums658 lums658 commented Dec 7, 2021

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.

@mhoemmen mhoemmen self-requested a review December 8, 2021 02:55
Copy link
Contributor

@mhoemmen mhoemmen left a 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>
Copy link
Contributor

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
Copy link
Member

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?

Copy link
Contributor

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!

@mhoemmen
Copy link
Contributor

mhoemmen commented Dec 8, 2021

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants