The latest development version of this page may be more current than this released 4.0.0 version.

Intel oneAPI Toolkit

  1. Download Intel oneAPI Base Toolkit

  2. 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.

  3. Set ZEPHYR_TOOLCHAIN_VARIANT to oneApi.