[gpgmm] update port to 0.1.2 and fix warning (#41776)

Co-authored-by: Jon <v-zhli17@microsoft.com>
This commit is contained in:
JonLiu1993 2024-10-29 15:27:46 +08:00 committed by GitHub
parent 36caac1012
commit d58888a059
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 7 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO intel/gpgmm REPO intel/gpgmm
REF v0.0.4 REF "v${VERSION}"
SHA512 2ffc3c8299f2d10cb1c0013cd306ba45781a644fa0aa426ef1dfa616e4b53671461a376f65b7068b1ff8a4a2d1a6f9539664174eb5830ea6a760ef5e5d0fc6b0 SHA512 1e949e87110e555aa139e564a667a030150e77fd9b174f11bd3238b1fc3e7ae7ef17cc483b8afc9b0b7c346ce36564c94959454e27509c520bec18ef8396b5a1
HEAD_REF main HEAD_REF main
) )
@ -16,6 +16,7 @@ vcpkg_cmake_configure(
) )
vcpkg_cmake_install() vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
@ -24,7 +25,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif() endif()
file(GLOB GPGMM_INCLUDE "${SOURCE_PATH}/src/include/*.h") file(GLOB_RECURSE GPGMM_INCLUDE "${SOURCE_PATH}/src/*.h")
file(COPY ${GPGMM_INCLUDE} DESTINATION "${CURRENT_PACKAGES_DIR}/include") file(INSTALL ${GPGMM_INCLUDE} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,6 +1,6 @@
{ {
"name": "gpgmm", "name": "gpgmm",
"version": "0.0.4", "version": "0.1.2",
"description": "GPGMM is a General-Purpose GPU Memory Management library. It provides a common set of GPU memory routines optimized for GPUs. The library helps developers manage video memory by implementing the necessary functionality across components based on Vulkan or D3D12", "description": "GPGMM is a General-Purpose GPU Memory Management library. It provides a common set of GPU memory routines optimized for GPUs. The library helps developers manage video memory by implementing the necessary functionality across components based on Vulkan or D3D12",
"homepage": "https://github.com/intel/GPGMM/", "homepage": "https://github.com/intel/GPGMM/",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -3225,7 +3225,7 @@
"port-version": 0 "port-version": 0
}, },
"gpgmm": { "gpgmm": {
"baseline": "0.0.4", "baseline": "0.1.2",
"port-version": 0 "port-version": 0
}, },
"gppanel": { "gppanel": {

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "26588ebafae6c3d0ba1d0d8a76ea8d425ba33eaf",
"version": "0.1.2",
"port-version": 0
},
{ {
"git-tree": "588c2c48227d309001811deaab846ce36476c3c9", "git-tree": "588c2c48227d309001811deaab846ce36476c3c9",
"version": "0.0.4", "version": "0.0.4",