-
Notifications
You must be signed in to change notification settings - Fork 15
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
lapack.h: error: conflicting declaration 'typedef float lapack_float_return' #28
Comments
Please include the complete CMake input and output (starting from a fresh CMake build). I can't tell what decisions CMake made up to this point. macOS Accelerate uses |
@mgates3 Thank you, I will update with all logs in a couple of hours. |
Did you previously install BLAS++? Need the log for that. Often, LAPACK is part of the BLAS library (OpenBLAS, MKL, LibSci all ship this way), so there's no need to specify
You may want to set I noticed there are several variables set that are unused. No harm, but no effect:
|
Okay, we are back to the earlier error.
It does configure and build normally with Accelerate, however, apparently, this makes it incompatible with |
@mgates3 The build of If you or someone may advise me how to improve upon that and fix building |
I don't think you've given command lines to reproduce any of the installs of BLAS++ or LAPACK++. That's what I mean by "complete input", i.e., what you did to produce the problem, not just the log. Do BLAS++ and LAPACK++ install under MacPorts with current versions of macOS (11, 12, 13), or is this just a problem with old OSes and hardware? We don't have the resources to support old OSes. You are welcome to submit reasonable PRs to fix them with old OSes, if it doesn't affect current systems. BLAS++ and LAPACK++ should work with both OpenBLAS and Accelerate on macOS. I use it with OpenBLAS every day. CMake logs are attached. (I sanitized paths.) There are a few warnings you can ignore that have been fixed in the master branch. I didn't install LAPACKE for Accelerate, but that just affects building testers, not the LAPACK++ library itself. |
@mgates3 Thank you for the logs. I should have tried So Accelerate is recognized correctly now with
I used the following configure args:
Logs: |
@mgates3 I have tried switching to
OpenBLAS
, however now the build fails on a conflicting declaration:The text was updated successfully, but these errors were encountered: