diff --git a/check-for-missing-dlls.sh b/check-for-missing-dlls.sh index 3d2c805879..6e35170fc0 100644 --- a/check-for-missing-dlls.sh +++ b/check-for-missing-dlls.sh @@ -27,6 +27,10 @@ die "Could not determine architecture" case "$MSYSTEM" in MINGW64) MINGW_PREFIX=mingw64;; +UCRT64) + MINGW_PREFIX=ucrt64 + ARCH=ucrt64 + ;; CLANGARM64) MINGW_PREFIX=clangarm64 ARCH=aarch64 diff --git a/make-file-list.sh b/make-file-list.sh index ba41c39ae2..c0f139607b 100755 --- a/make-file-list.sh +++ b/make-file-list.sh @@ -9,6 +9,10 @@ test -n "$ARCH" || die "Need ARCH to be set" case "$ARCH" in +ucrt64) + MSYSTEM_LOWER=ucrt64 + PACMAN_ARCH=ucrt-x86_64 + ;; x86_64) MSYSTEM_LOWER=mingw64 PACMAN_ARCH=x86_64 diff --git a/please.sh b/please.sh index 368d138bd9..0577ab2532 100755 --- a/please.sh +++ b/please.sh @@ -389,7 +389,7 @@ bundle_pdbs () { # [--directory=] [-- done } -create_sdk_artifact () { # [--out=] [--git-sdk=] [--architecture=(x86_64|i686|aarch64|auto)] [--bitness=(32|64)] [--force] +create_sdk_artifact () { # [--out=] [--git-sdk=] [--architecture=(x86_64|i686|aarch64|ucrt64|auto)] [--bitness=(32|64)] [--force] git_sdk_path=/ output_path= force= @@ -490,6 +490,11 @@ create_sdk_artifact () { # [--out=] [--git-sdk=] [--archit fi case "$architecture" in + ucrt64) + MSYSTEM=UCRT64 + PREFIX="/ucrt64" + SDK_REPO="git-sdk-64" + ;; x86_64) MSYSTEM=MINGW64 PREFIX="/mingw64" @@ -670,7 +675,9 @@ create_sdk_artifact () { # [--out=] [--git-sdk=] [--archit git -C "$git_sdk_path" show HEAD:.sparse/minimal-sdk >"$sparse_checkout_file" && printf '\n' >>"$sparse_checkout_file" && git -C "$git_sdk_path" show HEAD:.sparse/makepkg-git >>"$sparse_checkout_file" && - if test x86_64 = $architecture + if test x86_64 = $architecture && + git -C "$git_sdk_path" rev-parse -q --verify \ + HEAD:.sparse/makepkg-git-i686 >/dev/null then printf '\n' >>"$sparse_checkout_file" && git -C "$git_sdk_path" show HEAD:.sparse/makepkg-git-i686 >>"$sparse_checkout_file"