Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UWP toolchain fix and update some supports expressions for uwp/xbox #30096

Merged
merged 10 commits into from
Mar 20, 2023
4 changes: 3 additions & 1 deletion ports/cppxaml/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "cppxaml",
"version": "0.0.16",
"port-version": 1,
"description": "CppXaml is a library to facilitate usage of the XAML UI framework in C++ Windows apps.",
"homepage": "https://asklar.github.io/xaml-islands",
"supports": "windows"
"license": "MIT",
"supports": "windows & !xbox"
}
4 changes: 2 additions & 2 deletions ports/cuda/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "cuda",
"version": "10.1",
"port-version": 11,
"port-version": 12,
"description": "A parallel computing platform and programming model",
"homepage": "https://developer.nvidia.com/cuda-toolkit",
"license": null,
"supports": "(windows & x64 & !uwp) | (linux & x64) | (linux & arm64)"
"supports": "(windows & x64 & !uwp & !xbox) | (linux & x64) | (linux & arm64)"
}
4 changes: 2 additions & 2 deletions ports/kinectsdk1/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "kinectsdk1",
"version": "1.8",
"port-version": 6,
"port-version": 7,
"description": "Kinect for Windows SDK for Kinect v1 sensor.",
"license": null,
"supports": "!arm & windows",
"supports": "!arm & windows & !uwp & !xbox",
"dependencies": [
{
"name": "vcpkg-tool-lessmsi",
Expand Down
4 changes: 2 additions & 2 deletions ports/kinectsdk2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "kinectsdk2",
"version": "2.0",
"port-version": 5,
"port-version": 6,
"description": "Kinect for Windows SDK for Kinect v2 sensor.",
"license": null,
"supports": "!arm & windows",
"supports": "!arm & windows & !uwp & !xbox",
"dependencies": [
{
"name": "vcpkg-tool-lessmsi",
Expand Down
3 changes: 2 additions & 1 deletion ports/ms-gdkx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "ms-gdkx",
"version": "1.0.0",
"port-version": 1,
"description": "Stub port that ensures the Microsoft GDK with Xbox Extensions is installed.",
"homepage": "https://aka.ms/gdkx",
"documentation": "https://aka.ms/gamedevdocs",
"license": null,
"supports": "xbox"
"supports": "windows & x64 & !uwp"
}
4 changes: 2 additions & 2 deletions ports/opengl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "opengl",
"version-date": "2022-12-04",
"port-version": 2,
"port-version": 3,
"description": "Open Graphics Library (OpenGL)[3][4][5] is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics.",
"license": null,
"supports": "!xbox",
"supports": "!uwp & !xbox",
"dependencies": [
"opengl-registry"
]
Expand Down
4 changes: 2 additions & 2 deletions ports/vulkan-headers/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "vulkan-headers",
"version": "1.3.239",
"port-version": 1,
"port-version": 2,
"description": "Vulkan header files and API registry",
"homepage": "https://github.com/KhronosGroup/Vulkan-Headers",
"license": "Apache-2.0",
"supports": "!xbox",
"supports": "!uwp & !xbox",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand Down
4 changes: 2 additions & 2 deletions ports/vulkan-hpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "vulkan-hpp",
"version": "1.3.231",
"port-version": 1,
"port-version": 2,
"description": "Header only C++ bindings for the Vulkan C API",
"license": "Apache-2.0",
"supports": "!xbox",
"supports": "!uwp & !xbox",
"dependencies": [
"vulkan"
]
Expand Down
2 changes: 2 additions & 0 deletions ports/vulkan-memory-allocator-hpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "vulkan-memory-allocator-hpp",
"version": "3.0.1",
"port-version": 1,
"description": "C++ bindings for VulkanMemoryAllocator",
"homepage": "https://github.com/YaaZ/VulkanMemoryAllocator-Hpp",
"license": "CC0-1.0",
"supports": "!uwp & !xbox",
"dependencies": [
"vulkan"
]
Expand Down
4 changes: 3 additions & 1 deletion ports/vulkan-memory-allocator/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "vulkan-memory-allocator",
"version": "3.0.1",
"port-version": 1,
"description": "Easy to integrate Vulkan memory allocation library from GPUOpen",
"homepage": "https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator",
"license": "MIT"
"license": "MIT",
"supports": "!uwp & !xbox"
}
5 changes: 3 additions & 2 deletions ports/vulkan/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "vulkan",
"version": "1.1.82.1",
"port-version": 4,
"port-version": 5,
"description": "A graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs on a wide variety of devices.",
"supports": "!xbox"
"license": null,
"supports": "!uwp & !xbox"
}
5 changes: 5 additions & 0 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,11 @@ sentencepiece:x64-windows-static-md=fail
symengine:x64-windows-static-md=fail
unicorn:x64-windows-static-md=fail

# these ports require the Microsoft GDK with Xbox Extensions which is not installed on the CI pipeline machines
ms-gdkx:x64-windows=fail
ms-gdkx:x64-windows-static=fail
ms-gdkx:x64-windows-static-md=fail

# the version of v8 we have in the repo doesn't support VS2022
v8:x86-windows=fail
v8:x64-windows=fail
Expand Down
8 changes: 3 additions & 5 deletions scripts/toolchains/uwp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ if(DEFINED VCPKG_CMAKE_SYSTEM_VERSION)
set(CMAKE_SYSTEM_VERSION "${VCPKG_CMAKE_SYSTEM_VERSION}" CACHE STRING "" FORCE)
endif()

if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
set(CMAKE_CROSSCOMPILING ON CACHE STRING "")
set(CMAKE_CROSSCOMPILING ON CACHE STRING "")

if(NOT DEFINED CMAKE_SYSTEM_VERSION)
set(CMAKE_SYSTEM_VERSION "${CMAKE_HOST_SYSTEM_VERSION}" CACHE STRING "")
endif()
if(NOT DEFINED CMAKE_SYSTEM_VERSION)
set(CMAKE_SYSTEM_VERSION "${CMAKE_HOST_SYSTEM_VERSION}" CACHE STRING "")
endif()

get_property( _CMAKE_IN_TRY_COMPILE GLOBAL PROPERTY IN_TRY_COMPILE )
Expand Down
22 changes: 11 additions & 11 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@
},
"cppxaml": {
"baseline": "0.0.16",
"port-version": 0
"port-version": 1
},
"cppzmq": {
"baseline": "4.9.0",
Expand Down Expand Up @@ -1886,7 +1886,7 @@
},
"cuda": {
"baseline": "10.1",
"port-version": 11
"port-version": 12
},
"cudnn": {
"baseline": "7.6.5",
Expand Down Expand Up @@ -3590,11 +3590,11 @@
},
"kinectsdk1": {
"baseline": "1.8",
"port-version": 6
"port-version": 7
},
"kinectsdk2": {
"baseline": "2.0",
"port-version": 5
"port-version": 6
},
"kissfft": {
"baseline": "2021-11-14",
Expand Down Expand Up @@ -5238,7 +5238,7 @@
},
"ms-gdkx": {
"baseline": "1.0.0",
"port-version": 0
"port-version": 1
},
"ms-gltf": {
"baseline": "2022-06-28",
Expand Down Expand Up @@ -5738,7 +5738,7 @@
},
"opengl": {
"baseline": "2022-12-04",
"port-version": 2
"port-version": 3
},
"opengl-registry": {
"baseline": "2022-09-29",
Expand Down Expand Up @@ -8242,23 +8242,23 @@
},
"vulkan": {
"baseline": "1.1.82.1",
"port-version": 4
"port-version": 5
},
"vulkan-headers": {
"baseline": "1.3.239",
"port-version": 1
"port-version": 2
},
"vulkan-hpp": {
"baseline": "1.3.231",
"port-version": 1
"port-version": 2
},
"vulkan-memory-allocator": {
"baseline": "3.0.1",
"port-version": 0
"port-version": 1
},
"vulkan-memory-allocator-hpp": {
"baseline": "3.0.1",
"port-version": 0
"port-version": 1
},
"vvenc": {
"baseline": "1.7.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cppxaml.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "85dcf687925f266a40cf039aa8696b729f7b084e",
"version": "0.0.16",
"port-version": 1
},
{
"git-tree": "57d825ac962df4a92481b82161ea7b7088929a82",
"version": "0.0.16",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cuda.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "85508d056c8d9e006b455ee71e29ab015abd8d63",
"version": "10.1",
"port-version": 12
},
{
"git-tree": "1d190177076c48287897d233ae2fa8c241f28f40",
"version": "10.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/k-/kinectsdk1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "95650640a3c97fff440182fb35e878cc0b3111de",
"version": "1.8",
"port-version": 7
},
{
"git-tree": "bc44fc3968647d5e6a43066a8d2b0cf6be3f4405",
"version": "1.8",
Expand Down
5 changes: 5 additions & 0 deletions versions/k-/kinectsdk2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e703f6797d85c9d99a150e4325c67bf7f3a7ea3f",
"version": "2.0",
"port-version": 6
},
{
"git-tree": "0de915e33cfe92b9972e0227eae6be31b6846fc5",
"version": "2.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/ms-gdkx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "88dfc0932dd418a9099759f87a60dab8a0df8d6e",
"version": "1.0.0",
"port-version": 1
},
{
"git-tree": "db060bcb7476b1f3f593027c28f4ff5e8589da7b",
"version": "1.0.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opengl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c3ae71738f88449ebcd781cef60d9a253fa091d4",
"version-date": "2022-12-04",
"port-version": 3
},
{
"git-tree": "23351e9e47639fa099352a258530b4c70dbc3ad5",
"version-date": "2022-12-04",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vulkan-headers.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d0e10b5347c26f2917d90b107a6177af1c270b65",
"version": "1.3.239",
"port-version": 2
},
{
"git-tree": "052634f8b28833b2d5302a0b4437031908eecde6",
"version": "1.3.239",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vulkan-hpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "61fc021c36380e8be0bf1742784dea14c9fe4a97",
"version": "1.3.231",
"port-version": 2
},
{
"git-tree": "794ed471d4b90ebb0ecad8adbb2f10fb57a7f0f6",
"version": "1.3.231",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vulkan-memory-allocator-hpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "572ac6bfc63ddd4a37633aa76f54ff4c8325cb85",
"version": "3.0.1",
"port-version": 1
},
{
"git-tree": "2f76c60d16fb75bdbf3bfa08039557bfbe0ff84a",
"version": "3.0.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vulkan-memory-allocator.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "49c724c78cf76e8858c92ce7b1acdc52fd9bf62b",
"version": "3.0.1",
"port-version": 1
},
{
"git-tree": "3e9468d6877548306f7d94800031ef9d04541529",
"version": "3.0.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vulkan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "80d4793fe3882fca0afcb470183f404d97c22981",
"version": "1.1.82.1",
"port-version": 5
},
{
"git-tree": "a0810feaa193deb10db91cd9cfe727a13fba5b84",
"version": "1.1.82.1",
Expand Down