[hlslpp] Update to 3.9 (#51980)

This commit is contained in:
Weihang Ding 2026-05-27 03:40:40 +08:00 committed by GitHub
parent 2c26512152
commit 28ae799afc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 26 additions and 21 deletions

View File

@ -1,19 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO redorav/hlslpp
REF "${VERSION}"
SHA512 d70cd2a6788ffd462b088ad9ad4c9fd0aba0d971054a896626d05409afd5865f44f630e0b84329f0923b1ee2e608200a222e0207529faf22931c8260766b0c6d
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}/include/")
file(RENAME "${CURRENT_PACKAGES_DIR}/include/include" "${CURRENT_PACKAGES_DIR}/include/hlslpp")
# Copy and rename License -> copyright.
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
# Copy the cmake config file, which is used to setup the imported target.
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/${PORT}-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
# Copy and show the usage.
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO redorav/hlslpp
REF "${VERSION}"
SHA512 448b8d78f8249061fb17a2aa3f9851f512ece84b08b2a75d255adcdc05339ccfd19d300788216256b5ec93296f5b1e474f94b3a49d673f38e684a6f9601d833e
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}/include/")
file(RENAME "${CURRENT_PACKAGES_DIR}/include/include" "${CURRENT_PACKAGES_DIR}/include/hlslpp")
# Copy and rename License -> copyright.
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
# Copy the cmake config file, which is used to setup the imported target.
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/${PORT}-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
# Copy and show the usage.
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)

View File

@ -1,6 +1,6 @@
{
"name": "hlslpp",
"version": "3.8",
"version": "3.9",
"description": "Math library using HLSL syntax with multiplatform SIMD support.",
"homepage": "https://github.com/redorav/hlslpp",
"license": "MIT",

View File

@ -3845,7 +3845,7 @@
"port-version": 0
},
"hlslpp": {
"baseline": "3.8",
"baseline": "3.9",
"port-version": 0
},
"hnswlib": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f3ca16a5d0f82732e1cc0eb1e67e2af5ed8a62d5",
"version": "3.9",
"port-version": 0
},
{
"git-tree": "4063cae767a48674c0e848b8dc5fd94f6bb97db5",
"version": "3.8",