summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_ifort.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tools/find_ifort.lua')
-rw-r--r--xmake/modules/detect/tools/find_ifort.lua14
1 files changed, 0 insertions, 14 deletions
diff --git a/xmake/modules/detect/tools/find_ifort.lua b/xmake/modules/detect/tools/find_ifort.lua
index dfa8f254c..31f158996 100644
--- a/xmake/modules/detect/tools/find_ifort.lua
+++ b/xmake/modules/detect/tools/find_ifort.lua
@@ -52,20 +52,6 @@ function main(opt)
return program, version
else
-- find program
- if is_host("linux") then
- local arch = os.arch() == "x86_64" and "intel64" or "ia32"
- local dirs = {"~/intel/oneapi/compiler/latest/linux"}
- opt.envs = opt.envs or {}
- opt.paths = opt.paths or {}
- local LD_LIBRARY_PATH = {}
- for _, dir in ipairs(dirs) do
- if os.isdir(dir) then
- table.insert(LD_LIBRARY_PATH, path.join(dir, "compiler/lib", arch))
- table.insert(opt.paths, path.join(dir, "bin", arch))
- end
- end
- opt.envs.LD_LIBRARY_PATH = path.joinenv(LD_LIBRARY_PATH)
- end
local program = find_program(opt.program or "ifort", opt)
-- find program version