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