diff options
| -rw-r--r-- | xmake/modules/core/tools/icx.lua | 11 | ||||
| -rw-r--r-- | xmake/modules/core/tools/icx_cc.lua | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/icx.lua b/xmake/modules/core/tools/icx.lua index 43bf33721..f9464883e 100644 --- a/xmake/modules/core/tools/icx.lua +++ b/xmake/modules/core/tools/icx.lua @@ -15,8 +15,13 @@ -- Copyright (C) 2015-present, Xmake Open Source Community. -- -- @author ruki --- @file icc.lua +-- @file icx.lua -- --- inherit gcc -inherit("clang") +-- https://github.com/xmake-io/xmake/issues/7438 +-- https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/get-started-guide/2024-1/get-started-on-windows.html +if is_host("windows") then + inherit("clang_cl") +else + inherit("clang") +end diff --git a/xmake/modules/core/tools/icx_cc.lua b/xmake/modules/core/tools/icx_cc.lua index 19278863a..3023a617d 100644 --- a/xmake/modules/core/tools/icx_cc.lua +++ b/xmake/modules/core/tools/icx_cc.lua @@ -18,4 +18,5 @@ -- @file icx_cc.lua -- -inherit("clang_cl") +-- inherit icx (clang-compatible) +inherit("clang") |
