[libfabric] msbuild (#33175)

* libfabric msbuild

* v db

* fix wrong config

* v db
This commit is contained in:
Alexander Neumann 2023-08-16 21:52:23 +02:00 committed by GitHub
parent e2b7697406
commit babb0b8cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 15 deletions

View File

@ -13,24 +13,16 @@ vcpkg_from_github(
set(LIBFABRIC_RELEASE_CONFIGURATION "Release-v142") set(LIBFABRIC_RELEASE_CONFIGURATION "Release-v142")
set(LIBFABRIC_DEBUG_CONFIGURATION "Debug-v142") set(LIBFABRIC_DEBUG_CONFIGURATION "Debug-v142")
vcpkg_install_msbuild( vcpkg_msbuild_install(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH libfabric.vcxproj PROJECT_SUBPATH libfabric.vcxproj
INCLUDES_SUBPATH include
LICENSE_SUBPATH COPYING
PLATFORM "x64" PLATFORM "x64"
RELEASE_CONFIGURATION ${LIBFABRIC_RELEASE_CONFIGURATION} RELEASE_CONFIGURATION ${LIBFABRIC_RELEASE_CONFIGURATION}
DEBUG_CONFIGURATION ${LIBFABRIC_RELEASE_CONFIGURATION} DEBUG_CONFIGURATION ${LIBFABRIC_DEBUG_CONFIGURATION}
USE_VCPKG_INTEGRATION
ALLOW_ROOT_INCLUDES
OPTIONS OPTIONS
/p:SolutionDir=${SOURCE_PATH} /p:SolutionDir=${SOURCE_PATH}
/p:AdditionalIncludeDirectories="${CURRENT_INSTALLED_DIR}/include"
) )
#Move includes under subdirectory to avoid colisions with other libraries file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/libfabric")
file(RENAME "${CURRENT_PACKAGES_DIR}/include" "${CURRENT_PACKAGES_DIR}/includetemp")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include")
file(RENAME "${CURRENT_PACKAGES_DIR}/includetemp" "${CURRENT_PACKAGES_DIR}/include/libfabric")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

View File

@ -1,7 +1,7 @@
{ {
"name": "libfabric", "name": "libfabric",
"version-semver": "1.13.2", "version-semver": "1.13.2",
"port-version": 1, "port-version": 2,
"description": "The OpenFabrics Interfaces Working Group (OFIWG) and the Libfabric open-source community are pleased to announce the release of version v1.6.2 of libfabric. See NEWS.md for the list of features and enhancements that have been added since the last release.", "description": "The OpenFabrics Interfaces Working Group (OFIWG) and the Libfabric open-source community are pleased to announce the release of version v1.6.2 of libfabric. See NEWS.md for the list of features and enhancements that have been added since the last release.",
"homepage": "https://github.com/ofiwg/libfabric", "homepage": "https://github.com/ofiwg/libfabric",
"supports": "windows & !uwp & x64 & !static", "supports": "windows & !uwp & x64 & !static",
@ -9,6 +9,11 @@
{ {
"name": "networkdirect-sdk", "name": "networkdirect-sdk",
"platform": "windows" "platform": "windows"
},
{
"name": "vcpkg-msbuild",
"host": true,
"platform": "windows"
} }
] ]
} }

View File

@ -4086,7 +4086,7 @@
}, },
"libfabric": { "libfabric": {
"baseline": "1.13.2", "baseline": "1.13.2",
"port-version": 1 "port-version": 2
}, },
"libffi": { "libffi": {
"baseline": "3.4.4", "baseline": "3.4.4",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "19c6e0eeaef3d31e6a2f722a99d418bc03275f1a",
"version-semver": "1.13.2",
"port-version": 2
},
{ {
"git-tree": "d0a766bd1f01a742dcc12e13bafd741b94d7a3c0", "git-tree": "d0a766bd1f01a742dcc12e13bafd741b94d7a3c0",
"version-semver": "1.13.2", "version-semver": "1.13.2",