2021-02-11 16:33:20 +08:00
|
|
|
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
2023-11-16 11:13:58 +08:00
|
|
|
index 110f16e..c161d0e 100644
|
2021-02-11 16:33:20 +08:00
|
|
|
--- a/build/make/configure.sh
|
|
|
|
+++ b/build/make/configure.sh
|
2022-08-05 09:14:24 +08:00
|
|
|
@@ -1038,7 +1038,7 @@ EOF
|
2021-02-11 16:33:20 +08:00
|
|
|
# A number of ARM-based Windows platforms are constrained by their
|
|
|
|
# respective SDKs' limitations. Fortunately, these are all 32-bit ABIs
|
|
|
|
# and so can be selected as 'win32'.
|
|
|
|
- if [ ${tgt_os} = "win32" ]; then
|
|
|
|
+ if [ ${tgt_os} = "win32" ] || [ ${tgt_isa} = "armv7" ]; then
|
2021-06-11 02:44:46 +08:00
|
|
|
asm_conversion_cmd="${source_path_mk}/build/make/ads2armasm_ms.pl"
|
2021-02-11 16:33:20 +08:00
|
|
|
AS_SFX=.S
|
|
|
|
msvs_arch_dir=arm-msvs
|
2022-08-05 09:14:24 +08:00
|
|
|
@@ -1272,6 +1272,9 @@ EOF
|
2021-02-11 16:33:20 +08:00
|
|
|
android)
|
|
|
|
soft_enable realtime_only
|
|
|
|
;;
|
|
|
|
+ uwp)
|
|
|
|
+ enabled gcc && add_cflags -fno-common
|
|
|
|
+ ;;
|
|
|
|
win*)
|
|
|
|
enabled gcc && add_cflags -fno-common
|
|
|
|
;;
|
2022-08-05 09:14:24 +08:00
|
|
|
@@ -1390,6 +1393,16 @@ EOF
|
2021-02-11 16:33:20 +08:00
|
|
|
fi
|
|
|
|
AS_SFX=.asm
|
|
|
|
case ${tgt_os} in
|
|
|
|
+ uwp)
|
|
|
|
+ if [ {$tgt_isa} = "x86" ] || [ {$tgt_isa} = "armv7" ]; then
|
|
|
|
+ add_asflags -f win32
|
|
|
|
+ else
|
|
|
|
+ add_asflags -f win64
|
|
|
|
+ fi
|
|
|
|
+ enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8
|
|
|
|
+ enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8
|
|
|
|
+ EXE_SFX=.exe
|
|
|
|
+ ;;
|
|
|
|
win32)
|
|
|
|
add_asflags -f win32
|
|
|
|
enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8
|
2022-08-05 09:14:24 +08:00
|
|
|
@@ -1519,6 +1532,8 @@ EOF
|
2021-02-11 16:33:20 +08:00
|
|
|
# Almost every platform uses pthreads.
|
|
|
|
if enabled multithread; then
|
|
|
|
case ${toolchain} in
|
|
|
|
+ *-uwp-vs*)
|
|
|
|
+ ;;
|
|
|
|
*-win*-vs*)
|
|
|
|
;;
|
|
|
|
*-android-gcc)
|
|
|
|
diff --git a/build/make/gen_msvs_vcxproj.sh b/build/make/gen_msvs_vcxproj.sh
|
2022-08-05 09:14:24 +08:00
|
|
|
index 58bb66b..b4cad6c 100644
|
2021-02-11 16:33:20 +08:00
|
|
|
--- a/build/make/gen_msvs_vcxproj.sh
|
|
|
|
+++ b/build/make/gen_msvs_vcxproj.sh
|
2021-06-11 02:44:46 +08:00
|
|
|
@@ -296,7 +296,22 @@ generate_vcxproj() {
|
2021-02-11 16:33:20 +08:00
|
|
|
tag_content ProjectGuid "{${guid}}"
|
|
|
|
tag_content RootNamespace ${name}
|
|
|
|
tag_content Keyword ManagedCProj
|
|
|
|
- if [ $vs_ver -ge 12 ] && [ "${platforms[0]}" = "ARM" ]; then
|
|
|
|
+ if [ $vs_ver -ge 16 ]; then
|
|
|
|
+ if [[ $target =~ [^-]*-uwp-.* ]]; then
|
|
|
|
+ # Universal Windows Applications
|
|
|
|
+ tag_content AppContainerApplication true
|
|
|
|
+ tag_content ApplicationType "Windows Store"
|
|
|
|
+ tag_content ApplicationTypeRevision 10.0
|
|
|
|
+ fi
|
|
|
|
+ if [[ $target =~ [^-]*-uwp-.* ]] || [ "${platforms[0]}" = "ARM" ] || [ "${platforms[0]}" = "ARM64" ]; then
|
|
|
|
+ # Default to the latest Windows 10 SDK
|
|
|
|
+ tag_content WindowsTargetPlatformVersion 10.0
|
|
|
|
+ else
|
|
|
|
+ # Minimum supported version of Windows for the desktop
|
|
|
|
+ tag_content WindowsTargetPlatformVersion 8.1
|
|
|
|
+ fi
|
|
|
|
+ tag_content MinimumVisualStudioVersion 16.0
|
|
|
|
+ elif [ $vs_ver -ge 12 ] && [ "${platforms[0]}" = "ARM" ]; then
|
|
|
|
tag_content AppContainerApplication true
|
|
|
|
# The application type can be one of "Windows Store",
|
|
|
|
# "Windows Phone" or "Windows Phone Silverlight". The
|
2022-08-05 09:14:24 +08:00
|
|
|
@@ -394,7 +409,7 @@ generate_vcxproj() {
|
2021-02-11 16:33:20 +08:00
|
|
|
Condition="'\$(Configuration)|\$(Platform)'=='$config|$plat'"
|
|
|
|
if [ "$name" == "vpx" ]; then
|
|
|
|
hostplat=$plat
|
|
|
|
- if [ "$hostplat" == "ARM" ]; then
|
|
|
|
+ if [ "$hostplat" == "ARM" ] && [ $vs_ver -le 15 ]; then
|
|
|
|
hostplat=Win32
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
diff --git a/configure b/configure
|
2023-11-16 11:13:58 +08:00
|
|
|
index ae289f7..78f5fc1 100644
|
2021-02-11 16:33:20 +08:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2023-11-16 11:13:58 +08:00
|
|
|
@@ -103,6 +103,8 @@ all_platforms="${all_platforms} arm64-darwin20-gcc"
|
2022-08-05 09:14:24 +08:00
|
|
|
all_platforms="${all_platforms} arm64-darwin21-gcc"
|
2023-11-16 11:13:58 +08:00
|
|
|
all_platforms="${all_platforms} arm64-darwin22-gcc"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} arm64-linux-gcc"
|
|
|
|
+all_platforms="${all_platforms} arm64-uwp-vs16"
|
[libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28 (#24470)
* [libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28
These results are from the most recent CI run: https://dev.azure.com/vcpkg/public/_build/results?buildId=71465
PASSING, REMOVE FROM FAIL LIST: aubio:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also did some investigation as to why aubio:arm-uwp didn't pass. Turns out, it's because aubio depends on ffmpeg, which failed to build because it depends on libvpx, which we never fixed for UWP following the VS2022 update. See also https://developercommunity.visualstudio.com/t/MicrosoftVisualStudioComponentVCTool/10002207?space=62&scope=follow&sort=newest
PASSING, REMOVE FROM FAIL LIST: freetype-gl:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked freetype-gl:arm-uwp, but it's blocked by glew which is blocked by opengl which appears to not be a thing on arm.
PASSING, REMOVE FROM FAIL LIST: intelrdfpmathlib:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
The arm-uwp version of this emits errors that look like source issues; I blocked arm&windows with a supports expression:
D:\buildtrees\intelrdfpmathlib\src\athLib20U2-d2a8954428.clean\LIBRARY\src\bid_functions.h(3113): error C2719: 'x': formal parameter with requested alignment of 16 won't be aligned
PASSING, REMOVE FROM FAIL LIST: libbson:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libbson:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: lmdb:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
arm-uwp failed with again what looks like a source issue:
mdb.c.obj : error LNK2001: unresolved external symbol __tls_used
mdb.c.obj : error LNK2001: unresolved external symbol _mdb_tls_cbp
PASSING, REMOVE FROM FAIL LIST: metis:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: metis:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked Linux and it says
Could NOT find ibverbs (missing: IBVERBS_INCLUDE_DIRS IBVERBS_LIBRARIES)
which may be vcpkg's fault so I left that ci.baseline.txt skip alone.
REGRESSION: jansson:arm-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:arm-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: jansson:x64-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:x64-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
Already fixed by https://github.com/microsoft/vcpkg/pull/24466
* dos2unix the patch
* :dos2unix the other patches too
2022-04-30 12:27:24 +08:00
|
|
|
+all_platforms="${all_platforms} arm64-uwp-vs17"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} arm64-win64-gcc"
|
|
|
|
all_platforms="${all_platforms} arm64-win64-vs15"
|
2023-11-16 11:13:58 +08:00
|
|
|
all_platforms="${all_platforms} arm64-win64-vs16"
|
|
|
|
@@ -112,6 +114,8 @@ all_platforms="${all_platforms} armv7-darwin-gcc" #neon Cortex-A8
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} armv7-linux-rvct" #neon Cortex-A8
|
|
|
|
all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8
|
|
|
|
all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8
|
|
|
|
+all_platforms="${all_platforms} armv7-uwp-vs16"
|
[libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28 (#24470)
* [libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28
These results are from the most recent CI run: https://dev.azure.com/vcpkg/public/_build/results?buildId=71465
PASSING, REMOVE FROM FAIL LIST: aubio:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also did some investigation as to why aubio:arm-uwp didn't pass. Turns out, it's because aubio depends on ffmpeg, which failed to build because it depends on libvpx, which we never fixed for UWP following the VS2022 update. See also https://developercommunity.visualstudio.com/t/MicrosoftVisualStudioComponentVCTool/10002207?space=62&scope=follow&sort=newest
PASSING, REMOVE FROM FAIL LIST: freetype-gl:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked freetype-gl:arm-uwp, but it's blocked by glew which is blocked by opengl which appears to not be a thing on arm.
PASSING, REMOVE FROM FAIL LIST: intelrdfpmathlib:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
The arm-uwp version of this emits errors that look like source issues; I blocked arm&windows with a supports expression:
D:\buildtrees\intelrdfpmathlib\src\athLib20U2-d2a8954428.clean\LIBRARY\src\bid_functions.h(3113): error C2719: 'x': formal parameter with requested alignment of 16 won't be aligned
PASSING, REMOVE FROM FAIL LIST: libbson:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libbson:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: lmdb:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
arm-uwp failed with again what looks like a source issue:
mdb.c.obj : error LNK2001: unresolved external symbol __tls_used
mdb.c.obj : error LNK2001: unresolved external symbol _mdb_tls_cbp
PASSING, REMOVE FROM FAIL LIST: metis:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: metis:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked Linux and it says
Could NOT find ibverbs (missing: IBVERBS_INCLUDE_DIRS IBVERBS_LIBRARIES)
which may be vcpkg's fault so I left that ci.baseline.txt skip alone.
REGRESSION: jansson:arm-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:arm-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: jansson:x64-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:x64-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
Already fixed by https://github.com/microsoft/vcpkg/pull/24466
* dos2unix the patch
* :dos2unix the other patches too
2022-04-30 12:27:24 +08:00
|
|
|
+all_platforms="${all_platforms} armv7-uwp-vs17"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} armv7-win32-gcc"
|
|
|
|
all_platforms="${all_platforms} armv7-win32-vs14"
|
|
|
|
all_platforms="${all_platforms} armv7-win32-vs15"
|
2023-11-16 11:13:58 +08:00
|
|
|
@@ -143,6 +147,8 @@ all_platforms="${all_platforms} x86-linux-gcc"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} x86-linux-icc"
|
|
|
|
all_platforms="${all_platforms} x86-os2-gcc"
|
|
|
|
all_platforms="${all_platforms} x86-solaris-gcc"
|
|
|
|
+all_platforms="${all_platforms} x86-uwp-vs16"
|
[libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28 (#24470)
* [libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28
These results are from the most recent CI run: https://dev.azure.com/vcpkg/public/_build/results?buildId=71465
PASSING, REMOVE FROM FAIL LIST: aubio:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also did some investigation as to why aubio:arm-uwp didn't pass. Turns out, it's because aubio depends on ffmpeg, which failed to build because it depends on libvpx, which we never fixed for UWP following the VS2022 update. See also https://developercommunity.visualstudio.com/t/MicrosoftVisualStudioComponentVCTool/10002207?space=62&scope=follow&sort=newest
PASSING, REMOVE FROM FAIL LIST: freetype-gl:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked freetype-gl:arm-uwp, but it's blocked by glew which is blocked by opengl which appears to not be a thing on arm.
PASSING, REMOVE FROM FAIL LIST: intelrdfpmathlib:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
The arm-uwp version of this emits errors that look like source issues; I blocked arm&windows with a supports expression:
D:\buildtrees\intelrdfpmathlib\src\athLib20U2-d2a8954428.clean\LIBRARY\src\bid_functions.h(3113): error C2719: 'x': formal parameter with requested alignment of 16 won't be aligned
PASSING, REMOVE FROM FAIL LIST: libbson:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libbson:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: lmdb:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
arm-uwp failed with again what looks like a source issue:
mdb.c.obj : error LNK2001: unresolved external symbol __tls_used
mdb.c.obj : error LNK2001: unresolved external symbol _mdb_tls_cbp
PASSING, REMOVE FROM FAIL LIST: metis:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: metis:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked Linux and it says
Could NOT find ibverbs (missing: IBVERBS_INCLUDE_DIRS IBVERBS_LIBRARIES)
which may be vcpkg's fault so I left that ci.baseline.txt skip alone.
REGRESSION: jansson:arm-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:arm-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: jansson:x64-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:x64-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
Already fixed by https://github.com/microsoft/vcpkg/pull/24466
* dos2unix the patch
* :dos2unix the other patches too
2022-04-30 12:27:24 +08:00
|
|
|
+all_platforms="${all_platforms} x86-uwp-vs17"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} x86-win32-gcc"
|
|
|
|
all_platforms="${all_platforms} x86-win32-vs14"
|
|
|
|
all_platforms="${all_platforms} x86-win32-vs15"
|
2023-11-16 11:13:58 +08:00
|
|
|
@@ -167,6 +173,8 @@ all_platforms="${all_platforms} x86_64-iphonesimulator-gcc"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} x86_64-linux-gcc"
|
|
|
|
all_platforms="${all_platforms} x86_64-linux-icc"
|
|
|
|
all_platforms="${all_platforms} x86_64-solaris-gcc"
|
|
|
|
+all_platforms="${all_platforms} x86_64-uwp-vs16"
|
[libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28 (#24470)
* [libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28
These results are from the most recent CI run: https://dev.azure.com/vcpkg/public/_build/results?buildId=71465
PASSING, REMOVE FROM FAIL LIST: aubio:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also did some investigation as to why aubio:arm-uwp didn't pass. Turns out, it's because aubio depends on ffmpeg, which failed to build because it depends on libvpx, which we never fixed for UWP following the VS2022 update. See also https://developercommunity.visualstudio.com/t/MicrosoftVisualStudioComponentVCTool/10002207?space=62&scope=follow&sort=newest
PASSING, REMOVE FROM FAIL LIST: freetype-gl:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked freetype-gl:arm-uwp, but it's blocked by glew which is blocked by opengl which appears to not be a thing on arm.
PASSING, REMOVE FROM FAIL LIST: intelrdfpmathlib:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
The arm-uwp version of this emits errors that look like source issues; I blocked arm&windows with a supports expression:
D:\buildtrees\intelrdfpmathlib\src\athLib20U2-d2a8954428.clean\LIBRARY\src\bid_functions.h(3113): error C2719: 'x': formal parameter with requested alignment of 16 won't be aligned
PASSING, REMOVE FROM FAIL LIST: libbson:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libbson:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: lmdb:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
arm-uwp failed with again what looks like a source issue:
mdb.c.obj : error LNK2001: unresolved external symbol __tls_used
mdb.c.obj : error LNK2001: unresolved external symbol _mdb_tls_cbp
PASSING, REMOVE FROM FAIL LIST: metis:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: metis:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
I also checked Linux and it says
Could NOT find ibverbs (missing: IBVERBS_INCLUDE_DIRS IBVERBS_LIBRARIES)
which may be vcpkg's fault so I left that ci.baseline.txt skip alone.
REGRESSION: jansson:arm-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:arm-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: jansson:x64-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:x64-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
Already fixed by https://github.com/microsoft/vcpkg/pull/24466
* dos2unix the patch
* :dos2unix the other patches too
2022-04-30 12:27:24 +08:00
|
|
|
+all_platforms="${all_platforms} x86_64-uwp-vs17"
|
2021-02-11 16:33:20 +08:00
|
|
|
all_platforms="${all_platforms} x86_64-win64-gcc"
|
|
|
|
all_platforms="${all_platforms} x86_64-win64-vs14"
|
|
|
|
all_platforms="${all_platforms} x86_64-win64-vs15"
|
2023-11-16 11:13:58 +08:00
|
|
|
@@ -491,11 +499,10 @@ process_targets() {
|
2021-02-11 16:33:20 +08:00
|
|
|
! enabled multithread && DIST_DIR="${DIST_DIR}-nomt"
|
|
|
|
! enabled install_docs && DIST_DIR="${DIST_DIR}-nodocs"
|
|
|
|
DIST_DIR="${DIST_DIR}-${tgt_isa}-${tgt_os}"
|
|
|
|
- case "${tgt_os}" in
|
|
|
|
- win*) enabled static_msvcrt && DIST_DIR="${DIST_DIR}mt" || DIST_DIR="${DIST_DIR}md"
|
|
|
|
- DIST_DIR="${DIST_DIR}-${tgt_cc}"
|
|
|
|
- ;;
|
|
|
|
- esac
|
|
|
|
+ if [[ ${tgt_os} =~ win.* ]] || [ "${tgt_os}" = "uwp" ]; then
|
|
|
|
+ enabled static_msvcrt && DIST_DIR="${DIST_DIR}mt" || DIST_DIR="${DIST_DIR}md"
|
|
|
|
+ DIST_DIR="${DIST_DIR}-${tgt_cc}"
|
|
|
|
+ fi
|
|
|
|
if [ -f "${source_path}/build/make/version.sh" ]; then
|
|
|
|
ver=`"$source_path/build/make/version.sh" --bare "$source_path"`
|
|
|
|
DIST_DIR="${DIST_DIR}-${ver}"
|
2023-11-16 11:13:58 +08:00
|
|
|
@@ -584,6 +591,10 @@ process_detect() {
|
2021-02-11 16:33:20 +08:00
|
|
|
|
|
|
|
# Specialize windows and POSIX environments.
|
|
|
|
case $toolchain in
|
|
|
|
+ *-uwp-*)
|
|
|
|
+ # Don't check for any headers in UWP builds.
|
|
|
|
+ false
|
|
|
|
+ ;;
|
|
|
|
*-win*-*)
|
|
|
|
# Don't check for any headers in Windows builds.
|
|
|
|
false
|