Intel oneAPI Toolkit
Download Intel oneAPI Base Toolkit
Assuming the toolkit is installed in
/opt/intel/oneApi
, set environment using:# Linux, macOS: export ONEAPI_TOOLCHAIN_PATH=/opt/intel/oneapi source $ONEAPI_TOOLCHAIN_PATH/compiler/latest/env/vars.sh # Windows: > set ONEAPI_TOOLCHAIN_PATH=C:\Users\Intel\oneapi
To setup the complete oneApi environment, use:
source /opt/intel/oneapi/setvars.sh
The above will also change the python environment to the one used by the toolchain and might conflict with what Zephyr uses.
Set
ZEPHYR_TOOLCHAIN_VARIANT
tooneApi
.