Open Zhihaibi opened 5 months ago
Hi, if you choose generic target in HPIPM (and generic or some armv8a target in BLASFEO), then these flags should definitely not be set, you can inspect yourself the make or cmake building scripts. So I would guess, either there is a cache somewhere that still sets a different target, or the build system in the OCS2 framework overwrites your manual settings. You can try to investigate this and in case contact the developers of OCS2 if that is the issue. Once you find a solution to the issue, please also post it here.
Hi,
I am trying to compile hpipm on Arm (nvidia tegra xavier (nvgpu)/integrated, armv8, ubuntu 18.04 )
and meet these error: Unrecognized command line option '-m64' and '-mavx'
I have already switched to the GENERIC target in HPIPM in Cmakelist.txt:
Target architecture
set(TARGET AVX CACHE STRING "Set CPU architecture target")
set(TARGET GENERIC CACHE STRING "Set CPU architecture target")
and in makefile.rule, I modify to:
Target architecture
TARGET = AVX512
TARGET = AVX
TARGET = GENERIC
But I still get this error, do you know how to solve it? Thank you very much!