diff options
| author | Altina Orion <[email protected]> | 2024-06-03 15:12:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-03 15:12:23 +0800 |
| commit | 95e8a7a663fd740f7a8cd01baa00ccd5ae42cef1 (patch) | |
| tree | 53e6e7dd8b92330cc56fa1de61b8b11c9e5ea611 | |
| parent | 2322a631b30ca69cd719e0acb1ba4ec735a26b81 (diff) | |
Intel has changed its default path for icx: there is no "linux" anymore, for example: \\wsl.localhost\Ubuntu-24.04\opt\intel\oneapi\compiler\2024.1\bin
| -rw-r--r-- | xmake/modules/detect/sdks/find_icxenv.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_icxenv.lua b/xmake/modules/detect/sdks/find_icxenv.lua index 4e2293415..175729827 100644 --- a/xmake/modules/detect/sdks/find_icxenv.lua +++ b/xmake/modules/detect/sdks/find_icxenv.lua @@ -123,6 +123,7 @@ function _find_intel_on_linux(opt) paths = {} for _, rootdir in ipairs(oneapi_rootdirs) do table.insert(paths, path.join(rootdir, "*", is_host("macosx") and "mac" or "linux", "bin")) + table.insert(paths, path.join(rootdir, "*", "bin")) end if #paths > 0 then local icx = find_file("icx", paths) |
