Date: Fri, 16 Nov 2018 22:27:19 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: phd_kimberlite@yahoo.co.jp Cc: freebsd-ports@freebsd.org Subject: math/openblas fails to build. Message-ID: <CAJuc1zMmcE9F-N%2B5p2gs5wUA-QLauU5O76-0XUrd6y43ivrKYQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I'm trying to build math/openblas on 11.2-STABLE/amd64 with synth, and the build is currently failing with: ===> Building for openblas-0.2.20_3,1 cd /construction/xports/math/openblas/work/OpenBLAS-0.2.20 ; /usr/bin/env BINARY64=1 DYNAMIC_ARCH=1 NO_AVX=1 NO_AVX2=1 NUM_THREADS=1 USE_THREAD=0 gmake DESTDIR=/construction/xports/math/openblas/work/stage gmake[1]: Entering directory '/construction/xports/math/openblas/work/OpenBLAS-0.2.20' getarch_2nd.c:12:35: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_M' printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:13:35: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N' printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:14:35: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_M' printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:15:35: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N' printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:19:35: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_M' printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:20:35: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_N' printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:21:35: error: use of undeclared identifier 'ZGEMM_DEFAULT_UNROLL_M' printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:22:35: error: use of undeclared identifier 'ZGEMM_DEFAULT_UNROLL_N' printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:29:37: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_M' printf("CGEMM3M_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:35:37: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N' printf("CGEMM3M_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:41:37: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_M' printf("ZGEMM3M_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^ getarch_2nd.c:47:37: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N' printf("ZGEMM3M_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^ getarch_2nd.c:69:50: error: use of undeclared identifier 'SGEMM_DEFAULT_Q' printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^ getarch_2nd.c:69:68: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N' printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^ getarch_2nd.c:70:50: error: use of undeclared identifier 'DGEMM_DEFAULT_Q' printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^ getarch_2nd.c:70:68: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N' printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^ getarch_2nd.c:71:50: error: use of undeclared identifier 'CGEMM_DEFAULT_Q' printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^ getarch_2nd.c:71:68: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_N' printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^ getarch_2nd.c:72:50: error: use of undeclared identifier 'ZGEMM_DEFAULT_Q' printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[1]: *** [Makefile.prebuild:58: getarch_2nd] Error 1 Makefile:128: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. gmake[1]: Leaving directory '/construction/xports/math/openblas/work/OpenBLAS-0.2.20' *** Error code 2 Stop. make: stopped in /xports/math/openblas Any ideas what's happening here? What do I need to do to get this to build? Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMmcE9F-N%2B5p2gs5wUA-QLauU5O76-0XUrd6y43ivrKYQ>