Skip to content

Commit

Permalink
Merge pull request xmake-io#5183 from Altina-oz/patch-1
Browse files Browse the repository at this point in the history
Intel has changed its default path for icx
  • Loading branch information
waruqi authored Jun 3, 2024
2 parents af97444 + 95e8a7a commit feb4841
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 feb4841

Please sign in to comment.