-
Notifications
You must be signed in to change notification settings - Fork 47
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
[cmake] set -D__ACCELERATE on macOS if building with the Accelerate framework #91
Comments
From my test on High Sierra, it looks like that we need the __ACCELERATE macro. This is already documented in the Makefile.inc. |
CMake doesn't set it (yet) |
for CMake I have to figure out how to detect whether we are linking against |
even with |
could you confirm that you are using -D__ACCELERATE? |
It seems that it is still failing... Could you try to run makefile? FCFLAGS += -D__NO_STATM_ACCESS -D__ACCELERATE at the end of Makefile.inc |
It's ok. Forgot that we also have to define |
OK, great, it works now, but the linking of the C++. I see that you are using /Applications/Xcode-9.4.1.app/Contents/Developer/usr/bin/g++ which (see my previous post) point to LLVM. Brew installs g++-8. Could you check that? |
since the point of |
solved via #98 |
is this still needed? https://developer.apple.com/documentation/accelerate/blas suggests that
sdot
in Accelerate returns afloat
, but the__ACCELERATE
defs suggest adouble
:The text was updated successfully, but these errors were encountered: