diff --git a/ports/libfabric/add_additional_includes.patch b/ports/libfabric/add_additional_includes.patch
deleted file mode 100644
index 80c49d44d9..0000000000
--- a/ports/libfabric/add_additional_includes.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff --git a/libfabric.vcxproj b/libfabric.vcxproj
-index c1e1792..3acbc81 100644
---- a/libfabric.vcxproj
-+++ b/libfabric.vcxproj
-@@ -187,7 +187,7 @@
- Disabled
- WIN32;_WINSOCKAPI_=;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_WINDOWS;_USRDLL;LIBFABRIC_EXPORTS;HAVE_CONFIG_H;ENABLE_DEBUG;%(PreprocessorDefinitions)
- true
-- $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;
-+ $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;$(AdditionalIncludeDirectories);
- CompileAsC
- 4127;4200;4204;4221;4115;4201;4100
- true
-@@ -215,7 +215,7 @@
- Disabled
- WIN32;_WINSOCKAPI_=;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_WINDOWS;_USRDLL;LIBFABRIC_EXPORTS;HAVE_CONFIG_H;ENABLE_DEBUG;%(PreprocessorDefinitions)
- true
-- $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include
-+ $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;$(AdditionalIncludeDirectories);
- CompileAsC
- 4127;4200;94;4204;4221;869
- true
-@@ -239,7 +239,7 @@
- true
- WIN32;_WINSOCKAPI_=;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_WINDOWS;_USRDLL;LIBFABRIC_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions)
- true
-- $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include
-+ $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;$(AdditionalIncludeDirectories);
- 4127;4200;4204;4221;4115;4201;4100
- true
- false
-@@ -265,7 +265,7 @@
- true
- WIN32;_WINSOCKAPI_=;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_WINDOWS;_USRDLL;LIBFABRIC_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions)
- true
-- $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;
-+ $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;$(AdditionalIncludeDirectories);
- 4127;4200;4204;4221;4115;4201;4100
- true
- false
-@@ -285,7 +285,7 @@
- true
- true
- WIN32;_WINSOCKAPI_=;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_WINDOWS;_USRDLL;LIBFABRIC_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions)
-- $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;
-+ $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;$(AdditionalIncludeDirectories);
- 4127;4200;4204;4221;4115;4201;4100
- true
- true
-@@ -307,7 +307,7 @@
- true
- WIN32;_WINSOCKAPI_=;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;_WINDOWS;_USRDLL;LIBFABRIC_EXPORTS;HAVE_CONFIG_H;%(PreprocessorDefinitions)
- true
-- $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;
-+ $(ProjectDir)include;$(ProjectDir)include\windows;$(ProjectDir)prov\netdir\NetDirect;$(ProjectDir)prov\hook\src;$(ProjectDir)prov\hook\include;$(ProjectDir)prov\hook\perf\include;$(AdditionalIncludeDirectories);
- 4127;4200;94;4204;4221;869
- true
- false
diff --git a/ports/libfabric/portfile.cmake b/ports/libfabric/portfile.cmake
index b87a10ba75..aeaa34225e 100644
--- a/ports/libfabric/portfile.cmake
+++ b/ports/libfabric/portfile.cmake
@@ -1,28 +1,36 @@
-vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
+if(VCPKG_TARGET_IS_WINDOWS)
+ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
+endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ofiwg/libfabric
- REF bcb41c462e1e38559c94096ac06e2f578b466882 # v1.13.2
+ REF v${VERSION}
+ SHA512 8242d1eec22a066b65cb99f5b96da44ce19c1dcb3db15238495b28147e8bcee70f6c0eaf5f72e1dc9e004809114a5f96ee696b9e5fc8bd9c07177b9916e35d05
HEAD_REF master
- SHA512 b3ea464a402aa5b470ba5478350e23682488f785a3b2cb34df02f23d1663f097285f6795ab287db40b2a544c8e3969358a23165664e1fc39542038d726212e6c
- PATCHES
- add_additional_includes.patch
)
-set(LIBFABRIC_RELEASE_CONFIGURATION "Release-v142")
-set(LIBFABRIC_DEBUG_CONFIGURATION "Debug-v142")
+if(VCPKG_TARGET_IS_WINDOWS)
+ vcpkg_msbuild_install(
+ SOURCE_PATH "${SOURCE_PATH}"
+ PROJECT_SUBPATH libfabric.vcxproj
+ RELEASE_CONFIGURATION Release-v142
+ DEBUG_CONFIGURATION Debug-v142
+ OPTIONS
+ "/p:SolutionDir=${SOURCE_PATH}"
+ )
+ file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/libfabric")
-vcpkg_msbuild_install(
- SOURCE_PATH "${SOURCE_PATH}"
- PROJECT_SUBPATH libfabric.vcxproj
- PLATFORM "x64"
- RELEASE_CONFIGURATION ${LIBFABRIC_RELEASE_CONFIGURATION}
- DEBUG_CONFIGURATION ${LIBFABRIC_DEBUG_CONFIGURATION}
- OPTIONS
- /p:SolutionDir=${SOURCE_PATH}
-)
-
-file(COPY "${SOURCE_PATH}/include/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/libfabric")
+else()
+ vcpkg_configure_make(
+ SOURCE_PATH "${SOURCE_PATH}"
+ AUTOCONFIG
+ OPTIONS
+ --with-uring=no
+ )
+ vcpkg_install_make()
+ vcpkg_fixup_pkgconfig()
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+endif()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
diff --git a/ports/libfabric/vcpkg.json b/ports/libfabric/vcpkg.json
index 3478c994c6..006eff89c9 100644
--- a/ports/libfabric/vcpkg.json
+++ b/ports/libfabric/vcpkg.json
@@ -1,10 +1,10 @@
{
"name": "libfabric",
- "version-semver": "1.13.2",
- "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.",
- "homepage": "https://github.com/ofiwg/libfabric",
- "supports": "windows & !uwp & x64 & !static",
+ "version-semver": "1.22.0",
+ "description": "Libfabric, aka Open Fabrics Interfaces (OFI), defines a communication API for high-performance parallel and distributed applications.",
+ "homepage": "https://ofiwg.github.io/libfabric/",
+ "license": "BSD-2-Clause OR GPL-2.0-only",
+ "supports": "freebsd | linux | osx | (windows & x64 & !mingw & !uwp & !(static & staticcrt))",
"dependencies": [
{
"name": "networkdirect-sdk",
diff --git a/versions/baseline.json b/versions/baseline.json
index e4a0ead530..8d4ab57f1a 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -4537,8 +4537,8 @@
"port-version": 3
},
"libfabric": {
- "baseline": "1.13.2",
- "port-version": 2
+ "baseline": "1.22.0",
+ "port-version": 0
},
"libffi": {
"baseline": "3.4.6",
diff --git a/versions/l-/libfabric.json b/versions/l-/libfabric.json
index 913c910632..4f20e89506 100644
--- a/versions/l-/libfabric.json
+++ b/versions/l-/libfabric.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "eb0fa7c989df17085d5f125bd699dcb2e51159e4",
+ "version-semver": "1.22.0",
+ "port-version": 0
+ },
{
"git-tree": "19c6e0eeaef3d31e6a2f722a99d418bc03275f1a",
"version-semver": "1.13.2",