OpenFabrics Interfaces (OFI) is a framework focused on exporting fabric
communication services to applications. OFI is best described as a collection
of libraries and applications used to export fabric services. The key components
of OFI are: application interfaces, provider libraries, kernel services,
daemons, and test applications.
Libfabric is a core component of OFI. It is the library that defines and exports
the user-space API of OFI, and is typically the only software that applications
deal with directly. It works in conjunction with provider libraries, which are
often integrated directly into libfabric.
===> The following configuration options are available for libfabric-1.15.1_4:
====> Providers to build:: you have to choose at least one of them
RXD=on: 'rxd' provider
RXM=on: 'rxm' provider
SOCKETS=on: 'sockets' provider
TCP=on: 'tcp' provider
UDP=on: 'udp' provider
VERBS=on: 'verbs' provider
===> Use 'make config' to modify these settings
net/libfabric: fix build with clang 16
Clang 16 has a new error about incompatible function types, which shows
up when building net/libfabric (on i386):
prov/hook/src/hook_domain.c:124:12: error: incompatible function pointer types
passing 'ssize_t (struct fid_ep *, size_t)' (aka 'int (struct fid_ep *, unsigned
int)') to parameter of type 'ssize_t (*)(struct fid_ep *, uint64_t)' (aka 'int
(*)(struct fid_ep *, unsigned long long)')
[-Wincompatible-function-pointer-types]
hook_credit_handler);
^~~~~~~~~~~~~~~~~~~
prov/hook/src/hook_domain.c:150:17: error: incompatible function pointer types
initializing 'void (*)(struct fid_ep *, uint64_t)' (aka 'void (*)(struct fid_ep
*, unsigned long long)') with an expression of type 'void (struct fid_ep *,
size_t)' (aka 'void (struct fid_ep *, unsigned int)')
[-Wincompatible-function-pointer-types]
.add_credits = hook_add_credits,
^~~~~~~~~~~~~~~~
prov/hook/src/hook_domain.c:152:22: error: incompatible function pointer types
initializing 'void (*)(struct fid_domain *, ssize_t (*)(struct fid_ep *,
uint64_t))' (aka 'void (*)(struct fid_domain *, int (*)(struct fid_ep *,
unsigned long long))') with an expression of type 'void (struct fid_domain *,
ssize_t (*)(struct fid_ep *, size_t))' (aka 'void (struct fid_domain *, int
(*)(struct fid_ep *, unsigned int))') [-Wincompatible-function-pointer-types]
.set_send_handler = hook_set_send_handler,
^~~~~~~~~~~~~~~~~~~~~
The problem is that the 'credits' parameter used in these functions is
size_t in some cases, but uint64_t in other cases. On LP64 architectures
this does not result in any errors, but on e.g. i386 you get the above.
Make the 'credits' parameter uint64_t everywhere to fix this issue.
PR: 271537
Approved by: yuri (maintainer)
MFH: 2023Q2
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )