Skip to content

Commit 8fc9ded

Browse files
committed
doc: add oneApi toolchain
Document how to use oneApi toolkit with Zephyr. Signed-off-by: Anas Nashif <[email protected]>
1 parent 1bb4e71 commit 8fc9ded

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

doc/getting_started/toolchain_3rd_party_x_compilers.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,26 @@ GNU ARM Embedded
5050
> echo %GNUARMEMB_TOOLCHAIN_PATH%
5151
C:\gnu_arm_embedded
5252
53+
Intel oneApi Toolkits
54+
*********************
55+
56+
#. Download `Intel oneAPI Base Toolkit
57+
<https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html>`_
58+
59+
#. Assuming the toolkit is installed in ``/opt/intel/oneApi``, set environment
60+
using::
61+
62+
export ONEAPI_TOOLCHAIN_PATH=/opt/intel/oneapi
63+
source $ONEAPI_TOOLCHAIN_PATH/compiler/latest/env/vars.sh
64+
65+
To setup the complete oneApi environment, use::
66+
67+
source /opt/intel/oneapi/setvars.sh
68+
69+
The above will also change the python environment to the one used by the
70+
toolchain and might conflict with what Zephyr uses.
71+
72+
#. Set :envvar:`ZEPHYR_TOOLCHAIN_VARIANT` to ``oneApi``.
5373

5474
DesignWare ARC MetaWare Development Toolkit (MWDT)
5575
**************************************************

0 commit comments

Comments
 (0)