[MacPorts] #63717: vecLibFort @0.4.2_0: error: conflicting types for 'sdsdot_'
MacPorts
noreply at macports.org
Tue Dec 28 23:51:10 UTC 2021
#63717: vecLibFort @0.4.2_0: error: conflicting types for 'sdsdot_'
-------------------------+----------------------
Reporter: Nevensky | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: monterey
Port: vecLibFort |
-------------------------+----------------------
Comment (by gergomez):
In fact, the tester.f90 file still works as shown by using -ff2c when
compiling it against Accelerate directly. It seems that the new
fortran_blas.h header file has completely polluted the namespace and
breaks the approach from vecLibFort. One easy temporary solution is to
manually edit the corresponding vecLib.h (for me it is in
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/)
and comment out the line that includes vecLib/fortran_blas.h (line 50 for
me), then you will be able to port install vecLibFort and lapack
+accelerate. You can uncomment the line back in for safety after that.
--
Ticket URL: <https://trac.macports.org/ticket/63717#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list