[MacPorts] #68721: OpenBLAS finding still broken: madness port configure ignores BLA_VENDOR and uses Accelerate, which breaks the build
MacPorts
noreply at macports.org
Fri Nov 17 20:48:14 UTC 2023
#68721: OpenBLAS finding still broken: madness port configure ignores BLA_VENDOR
and uses Accelerate, which breaks the build
--------------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: OpenBLAS, madness |
--------------------------------+--------------------
Comment (by barracuda156):
Now it fails with:
{{{
/opt/local/bin/g++-mp-13 -pipe -I/opt/local/libexec/boost/1.81/include -Os
-fpermissive -DNDEBUG -isystem/opt/local/include/LegacySupport
-I/opt/local/libexec/boost/1.81/include -I/opt/local/include
-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 -arch ppc -mmacosx-version-min=10.6
-dynamiclib -Wl,-headerpad_max_install_names
-L/opt/local/libexec/boost/1.81/lib -Wl,-headerpad_max_install_names
-Wl,-rpath,/opt/local/lib/libgcc -L/opt/local/lib -lMacportsLegacySupport
-o libMADlinalg.dylib -install_name @rpath/libMADlinalg.dylib "CMakeFiles
/MADlinalg-obj.dir/lapack.cc.o" "CMakeFiles/MADlinalg-
obj.dir/solvers.cc.o" "CMakeFiles/MADlinalg-obj.dir/elem.cc.o" "CMakeFiles
/MADlinalg-obj.dir/SVDTensor.cc.o" "CMakeFiles/MADlinalg-
obj.dir/RandomizedMatrixDecomposition.cc.o" "CMakeFiles/MADlinalg-
obj.dir/linalg_wrappers.cc.o" -Wl,-rpath,/opt/local/lib
libMADtensor.dylib -framework Accelerate ../misc/libMADmisc.dylib
../world/libMADworld.dylib /opt/local/lib/libtcmalloc.dylib
/opt/local/lib/libprofiler.dylib -fno-builtin-malloc -fno-builtin-calloc
-fno-builtin-realloc -fno-builtin-free
Undefined symbols:
"_zpstrf_", referenced from:
__ZN7madness11rr_choleskyISt7complexIdEEEvRNS_6TensorIT_EENS5_11scalar_typeERNS3_IiEERi
in lapack.cc.o
"_cpstrf_", referenced from:
__ZN7madness11rr_choleskyISt7complexIfEEEvRNS_6TensorIT_EENS5_11scalar_typeERNS3_IiEERi
in lapack.cc.o
"_spstrf_", referenced from:
__ZN7madness11rr_choleskyIfEEvRNS_6TensorIT_EENS3_11scalar_typeERNS1_IiEERi
in lapack.cc.o
"_dpstrf_", referenced from:
__ZN7madness11rr_choleskyIdEEvRNS_6TensorIT_EENS3_11scalar_typeERNS1_IiEERi
in lapack.cc.o
ld: symbol(s) not found
}}}
Which is a known issue:
https://github.com/m-a-d-n-e-s-s/madness/issues/458
That is why the port should use `OpenBLAS` and was successfully using it
until a couple of weeks ago (last time I built `madness` was 2023-10-29).
--
Ticket URL: <https://trac.macports.org/ticket/68721#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list