[MacPorts] #63072: py39-numpy @1.20.3_0+gcc11+openblas fails to build on aarch64
MacPorts
noreply at macports.org
Mon Dec 27 19:36:18 UTC 2021
#63072: py39-numpy @1.20.3_0+gcc11+openblas fails to build on aarch64
-----------------------------+-----------------------
Reporter: thermalecology | Owner: michaelld
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: arm64
Port: py-numpy |
-----------------------------+-----------------------
Comment (by kencu):
So agreed that this port should not usually be deployed on macports with
"-Werror" enabled (that is a dev thing).
That said, this should not be happening, AFAIK:
{{{
extra options: '-march=armv8.2-a+dotprod -Werror'
}}}
all of these need to go:
{{{
error: implicit declaration of function ...
}}}
and then the big puzzle might be solved, if we get rid of this headache
(by the above fixes?):
{{{
<stdin>:29:2: error: instruction requires: dotprod
}}}
then maybe {{{math.h}}} will preprocess right and this will disappear
{{{error "Unsupported value of __FLT_EVAL_METHOD__."}}} as there seems to
be absolutely no reason that {{{__FLT_EVAL_METHOD__}}} that is defined by
the compiler (hopefully still is defined by the compiler, at least, as you
showed above) to "0" will not properly be handled by the code you showed.
What a mess.
--
Ticket URL: <https://trac.macports.org/ticket/63072#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list