ambit
ambit copied to clipboard
Build fails on FreeBSD with clang-40
Version 0.2 fails this way:
-- checking Fortran linkage: DGEMM_
-- checking Fortran linkage: dgemm_
-- checking Fortran linkage: DGEMM
-- checking Fortran linkage: dgemm
CMake Error at cmake/GenericMacros.cmake:169 (message):
Unable to detect Fortran name mangling. This should not happen, please set
--with-f77symbol manually.
The current revision 9c7049a fails too:
src/libambit.so: undefined reference to `dgebal_'
src/libambit.so: undefined reference to `dsprfs_'
src/libambit.so: undefined reference to `dpbstf_'
I think, lines like this cause it:
src/math/lapack.cc:#define FC_GLOBAL(lc, UC) lc ## _
Please advise how do I build it?
I was able to build it by disabling the test directory. But please fix the test build.