improve to fetch openmp #5610 (#5626)

autoupdate-pocketpy-v2.0.1
ruki 4 weeks ago committed by GitHub
parent 051acbb95e
commit 2c8f70000c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      packages/o/openmp/xmake.lua

@ -19,10 +19,9 @@ package("openmp")
end) end)
on_fetch(function (package) on_fetch(function (package)
for _, dep in ipairs(package:orderdeps()) do local libomp = package:dep("libomp")
if not dep:fetch() then if libomp and not libomp:fetch() then
return return
end
end end
local result = {} local result = {}
if package.has_tool then if package.has_tool then

Loading…
Cancel
Save