<br><div>for now I took openblas recipe from here <a href="https://link.getmailspring.com/link/1521292484.local-966b54e7-d3df-v1.1.5-5834c99f@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2FCogentEmbedded%2Fmeta-opencl%2Ftree%2Fmaster%2Fmeta-ocl-common%2Frecipes-graphics%2Fopenblas&recipient=eW9jdG9AeW9jdG9wcm9qZWN0Lm9yZw%3D%3D" title="https://github.com/CogentEmbedded/meta-opencl/tree/master/meta-ocl-common/recipes-graphics/openblas">https://github.com/CogentEmbedded/meta-opencl/tree/master/meta-ocl-common/recipes-graphics/openblas</a></div><br><div>it compiles.</div><br><div>BTW how fortran can be added to yocto build?</div><br><div>Secondly I wanna to use it for scipy build but even though compiles with no error but openblas can't be found by this</div><br><div>NOTE: Executing RunQueue Tasks</div><div>ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution failed.</div><div>ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file is located at /../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/scipy/1.0.0-r0/temp/log.do_compile.12169)</div><div>ERROR: Logfile of failure stored in: /../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/scipy/1.0.0-r0/temp/log.do_compile.12169</div><div>Log data follows:</div><div>| DEBUG: Executing shell function do_compile</div><div>| ERROR: python setup.py build execution failed.</div><div>| /../build/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'</div><div>| warnings.warn(msg)</div><div>| lapack_opt_info:</div><div>| openblas_lapack_info:</div><div>| libraries openblas not found in ['/../build/tmp/sysroots/x86_64-linux/usr/lib']</div><div>| NOT AVAILABLE</div><br><div>Even openblas has been added still can't be found ... I look at scipy built from source guide it says </div><br><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em">export BLAS=/path/to/libblas.so<br>export LAPACK=/path/to/liblapack.so<br>export ATLAS=/path/to/libatlas.so<br>python setup.py ............</pre></code><br><div>I wonder if openblas needs to somwhow installed or is it issue of scipy build process ...</div><br><br><div><signature id="initial"><div><div>Sent from <a href="https://link.getmailspring.com/link/1521292484.local-966b54e7-d3df-v1.1.5-5834c99f@getmailspring.com/1?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=eW9jdG9AeW9jdG9wcm9qZWN0Lm9yZw%3D%3D">Mailspring</a>, the best free email app for work</div></div></signature></div><br><br><div class="gmail_quote_attribution">On Mar 17 2018, at 2:08 pm, Matthias Schöpfer <matthias.schoepfer@identpro.de> wrote:</div><blockquote><br><div><div>Hi Peter,</div><br><div>openblas builds for me fine. This seems to be more of an issue with</div><div>hard/softfloat than openBLAS.</div><br><div>If I remember correctly, there was at some point a problem with fortran,</div><div>which might be needed for openBLAS. But this seems not to be the issue</div><div>here.</div><br><div>Maybe try to compile it for qemu-x86 and see, if it works there...</div><br><div>Regards,</div><br><div>Matthias</div><br><div>On 03/17/2018 11:44 AM, Peter Balazovic wrote:</div><blockquote><div>Hello guys,</div><br><div>I tried to use openblas recipe from</div><div>https://layers.openembedded.org/layerindex/recipe/68888/</div><div>recipes-convnet/openblas/openblas_0.2.19.bb</div><div><http://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-extra/recipes-convnet/openblas/openblas_0.2.19.bb></div><br><div>Unfortunately got compiling error btw I notice there is further openBLAS</div><div>release 0.2.20, is there any update on that recipe?</div><br><br><div>Compiling problems:</div><br><div>NOTE: Executing RunQueue Tasks</div><div>ERROR: openblas-0.2.19-r0 do_compile: oe_runmake failed</div><div>ERROR: openblas-0.2.19-r0 do_compile: Function failed: do_compile (log</div><div>file is located at</div><div>../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836)</div><div>ERROR: Logfile of failure stored in:</div><div>../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836</div><div>Log data follows:</div><div>| DEBUG: Executing shell function do_compile</div><div>| NOTE: make -j 4 HOSTCC=gcc CC=arm-poky-linux-gnueabi-gcc </div><div>--sysroot=../build/tmp/sysroots/ ONLY_CBLAS=1 BINARY=32 TARGET=arm</div><div>| make[1]: warning: -jN forced in submake: disabling jobserver mode.</div><div>| make[1]: Entering directory</div><div>'../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface'</div><div>| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2</div><div>-pipe -g -feliminate-unused-debug-types</div><div>-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0</div><div>-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=</div><div>-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048</div><div>-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER</div><div>-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=</div><div>-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2</div><div>-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK</div><div>-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4</div><div>-DASMNAME=cblas_isamax -DASMFNAME=cblas_isamax_ -DNAME=cblas_isamax_</div><div>-DCNAME=cblas_isamax -DCHAR_NAME=\"cblas_isamax_\"</div><div>-DCHAR_CNAME=\"cblas_isamax\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX</div><div>-DCBLAS -c -DUSE_ABS -UUSE_MIN imax.c -o cblas_isamax.o</div><div>| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2</div><div>-pipe -g -feliminate-unused-debug-types</div><div>-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0</div><div>-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=</div><div>-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048</div><div>-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER</div><div>-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=</div><div>-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2</div><div>-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK</div><div>-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4</div><div>-DASMNAME=cblas_sasum -DASMFNAME=cblas_sasum_ -DNAME=cblas_sasum_</div><div>-DCNAME=cblas_sasum -DCHAR_NAME=\"cblas_sasum_\"</div><div>-DCHAR_CNAME=\"cblas_sasum\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX</div><div>-DCBLAS -c asum.c -o cblas_sasum.o</div><div>| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2</div><div>-pipe -g -feliminate-unused-debug-types</div><div>-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0</div><div>-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=</div><div>-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048</div><div>-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER</div><div>-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=</div><div>-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2</div><div>-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK</div><div>-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4</div><div>-DASMNAME=cblas_saxpy -DASMFNAME=cblas_saxpy_ -DNAME=cblas_saxpy_</div><div>-DCNAME=cblas_saxpy -DCHAR_NAME=\"cblas_saxpy_\"</div><div>-DCHAR_CNAME=\"cblas_saxpy\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX</div><div>-DCBLAS -c axpy.c -o cblas_saxpy.o</div><div>| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2</div><div>-pipe -g -feliminate-unused-debug-types</div><div>-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0</div><div>-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=</div><div>-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048</div><div>-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER</div><div>-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=</div><div>-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2</div><div>-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK</div><div>-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4</div><div>-DASMNAME=cblas_scopy -DASMFNAME=cblas_scopy_ -DNAME=cblas_scopy_</div><div>-DCNAME=cblas_scopy -DCHAR_NAME=\"cblas_scopy_\"</div><div>-DCHAR_CNAME=\"cblas_scopy\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX</div><div>-DCBLAS -c copy.c -o cblas_scopy.o</div><div>| <command-line>:0:0: warning: "ASMNAME" redefined</div><div>| <command-line>:0:0: warning: "ASMNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "ASMFNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "NAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_NAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "ASMNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "ASMFNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "NAME" redefined</div><div>| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,</div><div>| from ../build/tmp/sysroots//usr/include/stdio.h:27,</div><div>| from imax.c:39:</div><div>| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:</div><div>gnu/stubs-soft.h: No such file or directory</div><div>| # include <gnu/stubs-soft.h></div><div>| ^</div><div>| compilation terminated.</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_NAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "ASMFNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "NAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_NAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "ASMNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "ASMFNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "NAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_NAME" redefined</div><div>| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,</div><div>| from ../build/tmp/sysroots//usr/include/stdio.h:27,</div><div>| from axpy.c:39:</div><div>| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:</div><div>gnu/stubs-soft.h: No such file or directory</div><div>| # include <gnu/stubs-soft.h></div><div>| ^</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| <command-line>:0:0: warning: "CHAR_CNAME" redefined</div><div>| <command-line>:0:0: note: this is the location of the previous definition</div><div>| ERROR: oe_runmake failed</div><div>| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,</div><div>| from ../build/tmp/sysroots//usr/include/stdio.h:27,</div><div>| from asum.c:39:</div><div>| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:</div><div>gnu/stubs-soft.h: No such file or directory</div><div>| # include <gnu/stubs-soft.h></div><div>| ^</div><div>| compilation terminated.</div><div>| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,</div><div>| from ../build/tmp/sysroots//usr/include/stdio.h:27,</div><div>| from copy.c:39:</div><div>| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:</div><div>gnu/stubs-soft.h: No such file or directory</div><div>| # include <gnu/stubs-soft.h></div><div>| ^</div><div>| compilation terminated.</div><div>| compilation terminated.</div><div>| Makefile:1351: recipe for target 'cblas_isamax.o' failed</div><div>| make[1]: *** [cblas_isamax.o] Error 1</div><div>| make[1]: *** Waiting for unfinished jobs....</div><div>| Makefile:1375: recipe for target 'cblas_sasum.o' failed</div><div>| make[1]: *** [cblas_sasum.o] Error 1</div><div>| Makefile:1447: recipe for target 'cblas_scopy.o' failed</div><div>| make[1]: *** [cblas_scopy.o] Error 1</div><div>| Makefile:1435: recipe for target 'cblas_saxpy.o' failed</div><div>| make[1]: *** [cblas_saxpy.o] Error 1</div><div>| make[1]: Leaving directory</div><div>'../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface'</div><div>| Makefile:133: recipe for target 'libs' failed</div><div>| make: *** [libs] Error 1</div><div>| ERROR: Function failed: do_compile (log file is located at</div><div>../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836)</div><div>ERROR: Task</div><div>(../sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/openblas/openblas_0.2.19.bb:do_compile)</div><div>failed with exit code '1'</div><div>NOTE: Tasks Summary: Attempted 433 tasks of which 432 didn't need to be</div><div>rerun and 1 failed.</div></blockquote><br><br><div>--</div><div>Dr.-Ing. Matthias Schöpfer</div><br><div>Softwareentwicklung</div><br><div>____________________________________</div><br><div>IdentPro GmbH</div><div>Camp-Spich-Str. 4</div><div>53842 Troisdorf</div><br><div>Tel: +49 (0)2241 / 866 392 46</div><div>Fax: +49 (0)2241 / 866 392 99</div><div>eMail: matthias.schoepfer@identpro.de</div><br><div>http://www.identpro.de</div><br><div>identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B.</div><div>über 67.000 EUR pro Jahr bei 500 Transporten täglich! Berechnen Sie das</div><div>Einsparpotenzial für Ihr Lager mit dem identplus® Potenzialrechner.</div><br><div>identplus® live erleben: Vereinbaren Sie jetzt einen Termin!</div><br><div>---------------------------------</div><div>IdentPro GmbH</div><div>Member of Dr. Wack Holding GmbH & Co.KG</div><div>Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg</div><div>Geschäftsführer: Michael Wack</div><div>Umsatzsteuer-ID-Nr.: DE 254 824 945</div><div>WEEE-Reg.-Nr. DE 79026890</div></div></blockquote><img class="mailspring-open" alt="Open Tracking" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/1521292484.local-966b54e7-d3df-v1.1.5-5834c99f@getmailspring.com?recipient=eW9jdG9AeW9jdG9wcm9qZWN0Lm9yZw%3D%3D">