Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions pkgs/c/compat.gmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,25 +89,34 @@ package = {
-- carried `xim:make@latest` on linux and nothing on macOS, which is the
-- kind of per-platform asymmetry that only shows up as a red job.
--
-- No CN mirror table yet: mirroring needs an `mcpp-res` upload of the
-- identical bytes, which is a maintainer action. lint accepts the plain
-- string form and CN users fall back to ftp.gnu.org until then.
-- CN mirrors the identical bytes from `mcpp-res/gmp` -- the gitcode
-- release asset is a byte-for-byte copy of the ftp.gnu.org tarball, so
-- the single sha256 below authenticates either arm of the table.
xpm = {
linux = {
["6.3.0"] = {
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
url = {
GLOBAL = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/gmp/releases/download/6.3.0/gmp-6.3.0.tar.gz",
},
sha256 = "e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c",
},
},
macosx = {
["6.3.0"] = {
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
url = {
GLOBAL = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/gmp/releases/download/6.3.0/gmp-6.3.0.tar.gz",
},
sha256 = "e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c",
},
},
windows = {
["6.3.0"] = {
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
url = {
GLOBAL = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/gmp/releases/download/6.3.0/gmp-6.3.0.tar.gz",
},
sha256 = "e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c",
},
},
Expand Down
21 changes: 15 additions & 6 deletions tools/gmp/generate_descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,25 +658,34 @@ def lua_string(s):
-- carried `xim:make@latest` on linux and nothing on macOS, which is the
-- kind of per-platform asymmetry that only shows up as a red job.
--
-- No CN mirror table yet: mirroring needs an `mcpp-res` upload of the
-- identical bytes, which is a maintainer action. lint accepts the plain
-- string form and CN users fall back to ftp.gnu.org until then.
-- CN mirrors the identical bytes from `mcpp-res/gmp` -- the gitcode
-- release asset is a byte-for-byte copy of the ftp.gnu.org tarball, so
-- the single sha256 below authenticates either arm of the table.
xpm = {
linux = {
["6.3.0"] = {
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
url = {
GLOBAL = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/gmp/releases/download/6.3.0/gmp-6.3.0.tar.gz",
},
sha256 = "e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c",
},
},
macosx = {
["6.3.0"] = {
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
url = {
GLOBAL = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/gmp/releases/download/6.3.0/gmp-6.3.0.tar.gz",
},
sha256 = "e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c",
},
},
windows = {
["6.3.0"] = {
url = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
url = {
GLOBAL = "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/gmp/releases/download/6.3.0/gmp-6.3.0.tar.gz",
},
sha256 = "e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c",
},
},
Expand Down
Loading