mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +08:00
[vcpkg baseline][vcpkg-ci-msys2] Update msys2 (#36548)
* Limit CI * Update msys2 * Declare msys packages for pkgconfig and fortran... ... with explicit DEPS and PROVIDES, instead of using DIRECT_PACKAGES. This change makes it possible to notice changed dependencies in `vcpkg-ci-msys2` update checks. (Current case: zstd.) It also enables reuse of general declarations from `vcpkg_acquire_msys` in specialized cases (`vpckg_find_fortran`). Last not least, using the the Z_DECLARE_EXTRA_PACKAGES_COMMAND simplifies the implementation of `vcpkg-ci-msys2`, in particular for checks across platform boundaries. * Revert "Limit CI"
This commit is contained in:
parent
d83f4e9e56
commit
212d57331c
@ -157,7 +157,7 @@ endfunction()
|
||||
function(vcpkg_acquire_msys out_msys_root)
|
||||
cmake_parse_arguments(PARSE_ARGV 1 "arg"
|
||||
"NO_DEFAULT_PACKAGES;Z_ALL_PACKAGES"
|
||||
""
|
||||
"Z_DECLARE_EXTRA_PACKAGES_COMMAND"
|
||||
"PACKAGES;DIRECT_PACKAGES"
|
||||
)
|
||||
|
||||
@ -166,6 +166,9 @@ function(vcpkg_acquire_msys out_msys_root)
|
||||
endif()
|
||||
|
||||
z_vcpkg_acquire_msys_declare_all_packages()
|
||||
if(NOT "${arg_Z_DECLARE_EXTRA_PACKAGES_COMMAND}" STREQUAL "")
|
||||
cmake_language(CALL "${arg_Z_DECLARE_EXTRA_PACKAGES_COMMAND}")
|
||||
endif()
|
||||
set(requested "${arg_PACKAGES}")
|
||||
if(arg_Z_ALL_PACKAGES)
|
||||
set(requested "${Z_VCPKG_MSYS_PACKAGES_AVAILABLE}")
|
||||
@ -261,14 +264,14 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
|
||||
# msys subsystem
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst"
|
||||
SHA512 601ceb483ddf49d744ed7e365317d64777752e35010a1087082452afd42d8d29fc5331cb3fa4654eb09eec85416c8c5b70fed91a45acfaa667f06f80e6d42f30
|
||||
URL "https://mirror.msys2.org/msys/x86_64/autoconf-wrapper-20221207-2-any.pkg.tar.zst"
|
||||
SHA512 a4034378a142321d4cc7299a73e65f01c158524c4f3a5a86109da111eb3aecba3e944d848b99b8a90b783e7bdf410e75e7331e8f14961ceca5764659da92f2e5
|
||||
PROVIDES autoconf
|
||||
DEPS autoconf2.71 bash sed
|
||||
DEPS autoconf2.72 bash sed
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/autoconf2.71-2.71-3-any.pkg.tar.zst"
|
||||
SHA512 dd312c428b2e19afd00899eb53ea4255794dea4c19d1d6dea2419cb6a54209ea2130d48abbc20af12196b9f628143436f736fbf889809c2c2291be0c69c0e306
|
||||
URL "https://mirror.msys2.org/msys/x86_64/autoconf2.72-2.72-1-any.pkg.tar.zst"
|
||||
SHA512 c8dc3e317dc4befc5f2848ac339a74f9dc8f021767aadb3d2c50b13869e0ef49fb48c62a0a1df5176a15a4f10196fcd2307efb83ff143ba1d20301882ba8dd1e
|
||||
DEPS awk bash diffutils m4 perl sed
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -276,8 +279,8 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
SHA512 0dbdba67934402eeb974e6738eb9857d013342b4e3a11200710b87fbf085d5bebf49b29b6a14b6ff2511b126549919a375b68f19cc22aa18f6ba23c57290ac72
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst"
|
||||
SHA512 22a65f75d1f19788cab93ecf70cb653fcedf67c18285ccbd2bb74ed1303dae8b09e9cfff40e8733920e75d8c4754d59481fa0c5b07d0c28803809448b011f45f
|
||||
URL "https://mirror.msys2.org/msys/x86_64/automake-wrapper-20221207-2-any.pkg.tar.zst"
|
||||
SHA512 4351c607edcf00df055b1310a790e41a63c575fbd80a6888d3693b88cad31d4628f9b96f849e319089893c826cf4473d9b31206d7ccb4cea15fd05b6b0ccb582
|
||||
PROVIDES automake
|
||||
DEPS automake1.16 bash gawk
|
||||
)
|
||||
@ -288,13 +291,13 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
PATCHES "${Z_VCPKG_AUTOMAKE_CLANG_CL_PATCH}"
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/bash-5.2.021-1-x86_64.pkg.tar.zst"
|
||||
SHA512 ae487f08549ba269a55b7c4b184f4c02bb1c41711e3c6d112fa8ae62ca7a67e2b2ad41eca7828821119e815010ab83669293252d31ac46d3025f3aa8fcf3016e
|
||||
URL "https://mirror.msys2.org/msys/x86_64/bash-5.2.026-1-x86_64.pkg.tar.zst"
|
||||
SHA512 f69046b27b0ecec6afc60b3ba107491c50c70f6f41b989fe6fcc58da798345cb8336ff6cc668bc13ee49ff24d3be4b5932bc8fe87e80da4e6243063c18f0dcf8
|
||||
PROVIDES sh
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/binutils-2.41-3-x86_64.pkg.tar.zst"
|
||||
SHA512 37f579643039564b7ec12da8ff81142d1877145bfe717e40a9a3de19ce5a4369d4098e64f91f9a3cd79ced8dd25082dae432f58affd4e7fe64acb96dcf99dc22
|
||||
URL "https://mirror.msys2.org/msys/x86_64/binutils-2.42-1-x86_64.pkg.tar.zst"
|
||||
SHA512 6e12fbb6e7a14bac5cf3665d0e9867d40ef47ba76d4887748671e46e9ea288dbfc59b40461e6552559aa24651a057c18c022d2f24d679edfc42d8ca7e43af28d
|
||||
DEPS libiconv libintl zlib
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -383,8 +386,8 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS gcc-libs libiconv
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/liblzma-5.4.5-1-x86_64.pkg.tar.zst"
|
||||
SHA512 3597c5dfb68eb6cdc06904d3d9e00c446bd9f1459d6ff78aae148bf27e879bd32a326556c68b91603d04b20b1af6ac02808dc5aedc8ca1510b294b658ec6ce87
|
||||
URL "https://mirror.msys2.org/msys/x86_64/liblzma-5.4.6-2-x86_64.pkg.tar.zst"
|
||||
SHA512 d79bf6089f258e17226b30c1d68ee7b391048174386d366007f2361f2db0dc069a056549f483ac62285db238d9812d801bc347684ab485058d55cad16ce36dc0
|
||||
# This package installs only a DLL. No extra deps.
|
||||
DEPS # gettext libiconv sh
|
||||
)
|
||||
@ -394,8 +397,8 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS gcc-libs
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/libreadline-8.2.007-1-x86_64.pkg.tar.zst"
|
||||
SHA512 f25d667448de47640636a44dfadfc4b9a0fb6ce51e9d61fce87989f3d307e98c41d37ea3a5b5de47efeb259ef2582ac7ae6774bf619aa5adcf7cff462707fbbb
|
||||
URL "https://mirror.msys2.org/msys/x86_64/libreadline-8.2.010-1-x86_64.pkg.tar.zst"
|
||||
SHA512 ce5e4b4abd347a2e8d4a48860aca062b0478000b3696859d0e143643f16b845bc0e7c84bf4fbf95cbcc043a6acebe2d28acc65b763d2de6a95f13ab6b3a3649f
|
||||
DEPS ncurses
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -431,8 +434,8 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS gmp
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.4.9-3-x86_64.pkg.tar.zst"
|
||||
SHA512 2695dd70a7f93926cc7077dc6f57a273a408aa3943a44268870d01096b6537904890fc302838f036ecc13ffa662f4ed7d56f9fc146b41fd777390c9cbf0b6a77
|
||||
URL "https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.4.10-4-x86_64.pkg.tar.zst"
|
||||
SHA512 b921b59b840dc2813825917dcff0c3686658f9af556bdb95b536fcb949d593886c9815e4bff136472797218e1f0462fbc49f87f2a31ec9abb2407c5506807f88
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/ncurses-6.4-2-x86_64.pkg.tar.zst"
|
||||
@ -444,8 +447,8 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
SHA512 eb484156e6e93da061645437859531f7b04abe6fef9973027343302f088a8681d413d87c5635a10b61ddc4a3e4d537af1de7552b3a13106639e451b95831ec91
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/perl-5.36.1-2-x86_64.pkg.tar.zst"
|
||||
SHA512 0aead6f3df994c880726bec4c32b80f09b01ad0acaeb58f6a37d073f3278d7362eca70f6cdd1276a3838e9fc0b2f11f62e135a1139eef3f7b0ddd2520addff3b
|
||||
URL "https://mirror.msys2.org/msys/x86_64/perl-5.38.2-1-x86_64.pkg.tar.zst"
|
||||
SHA512 00c992e0fd8847f579dd33a82140034c6a81b650f456d2b22706f82c5c6db04dce4f1194024775081ae7bffa01afc476df1815ec7cc98ebb0a676726a0c1c2b2
|
||||
DEPS coreutils libxcrypt sh
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -464,13 +467,13 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS libiconv libintl sh
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/texinfo-7.1-1-x86_64.pkg.tar.zst"
|
||||
SHA512 19b985991b92ba6cc7d5057b27488d770a056dc6c68a6af6c83d9814dbf8ea289b5c770a17564b1eddceb10e80c31146556e2a766921624fa1b81fecc52a1bab
|
||||
URL "https://mirror.msys2.org/msys/x86_64/texinfo-7.1-2-x86_64.pkg.tar.zst"
|
||||
SHA512 10edea1d3e2720afd47f0ff77ba47849b3eaf5d62d6025c3bce1d683302ae11126e7ee7b26751d1a6a66bc86a4c09021feb373434b1808441897e02245235c7b
|
||||
DEPS perl sh
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/unzip-6.0-2-x86_64.pkg.tar.xz"
|
||||
SHA512 b8a1e0ce6deff26939cb46267f80ada0a623b7d782e80873cea3d388b4dc3a1053b14d7565b31f70bc904bf66f66ab58ccc1cd6bfa677065de1f279dd331afb9
|
||||
URL "https://mirror.msys2.org/msys/x86_64/unzip-6.0-3-x86_64.pkg.tar.zst"
|
||||
SHA512 1d6df49e826617ef3d3976be33361e189d8a5aee3a33ae79474fd08ca44ebd113981e6ba25c968b3cf5fb9826edd42dee21a97261cbc86fd8b143c950ba1f357
|
||||
DEPS bash libbz2
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -479,13 +482,13 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS sh
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/xz-5.4.5-1-x86_64.pkg.tar.zst"
|
||||
SHA512 a594d11653ebf59a6325de3d1c51a6cc5584b3b81a9e3e94995e3af82d5a113022ad7b847177528dc549e32dd6c0f7be43e678c71df2867495b5b2273a25fb61
|
||||
URL "https://mirror.msys2.org/msys/x86_64/xz-5.4.6-2-x86_64.pkg.tar.zst"
|
||||
SHA512 301e612ce0174b1d80a0e40c96f6bc2941c57f5e2a6c0e8e05b9d479cc000204d0df364c0a4df6eeb923107bee3e8f20cbef35825a2eec3e489c525ce2605534
|
||||
DEPS libiconv libintl liblzma
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/msys/x86_64/zlib-1.3-1-x86_64.pkg.tar.zst"
|
||||
SHA512 365ab41ce28a4cfcd2dd62824381baca0dd15be6e7f4028db54503c7a30c849c2139333118c845ca84d7052c4ef38dcaf0f103ceee2f127c2474a9d38a196695
|
||||
URL "https://mirror.msys2.org/msys/x86_64/zlib-1.3.1-1-x86_64.pkg.tar.zst"
|
||||
SHA512 a432b0f927d342b678df706487595eff1b780371548933f956adcf697eea11ddbca2863d9d9fb88675a7040dcfddab56f8f71a8ae4d0cd4969e715545c77e87c
|
||||
DEPS gcc-libs
|
||||
)
|
||||
|
||||
@ -505,20 +508,21 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
SHA512 b49ec84750387af5b73a78d654673d62cf0e2cb2b59b4d25acb7eca3830018f7a2aefe600d67d843417cfbdd97db81ecfd49a8811e312f53b42c21fb106b230d
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-13.2.0-2-any.pkg.tar.zst"
|
||||
SHA512 206eb7c19060b13286be4966611fe30d4c8a3e17df42aa9ebc5a18da384f16ad149504721b89c615c3cd1579f6744932ea0578ae3c16479472d70ce1a2441e30
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 da0902979b2fd1a556d639587caeb24a756bdab29f6179fdb2deac3463bb7c150f13db6b944da2a7ade69d496199b7e8bd22ec1515beb26fab1a01e3b4e6c2bd
|
||||
PROVIDES mingw-w64-x86_64-fc-libs
|
||||
DEPS mingw-w64-x86_64-gcc-libs
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-13.2.0-2-any.pkg.tar.zst"
|
||||
SHA512 28965ec13cd1006955c7182589d0896f92b7eb29c7d42434fcdc9b93450b51f32b4ce28dc830700e3aa735133facb6db6808db2ac0fae494d601cf3f4a7739e2
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 f904ee75196ab63df4b63b84f08bfd5956a178c72fea21fdcf8727f7d70f538b358a546316c4542c36a5c3169f88437426c785ac8e2a99d8eb952be7429216d4
|
||||
PROVIDES mingw-w64-x86_64-omp
|
||||
DEPS mingw-w64-x86_64-libwinpthread
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gettext-0.22.4-3-any.pkg.tar.zst"
|
||||
SHA512 faf6975be9ab7c8099900985ac3f89e188d0d578958dfef029d63ba808c9a1ae52c8f3bfda61ce49a4930d0b3633f590a8d86e0727e761ef617da2a7214a7abe
|
||||
DEPS mingw-w64-x86_64-expat mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-libiconv
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.4-5-any.pkg.tar.zst"
|
||||
SHA512 03a0210dd2c57a282e8de6a96d871cf8957b16a88464f62fa0cbf42e6ccf60046ce2ff7fcabd086775893f7ade92bb9f9bf5740e92aba6efbdc2aea3ece35c73
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-libiconv
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst"
|
||||
@ -529,12 +533,12 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
SHA512 ec88a0e0cb9b3ff3879d3fd952d3ad52f0d86a42669eddaeca47778ab0d5213abdea7d480a23aa3870e08d6b93b9c4988855e368474be7186e9719456baae5df
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-3-any.pkg.tar.zst"
|
||||
SHA512 57221118a6ed975ddde322e0d34487d4752c18c62c6184e9ed77ca14fe0a3a78a78aefe628cda3285294a5564d87cd057c56f4864b12fa8580d68b8e8a805e16
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst"
|
||||
SHA512 dc703b103291a5b89175c3ddf4282c1a40bcd91549c8f993300671b9afffb28559e118a2c665f47a465bd7286b9e3400c29d42761e0189c425fb156b37783927
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libsystre-1.0.1-4-any.pkg.tar.xz"
|
||||
SHA512 6540e896636d00d1ea4782965b3fe4d4ef1e32e689a98d25e2987191295b319eb1de2e56be3a4b524ff94f522a6c3e55f8159c1a6f58c8739e90f8e24e2d40d8
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libsystre-1.0.1-5-any.pkg.tar.zst"
|
||||
SHA512 10ea2bacebb8b05c642f34c0ecf61710b9f1906615851825d1104d0e25b1a911f7541a3068b97de2eb71aa13d6963f61c7fdf051c5582e0868a6f90b93f7aa77
|
||||
PROVIDES mingw-w64-x86_64-libgnurx
|
||||
DEPS mingw-w64-x86_64-libtre
|
||||
)
|
||||
@ -544,14 +548,14 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS mingw-w64-x86_64-gcc-libs
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libtre-git-r128.6fb7206-2-any.pkg.tar.xz"
|
||||
SHA512 d595dbcf3a3b6ed098e46f370533ab86433efcd6b4d3dcf00bbe944ab8c17db7a20f6535b523da43b061f071a3b8aa651700b443ae14ec752ae87500ccc0332d
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libtre-git-r177.07e66d0-2-any.pkg.tar.zst"
|
||||
SHA512 a21a03fd446707f748f4101e723f71d5f2c93c736d86205dc9eee6681d1bb1248283b8921f897391b56143d8dcf6be29cf8c2c57abcf32e1e4d0b2ea2309a790
|
||||
PROVIDES mingw-w64-x86_64-libtre
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-gettext
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-gettext-runtime
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
SHA512 d8e1032fa82283bc1acab5aa1273a94f11ce42ac34c9c656b11acb2e06a400cc15a9fee9f97d99f7c11803d66948c6840051ef7a6a8d9ba1d1cb0d5cb2682cef
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 2742d5939e6f677d148f0f07ddc399bf8e4bf3c07f9b90160f20314f1c69e549b9f9d6cbf0df35d7f950d2e09e57c56c0496475cb66f053dcf0bcfdf3bb14bb1
|
||||
PROVIDES mingw-w64-x86_64-libwinpthread
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -570,46 +574,46 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-gmp
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-ncurses-6.4.20230708-1-any.pkg.tar.zst"
|
||||
SHA512 7d0acb481c8bc60381b8255a611a0ea19827f5d540e71532e4077ad91755f8069cb7826d9249ec113ae13e6db348d5253d2378739a11882e0faac43656fce9f2
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-ncurses-6.4.20231217-1-any.pkg.tar.zst"
|
||||
SHA512 54a936731589a1af653dc73da983b683e8fc687e9c3737f5215acdef70e3596cddce44d01a6e98e482fd3f071da20cd5ab10b54d52cbdc0b34bbdc090a1cf3d3
|
||||
DEPS mingw-w64-x86_64-libsystre
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openblas-0.3.25-1-any.pkg.tar.zst"
|
||||
SHA512 f93988ca6d99cb07776923a3458cb132bc6991592b24e1a4bab65dbfb8a9854f1654c203fe595840fee9129e93a0695da6999b2ec18980d4822ef787d3e6176e
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openblas-0.3.26-1-any.pkg.tar.zst"
|
||||
SHA512 de5b2b3eca6976a26dded23d5be6f1cdccb68e4a41a3568f917f78aee2bc9c91b5ff7e566cbc2fa9d6852c57b90bb92a36b95efe458c88f1819961a27d91129b
|
||||
PROVIDES mingw-w64-x86_64-OpenBLAS
|
||||
DEPS mingw-w64-x86_64-gcc-libgfortran mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-libwinpthread mingw-w64-x86_64-omp
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openssl-3.2.0-1-any.pkg.tar.zst"
|
||||
SHA512 e95127a442d6b0ee6f7919287a8ebbf16e71135b39d1fd0ed38fb2c53b52f95e8dac831fb797bd36531c8f5834b51164b1384c6c8211bcdd278b1ccef8db8360
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-openssl-3.2.1-1-any.pkg.tar.zst"
|
||||
SHA512 706218c8d7321358cf7f1c472c89c19f88245eeff5037712b2a64c9f81166bcd7b2a06cc3343af5a75a65c520890d845d8d1234feddbe622992b6e9825e81f5c
|
||||
#DEPS mingw-w64-x86_64-ca-certificates mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-zlib
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-p11-kit-0.25.3-1-any.pkg.tar.zst"
|
||||
SHA512 2e1aae91f0f103e745a10557cb83062ed87910a1142c8bfd756bad5ce3789ff88823cd03b6b7be920dc367e5b240724fd0e7a6a203b7a6269b2f1d4657a37726
|
||||
DEPS mingw-w64-x86_64-gettext mingw-w64-x86_64-libffi mingw-w64-x86_64-libtasn1
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-p11-kit-0.25.3-2-any.pkg.tar.zst"
|
||||
SHA512 81e62ad4b1bdf7da3b2de20a3a444b2a30a7b38dda8df41ca7e8baed0954a335cc9594ddd577f4ea5b6000d945348dc7d0364c9408e8a3e3afef34cc5c083c85
|
||||
DEPS mingw-w64-x86_64-gettext-runtime mingw-w64-x86_64-libffi mingw-w64-x86_64-libtasn1
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-3.11.6-2-any.pkg.tar.zst"
|
||||
SHA512 93d1a4e3476219027da5e70bc7744deda085aba61527315315c824030b70d984a774e3f759306ba3af575492ad13f6a7b5786e83b89b31e845d15b5eba15ebef
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-3.11.7-1-any.pkg.tar.zst"
|
||||
SHA512 f94e2e53887da29bdcdafd4ad86d709e98c1bd271fdf9c5a85904cf20eae7690b8efef5b858a8bc979f6106343cec6ab6a828fcad631e4c30ce89c736603375e
|
||||
PROVIDES mingw-w64-x86_64-python3 mingw-w64-x86_64-python3.11
|
||||
DEPS mingw-w64-x86_64-bzip2 mingw-w64-x86_64-expat mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-libffi mingw-w64-x86_64-mpdecimal mingw-w64-x86_64-ncurses mingw-w64-x86_64-openssl mingw-w64-x86_64-sqlite3 mingw-w64-x86_64-tcl mingw-w64-x86_64-tk mingw-w64-x86_64-xz mingw-w64-x86_64-zlib
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-numpy-1.26.2-1-any.pkg.tar.zst"
|
||||
SHA512 3fb60137a7fe558e543d843cb5c6d7a0218dc763e6dee05db5b55e89d0ad05892c585d82ee56ee30390ea27c85fb5e2bc06a327a15f564ed8d0475f5ae5ee9a4
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-python-numpy-1.26.3-1-any.pkg.tar.zst"
|
||||
SHA512 62fac7ca3c936bc42902652933373420fb422fb49bfe808e4a4d71183983c5d386f88c1772e6e07477c5b76f5fd489ef5084bef33588c3db63edccaa361520d2
|
||||
PROVIDES mingw-w64-x86_64-python3-numpy
|
||||
DEPS mingw-w64-x86_64-openblas mingw-w64-x86_64-python
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-readline-8.2.001-6-any.pkg.tar.zst"
|
||||
SHA512 7b09a854b2225732b8452f6df7ebb378463066da3801ea29372c52ff68b2f6be5ccf8adf3d7d15a75e6fb3d471c5ade7bd4b9fc9599116d269c00bd9adde566e
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-readline-8.2.010-1-any.pkg.tar.zst"
|
||||
SHA512 ade6caf9e97e762cb2a129a838e1b73e4a2cc4488a7db5c1b6a3ec5db7206d9108a9a7fc5e0e6d7099f26d15ddf71238006dd09467ad2a7617ad9dd925ea04e2
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-termcap
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-sqlite3-3.44.0-1-any.pkg.tar.zst"
|
||||
SHA512 c598d7a0dfb40adc4faf1fa6e496e398f7ead02fd6ea4a448c686fa93a8c6d669be66389fd5045f852a93446271962820d6f61738770f148d9d3d651d90bad27
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-sqlite3-3.45.1-1-any.pkg.tar.zst"
|
||||
SHA512 b54ae774fc82f83a19a78910cc068597f85fbd798d52c518fee24030043b606986f235ed86f99879d8de3360c2cbaf53500108a3db8638da1f32096d9439e90f
|
||||
PROVIDES mingw-w64-x86_64-sqlite mingw-w64-x86_64-sqlite-analyzer
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-readline mingw-w64-x86_64-tcl mingw-w64-x86_64-zlib
|
||||
)
|
||||
@ -619,8 +623,8 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS mingw-w64-x86_64-gcc-libs
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-tcl-8.6.12-2-any.pkg.tar.zst"
|
||||
SHA512 d65cb39c2d17bb19f3a8511564a75217adc8f1b7a993038832347e06fb8eb3f61870f6214c751d524888985d923b704f8337be39f8ac62cf6d43db5d454b38ea
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-tcl-8.6.13-1-any.pkg.tar.zst"
|
||||
SHA512 e143405ed45da7986d30d2f14bde9dff16fb0ea85a01df45d15cbe8fc52065f5efcb22f8da98962022efbfee3a704fc20e38839ec448cdbb5809336b6b97d550
|
||||
DEPS mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-zlib
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
@ -629,12 +633,12 @@ macro(z_vcpkg_acquire_msys_declare_all_packages)
|
||||
DEPS mingw-w64-x86_64-tcl
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-xz-5.4.5-1-any.pkg.tar.zst"
|
||||
SHA512 cff9da4be195a4d614f18fe8404425180f2fd8af0ff07d8e4681b62b1dfbce8349ca86ae2f08ddc752ba0e08930010bbef208429d467ac27ee1b210245263b73
|
||||
DEPS mingw-w64-x86_64-gettext
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-xz-5.4.6-2-any.pkg.tar.zst"
|
||||
SHA512 4ca1f3707003d43bdf5c6e7df1d0ea2a9ea56acfaa8a1b8db89f76d97ac8eb709b8af4d4233da412fdec3bffb72f7809462356d2afe61675bce8d2b23a7ce1d6
|
||||
DEPS mingw-w64-x86_64-gettext-runtime
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.3-1-any.pkg.tar.zst"
|
||||
SHA512 21191eead4133b5c329ca3e6d1a1b9f724680ddead111ff1f9f544c844a8c66ed8739b19a9f0253f61ce1d40feb0e5354cf692ee5840e0053826996d6cc2ab5a
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst"
|
||||
SHA512 1336cd0db102af495d8bbfc6a1956f365750b19d2377fe809e9b26f61a8a6600394e7343677645c5743f4974161535dad5c0503ff50f6126d27bb927754e7320
|
||||
)
|
||||
endmacro()
|
||||
|
@ -1,3 +1,21 @@
|
||||
macro(z_vcpkg_find_acquire_pkgconfig_msys_declare_packages)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/clangarm64/mingw-w64-clang-aarch64-pkgconf-1~2.1.0-1-any.pkg.tar.zst"
|
||||
SHA512 d988b6a9d3704d63d0dfa21f5388b3de8b74d84533491e2facc2ce4e67e8efac611ebf4df422e90476ec2624fe766da441ad7b0fe0a3ee99ff9fd3ae84b18292
|
||||
PROVIDES mingw-w64-clang-aarch64-pkg-config
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst"
|
||||
SHA512 1567ba9fc947b3a1a983f5a23dcc0982950190cd92d7527684ba219253c5fa4b340b315f25ee695be1cdf6bfbb2cc5c3bdf7a5758b1d66b761748b5aad9afe39
|
||||
PROVIDES mingw-w64-x86_64-pkg-config
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-pkgconf-1~2.1.0-1-any.pkg.tar.zst"
|
||||
SHA512 55626f0b7a6c950da75c4f7579b94859027f127c075042ab1f65b5387659eceb9e4c73dd3b79f54227772bd39a5759fbe10aa024cd38c8ac76677d0aec8458c1
|
||||
PROVIDES mingw-w64-i686-pkg-config
|
||||
)
|
||||
endmacro()
|
||||
|
||||
set(program_name pkg-config)
|
||||
if(DEFINED "ENV{PKG_CONFIG}")
|
||||
debug_message(STATUS "PKG_CONFIG found in ENV! Using $ENV{PKG_CONFIG}")
|
||||
@ -26,25 +44,22 @@ elseif(CMAKE_HOST_WIN32)
|
||||
if("${host_arch}" STREQUAL "ARM64")
|
||||
vcpkg_acquire_msys(PKGCONFIG_ROOT
|
||||
NO_DEFAULT_PACKAGES
|
||||
DIRECT_PACKAGES
|
||||
"https://mirror.msys2.org/mingw/clangarm64/mingw-w64-clang-aarch64-pkgconf-1~2.1.0-1-any.pkg.tar.zst"
|
||||
d988b6a9d3704d63d0dfa21f5388b3de8b74d84533491e2facc2ce4e67e8efac611ebf4df422e90476ec2624fe766da441ad7b0fe0a3ee99ff9fd3ae84b18292
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
|
||||
PACKAGES mingw-w64-clang-aarch64-pkgconf
|
||||
)
|
||||
set("${program}" "${PKGCONFIG_ROOT}/clangarm64/bin/pkg-config.exe" CACHE INTERNAL "")
|
||||
elseif("${host_arch}" MATCHES "64")
|
||||
vcpkg_acquire_msys(PKGCONFIG_ROOT
|
||||
NO_DEFAULT_PACKAGES
|
||||
DIRECT_PACKAGES
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst"
|
||||
1567ba9fc947b3a1a983f5a23dcc0982950190cd92d7527684ba219253c5fa4b340b315f25ee695be1cdf6bfbb2cc5c3bdf7a5758b1d66b761748b5aad9afe39
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
|
||||
PACKAGES mingw-w64-x86_64-pkgconf
|
||||
)
|
||||
set("${program}" "${PKGCONFIG_ROOT}/mingw64/bin/pkg-config.exe" CACHE INTERNAL "")
|
||||
else()
|
||||
vcpkg_acquire_msys(PKGCONFIG_ROOT
|
||||
NO_DEFAULT_PACKAGES
|
||||
DIRECT_PACKAGES
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-pkgconf-1~2.1.0-1-any.pkg.tar.zst"
|
||||
55626f0b7a6c950da75c4f7579b94859027f127c075042ab1f65b5387659eceb9e4c73dd3b79f54227772bd39a5759fbe10aa024cd38c8ac76677d0aec8458c1
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
|
||||
PACKAGES mingw-w64-i686-pkgconf
|
||||
)
|
||||
set("${program}" "${PKGCONFIG_ROOT}/mingw32/bin/pkg-config.exe" CACHE INTERNAL "")
|
||||
endif()
|
||||
|
@ -1,3 +1,5 @@
|
||||
list(APPEND Z_VCPKG_ACQUIRE_MSYS_DECLARE_PACKAGE_COMMANDS "z_vcpkg_find_fortran_declare_msys_packages")
|
||||
|
||||
function(vcpkg_find_fortran out_var)
|
||||
if("${ARGC}" GREATER "1")
|
||||
message(WARNING "${CMAKE_CURRENT_FUNCTION} was passed extra args: ${ARGN}")
|
||||
@ -20,86 +22,16 @@ function(vcpkg_find_fortran out_var)
|
||||
set(machine_flag -m32)
|
||||
vcpkg_acquire_msys(msys_root
|
||||
NO_DEFAULT_PACKAGES
|
||||
DIRECT_PACKAGES
|
||||
# root package
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-fortran-13.2.0-2-any.pkg.tar.zst"
|
||||
4820fbd4d927f8378a6e801496364c9bba2e48527a6bff547d6d0b8e248a794f960220827cfb99441eaf97395a18a557cdbb9a337dc52f6af44d4bc32397916b
|
||||
# dependencies, alphabetically
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-binutils-2.41-2-any.pkg.tar.zst"
|
||||
2f67e5caf6d5ee8995772831bf6cf7a8a24a824d36cc3cb0d4c147bb10261b67f0ec611ef9dc6f9f9642be596973ed04802322101b05afa8f41fcbe3f63bc1c7
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-crt-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
0f96ab127d9579728d608057a9940682fd6ccfdb153750e8a9b132bac8ee2e87fa6a406b389f319eec2ca7317e97c0dc604f7b1d0697bf07f9c3fb54b2732966
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-13.2.0-2-any.pkg.tar.zst"
|
||||
267f853849351280a5942ae4931df43269c6ea58fcf90fce729766179d318ae75f9cf54da41987e6a5e6f3ef6ad0045085722f01336aab981b275ec17a0602f2
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-libgfortran-13.2.0-2-any.pkg.tar.zst"
|
||||
207c72336fcf965e52e73eae823b8407d0ffa53d8f4e3c544bd4bfa8bd6fb17a6413007d02d71eac911bee48735a0889fbe7a50fa7430725f401ca255ca2b0a6
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-libs-13.2.0-2-any.pkg.tar.zst"
|
||||
6d09c0868c96a532dd1e1dc92e2b5e3c5776af21bd13e6c6de90afc1f705028525550bf909c0d8e80017819cd71acfe64f56838df3d13e571ed4adc7b66b0fae
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gmp-6.3.0-2-any.pkg.tar.zst"
|
||||
4a9e0ace05ea441fe6cd69b1b1af4c29e35727069ab1f22d0da7febc7aaba219502b5b4dea8b1aa070cb2c8b731da112429c3339fd03fe77828d9fa262b4a818
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-headers-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
c17e1642d1dc9e8d9eca93834bcd48c5052ebe3e50b29b3469fdbc48178dae6ddd852641c55cb1a05a95757f54ba01f6a176ff546ff994ceae36e08b80c3ee79
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-isl-0.26-1-any.pkg.tar.zst"
|
||||
2011de9ac6ed85fa4346f9c9b39136854f049a9e21fb2fbd8db066ccf443301a65ab0c7aa7daed6730d5163ca70ebf25fd39209bd5226f2b70f000ce9de0df8d
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-libiconv-1.17-3-any.pkg.tar.zst"
|
||||
36ec45b311ac0e281c5272516b2138364b1b1c0db78a83b26218d50c643345fdb3f75bf4935e8520d839c99f2ec4cb72a324017f11a717bdab06f8c243ccb108
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-libwinpthread-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
3560884d47d07bbacb640774a3f293c8204f652272f4f0041f6be4eb3c20f6ad410248854367b966fe4aa7defa918af654e0f22e765b29b312c80c901b9c24c2
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-mpc-1.3.1-2-any.pkg.tar.zst"
|
||||
936acdedea20b9892f90ebdb0b75250d1ed3d65487316ee986b8672683b01d4e1f2922387f18ea8d6befb71bf273995d4940ff55b645d07996c98bd50c9382ae
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-mpfr-4.2.1-2-any.pkg.tar.zst"
|
||||
0de842b6c3b68c0f743aa4d4a08ca2c9c3f1a1cb426950365e885a55add3966eb545a0634177857e077545ae97950acd49613768bdc13305f08041637e27f8f6
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-windows-default-manifest-6.4-4-any.pkg.tar.zst"
|
||||
103f8437e13fb2a839c5eb89f49f5888c71f7934771cf3b2dcca46d520277fe7f7d4841c9d415b454a6a581c6d1f806d6be7f614027df0484f2642ef2563e889
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-winpthreads-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
095dd47d97599247b6d369bc251a2e4028f072d0c04c6964e30dbf7c3bcbfe3bcc27572a9d100a280bc1106ab721dbb11897bd6482f6cd1f6038d9c07be30a7f
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-zlib-1.3-1-any.pkg.tar.zst"
|
||||
76866c1f2e4f7589473784f1d25938ad5c2a3adc5a2f63d448053b45c40af83f1fe6f5a2dd79ca0dbc96cf9886a1414163b2983f8c3241252f6ca794e872461f
|
||||
"https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-zstd-1.5.5-1-any.pkg.tar.zst"
|
||||
415be9f2ef78d72109f5888c31248b328ba96f1e2472d488bf45da4fe969875e0e3020a77ceb10cd885f50a18954105e06ce9d122d8c47dc9848944ea71ac49c
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_fortran_msys_declare_packages"
|
||||
PACKAGES mingw-w64-i686-gcc-fortran
|
||||
)
|
||||
elseif("${VCPKG_TARGET_ARCHITECTURE}" STREQUAL "x64")
|
||||
set(mingw_path mingw64)
|
||||
set(machine_flag -m64)
|
||||
vcpkg_acquire_msys(msys_root
|
||||
NO_DEFAULT_PACKAGES
|
||||
DIRECT_PACKAGES
|
||||
# root package
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-13.2.0-2-any.pkg.tar.zst"
|
||||
29d4122e078b6d6b2468682a9fa46d1b6196cb014673f1addb6ba09f4fb90c6b4d5f94863b3e5924f4f5a6df3e74024aee1534c6782fc5d10de1022dcf8a3012
|
||||
# dependencies, alphabetically
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.41-2-any.pkg.tar.zst"
|
||||
86fb9c1857c696b93d950fc63156aa2a67af9da1aec15329dcc31846bf46e6bcb1c394d253899ca24a223e571f608d2397b6131c60c2b7e0a3cbb79e48f43f4e
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-crt-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
d46ceb9f10b146cba6a916c684e6e6a53fe36f4b8d894be22c9958bb9f0368a09482b08f97e0a2ffca0939dc7b8244f9a9f3732e7af76ce0037e92ef7f96d38f
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-13.2.0-2-any.pkg.tar.zst"
|
||||
19db5d64d5ffeafd482106ef23b06856f7e6b9bdd119c345d2e814816d409f0d7d92d35f237eb18ca962ec492b1a3d911412ec50e744917eda1783b4e26083f0
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-13.2.0-2-any.pkg.tar.zst"
|
||||
206eb7c19060b13286be4966611fe30d4c8a3e17df42aa9ebc5a18da384f16ad149504721b89c615c3cd1579f6744932ea0578ae3c16479472d70ce1a2441e30
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-13.2.0-2-any.pkg.tar.zst"
|
||||
28965ec13cd1006955c7182589d0896f92b7eb29c7d42434fcdc9b93450b51f32b4ce28dc830700e3aa735133facb6db6808db2ac0fae494d601cf3f4a7739e2
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst"
|
||||
38ab150051d787e44f1c75b3703d6c8deb429d244acb2a973ee232043b708e6c9e29a1f9e28f12e242c136d433e8eb5a5133a4d9ac7b87157a9749a8d215d2f0
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-headers-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
f5176ffef5639add3672324da289b3b2a9a2d52168197007c9ac6a32b4c26c470b2dc894993f11aa96399b4b97f9d1c32d7270022e0dc0f625195d71c8508b09
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst"
|
||||
2c715b50807ea2c134784210553d0c725f8eeb1221d64f0510c76f7538098d8400ac1ef329656a2fcb0bda270f9e1d82917d00b9ba11a985ce64ae7c3bf24977
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-3-any.pkg.tar.zst"
|
||||
57221118a6ed975ddde322e0d34487d4752c18c62c6184e9ed77ca14fe0a3a78a78aefe628cda3285294a5564d87cd057c56f4864b12fa8580d68b8e8a805e16
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
d8e1032fa82283bc1acab5aa1273a94f11ce42ac34c9c656b11acb2e06a400cc15a9fee9f97d99f7c11803d66948c6840051ef7a6a8d9ba1d1cb0d5cb2682cef
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst"
|
||||
3fe183d4af3b3935a4394502eab75a8f7b7692f551fd44e54c67935a4691388d23a021ee1147f0345ed27ffe8a8db3e9e7e37caf2348df3413e0acd519c12a0c
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst"
|
||||
03a727e1622b09ed0b6e0cb93a6b1040c31c9504c3f14bd1a2e12b8293153609796bc99882393b343c4d96e45f402f847317a3a65212b972ff96a964e5e52815
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst"
|
||||
d7e1e4c79f6c7db3bd97305ff89e407a32d3ce9f2a18083b9674538d018651e889efb6fdef00cc79c78f8c07852eab63d7fc705e9567b1ad5684f0a704adeaf3
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-11.0.0.r404.g3a137bd87-1-any.pkg.tar.zst"
|
||||
5d63760987204badc7401a79a5431624a5d3cfafdaab513c194445a0610960915e57162f816560cc46b088de6fe8ad6e5021b0fb8e8462f86bd28f504a0f80ee
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.3-1-any.pkg.tar.zst"
|
||||
21191eead4133b5c329ca3e6d1a1b9f724680ddead111ff1f9f544c844a8c66ed8739b19a9f0253f61ce1d40feb0e5354cf692ee5840e0053826996d6cc2ab5a
|
||||
"https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.5-1-any.pkg.tar.zst"
|
||||
bc03e39ac48f40e53e2cbff9d48770d8267793608aa6698ddd01371872544e2c023f4be68c638aa349a4c006b6967ac9bf45ce927cf4e4a156c39fa7cb8c27d1
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_fortran_msys_declare_packages"
|
||||
PACKAGES mingw-w64-x86_64-gcc-fortran
|
||||
)
|
||||
else()
|
||||
message(FATAL_ERROR "Unknown architecture '${VCPKG_TARGET_ARCHITECTURE}' for MinGW Fortran build!")
|
||||
@ -132,3 +64,149 @@ function(vcpkg_find_fortran out_var)
|
||||
endif()
|
||||
set("${out_var}" "${additional_cmake_args}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
macro(z_vcpkg_find_fortran_msys_declare_packages)
|
||||
# primary package for x86
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-fortran-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 3f30692ebdbfa10d55f978ef05a8b8ae9b194d57f4e05dded6d4159186a62848109dabf4448b12d2b6fc734a19f61b47f3d8e25efb3bb3c318e9c27cd8d629fb
|
||||
PROVIDES mingw-w64-i686-fc
|
||||
DEPS mingw-w64-i686-gcc mingw-w64-i686-gcc-libgfortran
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-binutils-2.42-1-any.pkg.tar.zst"
|
||||
SHA512 9f26be2ad7ff05e38c849e6c722eec817328d8604c753fbb6cc8e54bc8ae638a97beb59fc144fdd10cded4f626bb997892bde91d314b18c96ed35c4a4b3bde01
|
||||
DEPS mingw-w64-i686-gettext-runtime mingw-w64-i686-zlib mingw-w64-i686-zstd
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-crt-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 5d862184baf667b357d156409552f6b72ad59db53972bdc7bea4b36775ab5c6bfc6cd5697f11be3ec5e58f6f733cc396984ee9cd0aa394cf28536a0a73881826
|
||||
PROVIDES mingw-w64-i686-crt
|
||||
DEPS mingw-w64-i686-headers-git
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 4d360d82ce0cef2cf3a5078419465fd502c2b6751f3cadc9bf362c8ef4e4c32a426495d59b8904fd46b2f6fe3feaad7e0f952fcc0152735eed70e083175a303d
|
||||
PROVIDES mingw-w64-i686-gcc-base mingw-w64-i686-cc
|
||||
DEPS mingw-w64-i686-binutils mingw-w64-i686-crt mingw-w64-i686-gcc-libs mingw-w64-i686-gmp mingw-w64-i686-headers mingw-w64-i686-isl mingw-w64-i686-libiconv mingw-w64-i686-mpc mingw-w64-i686-mpfr mingw-w64-i686-windows-default-manifest mingw-w64-i686-winpthreads mingw-w64-i686-zlib mingw-w64-i686-zstd
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-libgfortran-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 6eefe2e1500f80a0484856847bee128b60fb16e54151b1e2b0f6627f8d7820521e9bc1c81f4cbccb68a42029ccee0cbcb72d448a31a780b222268e6be1ae6f97
|
||||
PROVIDES mingw-w64-i686-fc-libs
|
||||
DEPS mingw-w64-i686-gcc-libs
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gcc-libs-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 342d751cfc33539059d87d3de74048b5ec29139cd2aa757d18781381e5f16878a983dd76f5116ca66d6c7e1a64d1e6be56cc7ff4d5189e46746dbaca03bcbdac
|
||||
PROVIDES mingw-w64-i686-omp
|
||||
DEPS mingw-w64-i686-libwinpthread
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gettext-runtime-0.22.4-5-any.pkg.tar.zst"
|
||||
SHA512 db1c25c2e21e79791703e19ff7b1c92c95e7a7fba59140dd05ae5f3acedd2f5d9e34f5c20aae9fb2d360e1da268265f0d2405106d117abe14fc4c1db1cae122e
|
||||
DEPS mingw-w64-i686-gcc-libs mingw-w64-i686-libiconv
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-gmp-6.3.0-2-any.pkg.tar.zst"
|
||||
SHA512 4a9e0ace05ea441fe6cd69b1b1af4c29e35727069ab1f22d0da7febc7aaba219502b5b4dea8b1aa070cb2c8b731da112429c3339fd03fe77828d9fa262b4a818
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-headers-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 65c52c5ab7cb0c1238a116dcb730079369e7cf012b98c56a4214e0502045c0370f5e32abe658c190db7b9bcca78699401f7d76e5a457072c6464d067d6a5a8e9
|
||||
PROVIDES mingw-w64-i686-headers
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-isl-0.26-1-any.pkg.tar.zst"
|
||||
SHA512 2011de9ac6ed85fa4346f9c9b39136854f049a9e21fb2fbd8db066ccf443301a65ab0c7aa7daed6730d5163ca70ebf25fd39209bd5226f2b70f000ce9de0df8d
|
||||
DEPS mingw-w64-i686-gmp
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-libiconv-1.17-4-any.pkg.tar.zst"
|
||||
SHA512 7b8c0861fe404e6a94e19e2f539c8b8eebd438ebd453960655478109c22cb1ace689031a5fc2ed2430df7bb204f83989726ea3552a58f7c323b150bb3f117578
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-libwinpthread-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 98c9b36bee8a6aef5f47eae6ecc4577859865aecc7b8fadfccbb5b6a2b6e5a26a3725b6017004004e2468773f1b9d7c0ac59b2940476c5af2f92c158f9c24880
|
||||
PROVIDES mingw-w64-i686-libwinpthread
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-mpc-1.3.1-2-any.pkg.tar.zst"
|
||||
SHA512 936acdedea20b9892f90ebdb0b75250d1ed3d65487316ee986b8672683b01d4e1f2922387f18ea8d6befb71bf273995d4940ff55b645d07996c98bd50c9382ae
|
||||
DEPS mingw-w64-i686-gmp mingw-w64-i686-mpfr
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-mpfr-4.2.1-2-any.pkg.tar.zst"
|
||||
SHA512 0de842b6c3b68c0f743aa4d4a08ca2c9c3f1a1cb426950365e885a55add3966eb545a0634177857e077545ae97950acd49613768bdc13305f08041637e27f8f6
|
||||
DEPS mingw-w64-i686-gcc-libs mingw-w64-i686-gmp
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-windows-default-manifest-6.4-4-any.pkg.tar.zst"
|
||||
SHA512 103f8437e13fb2a839c5eb89f49f5888c71f7934771cf3b2dcca46d520277fe7f7d4841c9d415b454a6a581c6d1f806d6be7f614027df0484f2642ef2563e889
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-winpthreads-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 ff3220bc13e1e1931a013a72d030fa0e8a16c9c920256e33ab8fb0cef4d13c15e03b842e5299b81aaad873fad5a079fb828c65b708d6d79459601a817bc76750
|
||||
PROVIDES mingw-w64-i686-winpthreads
|
||||
DEPS mingw-w64-i686-crt-git mingw-w64-i686-libwinpthread-git
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-zlib-1.3.1-1-any.pkg.tar.zst"
|
||||
SHA512 881cf37f59bfbc3d8a6a6d16226360b63cf3d5abc82bb25fa1d9f871aa3e620fa22a8ae6b0cec619633d08550b72ad289f16b75d5819e3e117de0607125b0140
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw32/mingw-w64-i686-zstd-1.5.5-1-any.pkg.tar.zst"
|
||||
SHA512 415be9f2ef78d72109f5888c31248b328ba96f1e2472d488bf45da4fe969875e0e3020a77ceb10cd885f50a18954105e06ce9d122d8c47dc9848944ea71ac49c
|
||||
DEPS mingw-w64-i686-gcc-libs
|
||||
)
|
||||
|
||||
# primary package for x64
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 8bb2beea8dc3dfa07db0be9294ae057205b122e018bba7c90a840dc73ab894339d91b0b801deff1e7d808d542af79cce211cdd9d16b06fe988a4be99a68a6b05
|
||||
PROVIDES mingw-w64-x86_64-fc
|
||||
DEPS mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-libgfortran
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-1-any.pkg.tar.zst"
|
||||
SHA512 6e26b960447a825ac08bec8fffc5288fae9c38fab4e065d4f6ebf977ef06fe503a10ad10e2581cb733400b1f41ca5f68b19ba7838a8ef0db132d54683b1ff827
|
||||
DEPS mingw-w64-x86_64-gettext-runtime mingw-w64-x86_64-zlib mingw-w64-x86_64-zstd
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-crt-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 656cd64827f9a17fe1c49b6a84430d96ab81b382947aa412ea9c5545121aa1c07f4d342d23c9ddfa1d25e2221d57471c02a2fa1b97796396d5d0802394a0fd72
|
||||
PROVIDES mingw-w64-x86_64-crt
|
||||
DEPS mingw-w64-x86_64-headers-git
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-13.2.0-3-any.pkg.tar.zst"
|
||||
SHA512 75cf55088a3ca09d9a53be7d5f390e26a3686d12b7172a9bf029c81b7055981fbc9ce9c3e353f5e2aa065144a6520bf499900d0cf2eef49dc637e37d68422e5a
|
||||
PROVIDES mingw-w64-x86_64-gcc-base mingw-w64-x86_64-cc
|
||||
DEPS mingw-w64-x86_64-binutils mingw-w64-x86_64-crt mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-gmp mingw-w64-x86_64-headers mingw-w64-x86_64-isl mingw-w64-x86_64-libiconv mingw-w64-x86_64-mpc mingw-w64-x86_64-mpfr mingw-w64-x86_64-windows-default-manifest mingw-w64-x86_64-winpthreads mingw-w64-x86_64-zlib mingw-w64-x86_64-zstd
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-headers-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 a14e8249b202e31ca071d579fa23b2a668df0fd9fed4480c9071ba8489a5110c0c8fd84264676e1ebc922dfe73c720a9bb7514a7c1bf87aebefa7c99b2be8b98
|
||||
PROVIDES mingw-w64-x86_64-headers
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst"
|
||||
SHA512 2c715b50807ea2c134784210553d0c725f8eeb1221d64f0510c76f7538098d8400ac1ef329656a2fcb0bda270f9e1d82917d00b9ba11a985ce64ae7c3bf24977
|
||||
DEPS mingw-w64-x86_64-gmp
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst"
|
||||
SHA512 d7e1e4c79f6c7db3bd97305ff89e407a32d3ce9f2a18083b9674538d018651e889efb6fdef00cc79c78f8c07852eab63d7fc705e9567b1ad5684f0a704adeaf3
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-11.0.0.r551.g86a5e0f41-1-any.pkg.tar.zst"
|
||||
SHA512 f3ed9c1c147d284fb684d54d8b045020047e44fc34159e2841ce13625b58879c5320b6606077db7a362559dea367c39ce794f69f4fd4af9c079baf70336e89c7
|
||||
PROVIDES mingw-w64-x86_64-winpthreads
|
||||
DEPS mingw-w64-x86_64-crt-git mingw-w64-x86_64-libwinpthread-git
|
||||
)
|
||||
z_vcpkg_acquire_msys_declare_package(
|
||||
URL "https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.5-1-any.pkg.tar.zst"
|
||||
SHA512 bc03e39ac48f40e53e2cbff9d48770d8267793608aa6698ddd01371872544e2c023f4be68c638aa349a4c006b6967ac9bf45ce927cf4e4a156c39fa7cb8c27d1
|
||||
DEPS mingw-w64-x86_64-gcc-libs
|
||||
)
|
||||
endmacro()
|
@ -18,7 +18,7 @@ vcpkg_list(SET known_delisted
|
||||
|
||||
# Ignore these dependencies (e.g. interactive or effectively optional)
|
||||
vcpkg_list(SET ignored_dependencies
|
||||
autoconf2.13 autoconf2.69
|
||||
autoconf2.13 autoconf2.69 autoconf2.71
|
||||
automake1.11 automake1.12 automake1.13 automake1.14 automake1.15
|
||||
db
|
||||
gdbm
|
||||
@ -337,24 +337,28 @@ set(known_packages "${Z_VCPKG_MSYS_PACKAGES_RESOLVED}")
|
||||
|
||||
set(Z_VCPKG_MSYS_PACKAGES_RESOLVED "" CACHE INTERNAL "")
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
analyze_package_list(Z_VCPKG_MSYS_PACKAGES_RESOLVED "vcpkg_find_acquire_program(PKGCONFIG).cmake" DIRECT_ONLY)
|
||||
vcpkg_acquire_msys(msys_root
|
||||
NO_DEFAULT_PACKAGES
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_acquire_pkgconfig_msys_declare_packages"
|
||||
PACKAGES
|
||||
mingw-w64-clang-aarch64-pkgconf
|
||||
mingw-w64-x86_64-pkgconf
|
||||
mingw-w64-i686-pkgconf
|
||||
)
|
||||
analyze_package_list(Z_VCPKG_MSYS_PACKAGES_RESOLVED "vcpkg_find_acquire_program(PKGCONFIG).cmake")
|
||||
|
||||
set(PATH_BAK "$ENV{PATH}")
|
||||
set(CMAKE_Fortran_COMPILER "")
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
set(CMAKE_Fortran_COMPILER "true")
|
||||
endif()
|
||||
set(Z_VCPKG_MSYS_PACKAGES_RESOLVED "" CACHE INTERNAL "")
|
||||
include("${SCRIPTS}/cmake/vcpkg_find_fortran.cmake")
|
||||
vcpkg_find_fortran(FORTRAN)
|
||||
analyze_package_list(Z_VCPKG_MSYS_PACKAGES_RESOLVED "vcpkg_find_fortran.cmake" DIRECT_ONLY)
|
||||
set(ENV{PATH} "${PATH_BAK}")
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
# Don't do this in regular ports.
|
||||
message(STATUS "*** Simulating an x86 target triplet")
|
||||
set(VCPKG_TARGET_ARCHITECTURE "x86")
|
||||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "")
|
||||
set(CMAKE_Fortran_COMPILER "")
|
||||
set(Z_VCPKG_MSYS_PACKAGES_RESOLVED "" CACHE INTERNAL "")
|
||||
vcpkg_find_fortran(FORTRAN_x86)
|
||||
analyze_package_list(Z_VCPKG_MSYS_PACKAGES_RESOLVED "vcpkg_find_fortran.cmake" DIRECT_ONLY)
|
||||
set(VCPKG_TARGET_ARCHITECTURE "x64")
|
||||
set(ENV{PATH} "${PATH_BAK}")
|
||||
endif()
|
||||
vcpkg_acquire_msys(msys_root
|
||||
NO_DEFAULT_PACKAGES
|
||||
Z_DECLARE_EXTRA_PACKAGES_COMMAND "z_vcpkg_find_fortran_msys_declare_packages"
|
||||
PACKAGES
|
||||
mingw-w64-x86_64-gcc-fortran
|
||||
mingw-w64-i686-gcc-fortran
|
||||
)
|
||||
analyze_package_list(Z_VCPKG_MSYS_PACKAGES_RESOLVED "vcpkg_find_fortran.cmake")
|
||||
|
Loading…
Reference in New Issue
Block a user