diff options
| author | ruki <[email protected]> | 2024-06-03 15:40:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-03 15:40:34 +0800 |
| commit | feb4841a8d97627c62dd6d5b5bf1774b5caf2285 (patch) | |
| tree | c6d564991080d089fcbf957ab06b9f71a2b6940d /xmake/modules | |
| parent | af97444bbaf09dc62321ac0c60bde94f6da86a1a (diff) | |
| parent | 95e8a7a663fd740f7a8cd01baa00ccd5ae42cef1 (diff) | |
Merge pull request #5183 from Altina-oz/patch-1
Intel has changed its default path for icx
Diffstat (limited to 'xmake/modules')
| -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) |
