disable precompiled for msys2 package

pull/3320/head
ruki 9 months ago
parent b338b5b235
commit 1e82d297e5
  1. 2
      packages/m/msys2-base/xmake.lua
  2. 2
      packages/m/msys2/xmake.lua

@ -8,6 +8,8 @@ package("msys2-base")
end}) end})
add_versions("2024.01.13", "04456a44a956d3c0b5f9b6c754918bf3a8c3d87c858be7a0c94c9171ab13c58c") add_versions("2024.01.13", "04456a44a956d3c0b5f9b6c754918bf3a8c3d87c858be7a0c94c9171ab13c58c")
set_policy("package.precompiled", false)
on_install("@windows|x64", function (package) on_install("@windows|x64", function (package)
-- reduce time required to install packages by disabling pacman's disk space checking -- reduce time required to install packages by disabling pacman's disk space checking
io.gsub("etc/pacman.conf", "^CheckSpace", "#CheckSpace") io.gsub("etc/pacman.conf", "^CheckSpace", "#CheckSpace")

@ -7,6 +7,8 @@ package("msys2")
add_configs("msystem", {description = "Set msys2 system.", type = "string", values = {"MSYS", "MINGW32", "MINGW64", "UCRT64", "CLANG32", "CLANG64", "CLANGARM64"}}) add_configs("msystem", {description = "Set msys2 system.", type = "string", values = {"MSYS", "MINGW32", "MINGW64", "UCRT64", "CLANG32", "CLANG64", "CLANGARM64"}})
set_policy("package.precompiled", false)
on_install("@windows|x64", function (package) on_install("@windows|x64", function (package)
local msys2_base = package:dep("msys2-base") local msys2_base = package:dep("msys2-base")
local msystem = package:config("msystem") local msystem = package:config("msystem")

Loading…
Cancel
Save