1bb4e71bf2
This adds preliminary support for the oneApi toolchain for X86. The toolchain is available from here: https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit/download.html Signed-off-by: Anas Nashif <anas.nashif@intel.com>
8 lines
204 B
CMake
8 lines
204 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(DEFINED TOOLCHAIN_HOME)
|
|
set(find_program_icx_args PATHS ${TOOLCHAIN_HOME} NO_DEFAULT_PATH)
|
|
endif()
|
|
|
|
find_program(CMAKE_C_COMPILER icx ${find_program_icx_args})
|