Skip to content

Commit

Permalink
Intel has changed its default path for icx: there is no "linux" anymo…
Browse files Browse the repository at this point in the history
…re, for example: \\wsl.localhost\Ubuntu-24.04\opt\intel\oneapi\compiler\2024.1\bin
  • Loading branch information
Altina-oz authored Jun 3, 2024
1 parent 2322a63 commit 95e8a7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmake/modules/detect/sdks/find_icxenv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 95e8a7a

Please sign in to comment.