зеркало из https://github.com/microsoft/vcpkg.git
[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:
Родитель
f1d5c51f17
Коммит
8e74630b9e
|
@ -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",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче