@Paran0, so I think LAPACK is not built with mobile at the moment. I dont have the historical context as to why. It maybe size related.
Digging deeper into this I see that we use Eigen for BLAS. Eigen does support LAPACK but pytorch build system does not even build for LAPACK as you pointed out. pytorch/Dependencies.cmake at master · pytorch/pytorch · GitHub 1
In order to change this we likely have to make some changes here: https://github.com/pytorch/pytorch/blob/master/cmake/Modules/FindLAPACK.cmaketo 3 account for eigen, or just build eigen with LAPACK and set USE_LAPACK to 1 here: pytorch/Dependencies.cmake at master · pytorch/pytorch · GitHub 5
Either way this will take some time to do on our end. @IvanKobzarev can you help with this?
Alternatively, you can also try to follow this. The earlier undefined symbol error you got is because of not building eigen with LAPACK, I think.