2020-06-03 13:41:49 +08:00
|
|
|
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
2019-06-13 07:04:18 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ofiwg/libfabric
|
2021-10-27 14:57:38 +08:00
|
|
|
REF bcb41c462e1e38559c94096ac06e2f578b466882 # v1.13.2
|
2019-06-13 07:04:18 +08:00
|
|
|
HEAD_REF master
|
2021-10-27 14:57:38 +08:00
|
|
|
SHA512 b3ea464a402aa5b470ba5478350e23682488f785a3b2cb34df02f23d1663f097285f6795ab287db40b2a544c8e3969358a23165664e1fc39542038d726212e6c
|
2019-06-13 07:04:18 +08:00
|
|
|
PATCHES
|
2021-09-15 03:01:57 +08:00
|
|
|
add_additional_includes.patch
|
2019-06-13 07:04:18 +08:00
|
|
|
)
|
|
|
|
|
2021-09-15 03:01:57 +08:00
|
|
|
set(LIBFABRIC_RELEASE_CONFIGURATION "Release-v142")
|
|
|
|
set(LIBFABRIC_DEBUG_CONFIGURATION "Debug-v142")
|
2019-06-13 07:04:18 +08:00
|
|
|
|
2023-08-17 03:52:23 +08:00
|
|
|
vcpkg_msbuild_install(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-06-13 07:04:18 +08:00
|
|
|
PROJECT_SUBPATH libfabric.vcxproj
|
|
|
|
PLATFORM "x64"
|
|
|
|
RELEASE_CONFIGURATION ${LIBFABRIC_RELEASE_CONFIGURATION}
|
2023-08-17 03:52:23 +08:00
|
|
|
DEBUG_CONFIGURATION ${LIBFABRIC_DEBUG_CONFIGURATION}
|
2019-06-13 07:04:18 +08:00
|
|
|
OPTIONS
|
|
|
|
/p:SolutionDir=${SOURCE_PATH}
|
|
|
|
)
|
|
|
|
|
2023-08-17 03:52:23 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/libfabric")
|
2019-06-13 07:04:18 +08:00
|
|
|
|
2023-08-17 03:52:23 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|