CogentEmbedded / meta-opencl

Yocto OpenCL Caffe support
MIT License
1 stars 6 forks source link

fortran #2

Open ghost opened 6 years ago

ghost commented 6 years ago

https://elinux.org/R-Car/Boards/Yocto-Gen3/OpenCL says it includes libgfortran - GNU Fortran library where can be found?

vbce commented 6 years ago

If you follow the instructions on how to enable gfortran, you should be able to find /usr/lib/libgfortran.so in your rootfs image.

Daparrag commented 1 year ago

Where are the instructions?

vbce commented 1 year ago

IIRC, the instructions should be available at yoctoproject.org. Try adding following to the local.conf:

FORTRAN_forcevariable = ",fortran"
RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath libgfortran"
IMAGE_INSTALL_append = " gfortran gfortran-symlinks libgfortran libgfortran-dev"