[MacPorts] #58179: OpenBLAS @0.3.5_1 does not build on PPC Leopard, Mac OS X 10.5.8, because Makefile. cannot be found
MacPorts
noreply at macports.org
Thu Mar 7 03:35:16 UTC 2019
#58179: OpenBLAS @0.3.5_1 does not build on PPC Leopard, Mac OS X 10.5.8, because
Makefile. cannot be found
------------------------+-------------------------
Reporter: ballapete | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: powerpc
Port: OpenBLAS |
------------------------+-------------------------
Comment (by kencu):
the above patch fixes the architecture recognition issues, and gets the
build on PowerPC Leopard (at least -- not tested on Tiger yet) quite a
long way.
Then there is an issue with something else that is not so easy to fix, at
least for me at this moment:
{{{
/opt/local/bin/gcc-mp-6 -c -O3 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m32
-DF_INTERFACE_GFORT -fPIC -DNO_AVX -DNO_AVX2 -DNO_AVX512 -DSMP_SERVER
-DUSE_OPENMP -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"1\"
-force_cpusubtype_ALL -DASMNAME=_sgemm -DASMFNAME=_sgemm_ -DNAME=sgemm_
-DCNAME=sgemm -DCHAR_NAME=\"sgemm_\" -DCHAR_CNAME=\"sgemm\" -DNO_AFFINITY
-I.. -I. -UDOUBLE -UCOMPLEX gemm.c -o sgemm.o
/opt/local/bin/gcc-mp-6 -c -O3 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -m32
-DF_INTERFACE_GFORT -fPIC -DNO_AVX -DNO_AVX2 -DNO_AVX512 -DSMP_SERVER
-DUSE_OPENMP -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"1\"
-force_cpusubtype_ALL -DASMNAME=_ssymm -DASMFNAME=_ssymm_ -DNAME=ssymm_
-DCNAME=ssymm -DCHAR_NAME=\"ssymm_\" -DCHAR_CNAME=\"ssymm\" -DNO_AFFINITY
-I.. -I. -UDOUBLE -UCOMPLEX symm.c -o ssymm.o
In file included from ../common.h:536:0,
from gemm.c:41:
gemm.c: In function 'sgemm_':
../common_param.h:981:18: error: 'SGEMM_DEFAULT_P' undeclared (first use
in this function)
#define SGEMM_P SGEMM_DEFAULT_P
^
../common_param.h:1117:18: note: in expansion of macro 'SGEMM_P'
#define GEMM_P SGEMM_P
^~~~~~~
gemm.c:414:37: note: in expansion of macro 'GEMM_P'
sb = (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE +
GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
^~~~~~
../common_param.h:981:18: note: each undeclared identifier is reported
only once for each function it appears in
#define SGEMM_P SGEMM_DEFAULT_P
^
../common_param.h:1117:18: note: in expansion of macro 'SGEMM_P'
#define GEMM_P SGEMM_P
^~~~~~~
gemm.c:414:37: note: in expansion of macro 'GEMM_P'
sb = (XFLOAT *)(((BLASLONG)sa + ((GEMM_P * GEMM_Q * COMPSIZE * SIZE +
GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
^~~~~~
make[1]: *** [sgemm.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58179#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list