[spirv-headers] Update to latest version and properly installing the target (#27761)

* Updating port to latest version and to properly install a target

* Formatting

* Update version
This commit is contained in:
Arsen Tufankjian 2022-11-11 09:19:11 -08:00 коммит произвёл GitHub
Родитель f1d5c51f17
Коммит 8e74630b9e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 27 добавлений и 7 удалений

Просмотреть файл

@ -2,13 +2,18 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/SPIRV-Headers REPO KhronosGroup/SPIRV-Headers
REF sdk-1.3.216.0 REF sdk-1.3.231.1
SHA512 951715cf62a643bfce6a3854f2206b95dd65e60b27355a2f290e829da0f06e19877e9dfcbf53f455b8a0524fb851a851742f3e16bb29be2f470cd62d3a8fc8f0 SHA512 d2c47127fd81430383e8656917f76933b713ca6cb93b2a9c16c9e0b125e2f62f8c497cab3a4fcc2a711decd911ec5d15f1eb0270add05442aff6672e08c890d7
HEAD_REF master HEAD_REF master
) )
# This must be spirv as other spirv packages expect it there. vcpkg_cmake_configure(
file(COPY "${SOURCE_PATH}/include/spirv/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/spirv") SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
# Handle copyright # Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

Просмотреть файл

@ -1,6 +1,16 @@
{ {
"name": "spirv-headers", "name": "spirv-headers",
"version": "1.3.216.0", "version": "1.3.231.1",
"description": "Machine-readable files for the SPIR-V Registry", "description": "Machine-readable files for the SPIR-V Registry",
"homepage": "https://github.com/KhronosGroup/SPIRV-Headers" "homepage": "https://github.com/KhronosGroup/SPIRV-Headers",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
} }

Просмотреть файл

@ -7089,7 +7089,7 @@
"port-version": 2 "port-version": 2
}, },
"spirv-headers": { "spirv-headers": {
"baseline": "1.3.216.0", "baseline": "1.3.231.1",
"port-version": 0 "port-version": 0
}, },
"spirv-reflect": { "spirv-reflect": {

Просмотреть файл

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "f192dbfcc02f6367e9e12b7659c503f68856a876",
"version": "1.3.231.1",
"port-version": 0
},
{ {
"git-tree": "5b17fe28f5ada58a1a3e1435c20d59410b82e501", "git-tree": "5b17fe28f5ada58a1a3e1435c20d59410b82e501",
"version": "1.3.216.0", "version": "1.3.216.0",