Compare commits

..

No commits in common. '733b0618da8109e7ed032df0ce798422a23e0fd1' and '63bbe92da3bf1630105c505768778dc1bf310fcc' have entirely different histories.

  1. 6
      packages/b/bison/xmake.lua
  2. 5
      packages/f/flex/xmake.lua
  3. 8
      packages/v/verilator/xmake.lua

@ -33,10 +33,10 @@ package("bison")
if package:is_library() then
package:set("kind", "library", {headeronly = true})
end
end)
if is_subhost("msys") and xmake:version():ge("2.9.7") then
package:add("deps", "pacman::bison", {configs = {msystem = "msys"}})
end
on_install("@msys", function (package)
import("package.manager.pacman.install_package")("", {pacmna = "bison"})
end)
on_install("windows", function (package)

@ -37,13 +37,10 @@ package("flex")
if package:is_library() then
package:set("kind", "library", {headeronly = true})
end
if is_subhost("msys") and xmake:version():ge("2.9.7") then
package:add("deps", "pacman::flex", {configs = {msystem = "msys"}})
end
end)
on_install("@msys", function (package)
import("package.manager.pacman.install_package")("", {pacmna = "flex"})
-- https://github.com/msys2/MSYS2-packages/issues/1911
if package:is_library() then
local msys_dir = os.getenv("MINGW_PREFIX")

@ -11,14 +11,6 @@ package("verilator")
add_deps("cmake")
if on_check then
on_check(function (package)
if is_subhost("msys") and xmake:version():lt("2.9.7") then
raise("package(verilator) requires xmake >= 2.9.7 on msys")
end
end)
end
on_load(function (package)
if not package:is_precompiled() then
package:add("deps", "flex", {kind = "library"})

Loading…
Cancel
Save