I'm trying to get the new xcore.ai explorer board going and following the XCORE SDK install steps (https://www.xmos.ai/documentation/XM-01 ... stallation) but am getting the following errors on M1. Is M1 supported?
XCORE SDK Install on M1 Topic is solved
-
- XCore Addict
- Posts: 224
- Joined: Tue Jan 17, 2017 9:25 pm
XCORE SDK Install on M1
You do not have the required permissions to view the files attached to this post.
View Solution
-
- Member++
- Posts: 21
- Joined: Sat Jun 20, 2020 7:15 am
arch -x86_64 is probably needed before the make command.
Then everything should work under rosetta I guess.
Then everything should work under rosetta I guess.
-
- XCore Addict
- Posts: 224
- Joined: Tue Jan 17, 2017 9:25 pm
For anyone else having this issue (am I really the first to try to build on Apple silicon?) here is the reccomended work around:
First, you can force CMake to build the x86 host app by adding the following line to the top of the file examples/freertos/device_control/host/CMakeLists.txt:
The x86 host app will run on an M1. Alternatively, you can bypass the device control host app build by commenting out this line in examples/examples.cmake:
First, you can force CMake to build the x86 host app by adding the following line to the top of the file examples/freertos/device_control/host/CMakeLists.txt:
Code: Select all
set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE INTERNAL "")
Code: Select all
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/freertos/device_control/host)