AkashJohnSubash / acados

Fast and embedded solvers for nonlinear optimal control
Other
0 stars 0 forks source link

BLASFEO and linear algebra libraries unrecognised on Mac m1 #2

Open AkashJohnSubash opened 5 months ago

AkashJohnSubash commented 5 months ago

Since CMAKE_HOST_SYSTEM_PROCESSOR (inherited from environment var arch) value is arm64 instead of aarch64, the BLASFEO and Linear algebra libraries are built for X64_AUTOMATIC instead of the correct target ARMV8A_ARM_CORTEX_A57 on m1 . Possibly leads to slower solutions times

AkashJohnSubash commented 3 months ago

on Ubuntu Jammy running on m1 (natively built via asahi), the correct ARMV8A_ARM_CORTEX_A57 target is identified, but tera_renderer v0.0.34 needs to be compiled from source from acados/tera