verilator-cmake
star9029 1 week ago
parent 999b2e4f90
commit 63bbe92da3
  1. 2
      packages/b/bison/xmake.lua
  2. 2
      packages/f/flex/xmake.lua

@ -36,7 +36,7 @@ package("bison")
end) end)
on_install("@msys", function (package) on_install("@msys", function (package)
os.vrun("pacman -Sy --noconfirm --needed --disable-download-timeout bison") import("package.manager.pacman.install_package")("", {pacmna = "bison"})
end) end)
on_install("windows", function (package) on_install("windows", function (package)

@ -40,7 +40,7 @@ package("flex")
end) end)
on_install("@msys", function (package) on_install("@msys", function (package)
os.vrun("pacman -Sy --noconfirm --needed --disable-download-timeout flex") import("package.manager.pacman.install_package")("", {pacmna = "flex"})
-- https://github.com/msys2/MSYS2-packages/issues/1911 -- https://github.com/msys2/MSYS2-packages/issues/1911
if package:is_library() then if package:is_library() then
local msys_dir = os.getenv("MINGW_PREFIX") local msys_dir = os.getenv("MINGW_PREFIX")

Loading…
Cancel
Save