[MacPorts] #63582: openblas @0.3.18_0+gcc11+lapack [+native] : (Intel) does not build because MAX_CPU_NUMBER is undefined (was: openblas @0.3.18_0+gcc11+lapack [+native] : does not build)
MacPorts
noreply at macports.org
Thu Oct 7 03:47:00 UTC 2021
#63582: openblas @0.3.18_0+gcc11+lapack [+native] : (Intel) does not build because
MAX_CPU_NUMBER is undefined
--------------------------+-------------------------
Reporter: snarkhunter | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: openBLAS |
--------------------------+-------------------------
Changes (by NicosPavlov):
* status: new => assigned
* owner: (none) => NicosPavlov
Comment:
Thanks for the detailed report. It is not necessarily surprising that
OpenBLAS has different behaviors with different CPUs, as it tries to
optimize the code for each type of architecture and generation.
I do not know why this happens at this point, but from the log you sent,
the code fails because MAX_CPU_NUMBER is undefined. My guess is that there
is an issue in the cpu characterization code of OpenBLAS, but this would
have to be confirmed.
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/compwrap/cc/usr/bin/clang
-Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
x86_64 -O3 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -Wall -m64
-DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DMAX_CPU_NUMBER=
-DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1
-DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"1\" -UASMNAME -UASMFNAME
-UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME=_ -DASMFNAME=__ -DNAME=_
-DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O3
-DSMALL_MATRIX_OPT -DMAX_STACK_ALLOC=2048 -DEXPRECISION -Wall -m64
-DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DMAX_CPU_NUMBER=
-DMAX_PARALLEL_NUMBER=1 -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1
-DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"1\" -UASMNAME -UASMFNAME
-UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME=_samin
-DASMFNAME=_samin_ -DNAME=samin_ -DCNAME=samin -DCHAR_NAME=\"samin_\"
-DCHAR_CNAME=\"samin\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX -c
-DUSE_ABS -DUSE_MIN max.c -o samin.o
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63582#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list