Hi,

I am trying to create a recipe for pytorch (https://github.com/pytorch/pytorch)
with GPU accceleration but it seems I ran into a few issues.

The intel-oneapi-mkl recipe simply repackages the contents of a DEB package.

There are some problems with this as this recipe cannot be used to build
others that would link to e.g. libmkl_intel_lp64.so

* the contents are installed into /opt so sysroot-destdir is empty
* if I add /opt to SYSROOT_DIRS, then the libraries are carried
  over  intel-oneapi-mkl into recipe-sysroot but they are
  in /opt and this directory is not used by default to find
  libraries
* even if I convince pytorch to look for the library in the
  correct location, it stil looks for mkl_cblas.h which is
  not present in the intel-oneapi-mkl package.

Why isn't MKL built from sources and installed into the standard
locations just like everything else in Yocto?

Thanks for any help.

Best regards,
Zoltán Böszörményi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7609): 
https://lists.yoctoproject.org/g/meta-intel/message/7609
Mute This Topic: https://lists.yoctoproject.org/mt/92895333/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to