Skip to content

Commit

Permalink
[gmmlib] Update to 21.3.2 (#21395)
Browse files Browse the repository at this point in the history
* Update gmmlib to 21.3.2

* Update CI baseline

Co-authored-by: chausner <[email protected]>
  • Loading branch information
chausner and chausner authored Nov 15, 2021
1 parent ad0240d commit 8770ca1
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 18 deletions.
22 changes: 10 additions & 12 deletions ports/gmmlib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,22 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO intel/gmmlib
REF f6c91364b0911a7513e9543fd874360ec8901742 # intel-gmmlib-20.3.1
SHA512 c46d5cba30db1d06134d2606ad9806a84b0e1248313a61c5d073fc5fe7570b864a4d5e9cf73dc6832102ace476839dbff1e3782f08a4cdcb62c04c40708a5710
REF intel-gmmlib-21.3.2
SHA512 155f7077f3135ff812b9fe759e56fecd595f1c5dde9a377df31a9acedcfeea9d93751badba68077c00929a21cb87e1bd69b8fe3961ac61765fabbc5d6d89e6be
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS -DARCH=64
)

vcpkg_install_cmake()
vcpkg_cmake_install()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/Scripts")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/Resource")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/GlobalInfo")

# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/gmmlib/copyright COPYONLY)

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/Scripts)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/Resource)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/igdgmm/GmmLib/GlobalInfo)
configure_file("${SOURCE_PATH}/LICENSE.md" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
14 changes: 10 additions & 4 deletions ports/gmmlib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"name": "gmmlib",
"version-string": "20.3.1",
"port-version": 1,
"description": "intel's graphics memory management library",
"supports": "linux"
"version": "21.3.2",
"description": "Intel(R) Graphics Memory Management Library",
"homepage": "https://github.com/intel/gmmlib",
"supports": "linux",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2497,8 +2497,8 @@
"port-version": 2
},
"gmmlib": {
"baseline": "20.3.1",
"port-version": 1
"baseline": "21.3.2",
"port-version": 0
},
"gmp": {
"baseline": "6.2.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gmmlib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5b69783d8bdff160371ecc494af42d6ec8d8ffa0",
"version": "21.3.2",
"port-version": 0
},
{
"git-tree": "1d1a120fb9b513b005575b6324b9eaa13d900192",
"version-string": "20.3.1",
Expand Down

0 comments on commit 8770ca1

Please sign in to comment.