24 Commits

Author SHA256 Message Date
Nicolas Morey
d4780a0769 Update to v2.4.0
- Core
    - hmem/cuda: Adding more robust libgdrapi libpaths
    - Update bindings/rust/README.md to reflect the recommended build process.
    - Update build.rs to support both cargo build & cargo publish work directories.
    - Update Cargo.toml in preparation for crates.io publishing.
    - configure: Fix sanitizer detection logic
    - Introduce a lightweight Rust bindings for Libfabric, using bindgen.
    - include/ofi_indexer: introduce new ofi_array_at_max function
    - man/fi_cxi: fixup info for FI_CXI_RDZV_GET_MIN
    - man/fi_getinfo: Update the capabilities with mode bits requirements
    - man/fi_cq: Document `FI_GETWAITOBJ` for `fi_control`
    - man/fi_fabric: Update `fi_tostr()` datatypes
  - CXI
    - Bump provider support up to libfabric 2.4
    - Add domain rx match mode override
    - Set rendezvous eager size default to 2K
    - Change cuda dmabuf default to enabled
    - Do not abort if MR match count do not reconcile
    - Allow CP for triggered CQ to remap to Best Effort
    - Fix sl-driver path for testing
    - Set max domain TX CQs to 14
    - Use cxil_alloc_trig_cp to distinguish trig and tx cmdqs
    - Add FI_EBUSY debug messages
    - Fix validation of service id
    - Fix criterion test_sw tap files
    - Cxip_cmdq_cp_modify fix
    - Fix RNR protocol send byte/error counting
    - Release TX credit when pending RNR retry
    - Update rocr test fine grained flags
    - Fix DEVICE in fi_info_test
    - Introduce non-debug tracing
    - Reset timer on rx of ARM packet
    - Fix performance issue with close_mc()
    - Increase vni range in auth_key tests
    - Support auth_key ranges
    - Fix use of hw_cps and memory leak
  - EFA
    - Fix cq data size in efa-rdm pkt post
    - fix test_efa_rdm_mr_reg_cuda_memory unit test
    - adjust the memory barrier positions
    - Optimize RTW packet sending by replacing efa_rdm_ope_post_send
    - Adjust logging level for txe releases
    - Add tracepoints for handshake
    - Add flags to MR logs
    - Grow efa_tx_pkt_pool and ope_pool during rdm ep creation
    - Do not use rdma write when unsolicited recv support is inconsistent
    - Determine whether using device rdma based on p2p
    - Introduce pke generation counter for protocol path
    - Enable data path direct for efa-rdm
    - Update the function signature for efa_data_path_direct_cq_initialize
    - Move efa_cq_open_ibv_cq to efa_cq.c
    - Do not track rx pkt pool for non-debug build
    - Temporarily disable FI_OPT_EFA_SENDRECV_IN_ORDER_ALIGNED_128_BYTES support for efa protocol
    - do not ignore local read completion
    - Add missing lttng tps in efa_post_send
    - Fix the remote cq data flags for zcpy recv
    - Optimize the WQE post in data path direct
    - fix typos in error messages
    - Only show help message for OPE warn logs
    - configure: replace no-brake space with regular space character
    - Remove unused function declarations
    - Acquire CQ's `ep_list_lock` during counter progress
    - Add asserts to detect erroneous CQE dereferences
    - Ignore rma completion to a removed peer
    - Remove the incorrect check for device max_msg_size
    - Fix function signature mismatch
    - Set FI_RX_CQ_DATA for efa direct with NULL hints
    - Do not fail fi_getinfo for the wrong fabric
    - Log warnings only for internal OPE failures or if CQ error entry not written
    - Add unit tests for LRU AH eviction
    - Evict AH with no explicit AV entries when AH limit reached
    - Add locking assertions and update unit tests
    - Remove efa_conn_release unsafe
    - Require FI_RX_CQ_DATA on devices without unsolicited write recv
    - Add LLTng tracepoints for direct data path operations
    - Don't warn users about non-EFA devices
    - Support FI_RX_CQ_DATA for efa-direct
    - Fix deadlocks in AV insert/remove/close and CQ read paths
    - Don't try to release a lock that is not taken
    - set RUNPATH if custom rdma-core provided
    - Remove rx_msg_flags from efa_rdm_msg_recv/efa_rdm_msg_recvv
    - Update tracepoints in the receive path
    - Slide recv-win on RTM/RTA error
    - Insert read and write packets to tx debug list
  - LNX
    - remove force setting DEVICE_ONLY flag
    - set core hints proto to UNSPEC
    - remove iov count failures
    - add wait object implementation
  - OPX
    - Don't fail configure when OPX unhappy
    - Add note to FI_OPX_SDMA_MIN_PAYLOAD_BYTES doc
    - Simplify uapi configuration
    - Unionize 9B and 16B packet SCB models in endpoint structs.
    - Support shared contexts in hfisvc bts
    - Fix replays for multi-packet eager
    - Don't retry forever in send rendezvous.
    - Don't ACK packets that were never received
    - Segfault in opx_hfi_rdma_context_open() on 2nd endpoint opened
    - Fix seg fault in finalize
    - Fix SDMA writev error when RDMA core functions are being used.
    - Add back accidentally removed opx_domain_hfisvc_poll()
    - Add missing function pointers for HFI service
    - Check uapi for hfisvc/HFI1 direct verbs
    - Rename hfisvc to opx-hfisvc
    - Move submodule to rdma core
    - Remove stx/srx support in OPX
    - Register MRs with HFI service
    - Ensure SDMA packet lengths are 8-byte multiples
    - Use HFI service by default if enabled in the driver.
    - fixup goto labels that need statements
    - Update hfisvc_client to 64-bit atomics
    - HFISVC: Fix replay payload
    - Disable HFI Service by default.
    - Disable use of HFI service when driver does not support it.
    - Update hfisvc_client to latest patch
    - Only open IPC cache if HMEM initialized and IPC enabled
    - Handle extended rx bits in common 9B code
    - Add IPC to 16B header path
    - Make sriov-alpha limitations CN5000-only
    - Remove cmake build for hfisvc_client library
    - Handle completion errors from HFI service
    - Fix setting of rc in deferred recv rts
    - Additional HFI Service support changes
    - HFI Service initial support
    - Asynchronous HMEM memcopy for IPC

Signed-off-by: Nicolas Morey <nmorey@suse.com>
2026-01-05 11:30:01 +01:00
aab33accc8 Build with distro flags 2025-12-04 16:00:00 +01:00
Nicolas Morey
d0cd2cb122 Remove obsolete patch prov-opx-fix-compilation-error.patch
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2025-10-28 12:58:36 +01:00
Nicolas Morey
d0303c4397 Update to libfabric 2.3.1
Signed-off-by: Nicolas Morey <nmorey@suse.com>
2025-10-28 10:32:49 +01:00
1fe49075fd Add Gitea build results 2025-10-27 17:35:23 +01:00
43118a119e Accepting request 1304987 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1304987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=56
2025-09-17 15:44:37 +00:00
6716661ee0 - Update to v2.3.0
- Core
    - configure: Improve the restricted-dl help text
    - ofi_list: Introduce dlist_entry_in_list
    - man/fi_peer: Fix `FI_ADDR_NOTAVAIL` typo
    - common: Make common runtime parameters working for DL providers
    - configure.ac: Move cuda cppflag set before DMABUF check
    - Add address format FI_SOCKADDR_IP
    - include/fi_peer.h: remove fi_peer_rx_entry dlist fields
    - configure: Fix clang checking
    - hmem/neuron: Implement put_dmabuf_fd op
    - man/fi_endpoint: Clarify rx_attr->caps usage
  - EFA
    - Decrement rx_pkts_posted before efa_rdm_pke_release_rx
    - Enable direct data path by default
    - Bypass rdma-core in blocking cq read path
    - Add traces for RX/TX completions
    - Fix the unsolicited write recv check
    - Refactor efa_base_ep_create_qp
    - Add generic function to process queued op entries
    - Deduce queued packet list from op entry
    - Add generic utility for fetching RDM packet type
    - Create abstraction for IBV CQ polling sequence
    - Bypass rdma-core in data path.
    - Refactor ibv_cq_ex open call
    - Fix stale links in docs/overview.md
    - Initialize nevents in efa_domain_cq_open_ext
    - Fix conflicting types for efa_mock_efa_ibv_cq_wc_read_opcode_return_mock
    - Remove duplicate mock function declarations
    - Use efa specific cq trywait

OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=120
2025-09-15 16:05:54 +00:00
48d72b9a87 Accepting request 1295312 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1295312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=55
2025-07-25 15:03:54 +00:00
a4acbc6be0 - Fix file list on riscv64
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=118
2025-07-23 12:19:44 +00:00
bec932bb32 Accepting request 1290018 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1290018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=54
2025-07-06 14:59:31 +00:00
d71d2f7735 - Update to v2.2.0
- Core
    - log: Fix buffer overrun when accessing the 'log_levels' array
    - man/fi_mr: Clarify fi_close behavior
    - rdma/fabric.h: Add new FI_RESCAN flag to fi_getinfo()
    - hmem/cuda: Add fallback for dmabuf flag with CUDA_ERROR_NOT_SUPPORTED
    - hmem/cuda: Add runtime fallback for unsupported dmabuf flag
    - hmem/cuda: Add a flag for exporting dmabuf fd on GB200
    - man: Clarify fi_close behavior on FI_ENDPOINT
    - av: introduce FI_FIREWALL_ADDR flag for insert operations
    - common: ofi_ifname_toaddr check ifa->ifa_addr for null
    - man/fi_mr: Add note that requested_key may be ignored w/o remote access
  - CXI
    - Fix alt_read unit test to use rdzv_threshold
    - Adjust cxi environment variable defaults
    - Fix regression which could cause deadlock
    - Support libfabric 2.2 API
    - Set cq_data in peer unexpected message
    - Fix locking on the SRX path
    - Allow for passing opaque 64-bit data in ctrl_msg
    - Fix cxi driver paths for CI
    - Fix use of alt_read rget restricted TC type
    - Fix compile warnings associated with new dlopen of curl/json
    - Fix curl CXIP_WARN that included extra parameter
    - Decouple existence CXI_MAP_IOVA_ALLOC for build
    - New conf opt for binding of json symbols
    - New conf opt for binding of curl symbols
    - Pad struct to address hash mismatch bug
    - Consistency for initialization of cxip_addr structure
    - Fix uninitialized padding in cxip_addr structure causing hash mismatches

OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=116
2025-07-02 15:59:47 +00:00
8b4855f618 Accepting request 1285501 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1285501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=53
2025-06-14 14:17:15 +00:00
f7d6d9d833 - Update to v2.1.0
- Core
    - man/fi_domain: Define resource mgmt unreachable EP
    - man/fi_domain: Update connectionless EP disable
    - hmem: Fix missing rocr dlopen function assignments
    - Fix data race on log_prefix
    - hmem: Define ofi_hmem_put_dmabuf_fd and add support for cuda and rocr
    - Fix a few minor man page issues
  - CXI
    - Fix ss_plugin_auth_key_priority test
    - Bump internal CXI version to support 2.1
    - Fix possible cq_open segfault
    - Fix peer CQ support
    - Added collectives logical operators
    - Fix bug in constrained LE test cases in test.sh and test_sw.sh
    - Fix unit test missing pthread initialization
    - Add FI_WAIT_YIELD EQ support
    - Make string setup of FI_CXI_CURL_LIB_PATH safe
    - Add FI_CXI_CURL_LIB_PATH #define from autoconf
    - Test CUDA with DMA buf FD recycling
    - Test ROCR with DMA buf FD recycling
    - Test ROCR with DMA buf offset
    - Integrate with ofi_hmem_put_dmabuf_fd
    - Test monitor unsubscribe
    - Fix fi_cq_strerror
    - Cxi EQ do not support wait objects
    - Fix CQ wait FD logic
    - Disable retry logic for experimental collectives
    - Ignore drop count during init
    - Remove CXI_MAP_IOVA_ALLOC flag.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=114
2025-06-13 12:54:46 +00:00
707f6597cc Accepting request 1277991 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1277991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=52
2025-05-23 12:28:06 +00:00
69c664956f add upstream patches to fix gcc-15 compile time errors
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=112
2025-05-16 09:39:18 +00:00
c5bb542661 Accepting request 1231351 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1231351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=51
2024-12-17 18:22:18 +00:00
1ea4a1898e Accepting request 1231350 from home:NMorey:branches:science:HPC
- Update to v2.0.0 (jsc#PED-9661, jsc#PED-10668)
  - Core
    - hmem/cuda: avoid stub loading at runtime
    - Makefile.am: Keep using libfabric.so.1 as the soname
    - xpmem: Cleanup xpmem before monitors
    - Remove redundant windows.h
    - hmem/cuda: Add env variable to enable/disable CUDA DMABUF
    - Update ofi_vrb_speed
    - xpmem: Fix compilation warning
    - Change the xpmem log level to info
    - Clarify FI_HMEM support of inject calls
    - Introduce Sub-MR
    - Define capbility for directed receive without wildcard src_addr
    - Define capability for tagged message only directed recv
    - Define capability bit for tagged multi receive
    - Define flag for single use MR
    - Move flags only used for memory registration calls to fi_domain.h
    - windows/osd.h: fix and refactor logical operations on complex numbers
    - man/fi_peer: update peer fid initialization language
    - Remove CURRENT_SYMVER() macro
    - 1.8 ABI compat
    - hmem/ze: Fix mistmatched library name in an error message
    - Add FI_PEER as a capability
    - Add missing FI_AV_USER_ID to cap tostr
    - Update and clarify peer SRX API flow
    - Prefix public xpmem symbols with ofi
    - Add rbmap foreach node utility function
    - ofi_mem: Add release bufpool validity check
    - hmem/rocr: Don't attempt to get device info when pointer type is unknown.
    - hmem: Added handle field to close_handle

OBS-URL: https://build.opensuse.org/request/show/1231350
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=110
2024-12-16 09:12:30 +00:00
82161ee16c Accepting request 1227698 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1227698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=50
2024-12-03 19:45:37 +00:00
e9136af368 Accepting request 1227697 from home:NMorey:branches:science:HPC
- Completely remove building for AVX/AVX2 in PSM3  (bsc#1213538, bsc#1233356, bsc#1234014)
  Runtime detection before initializing the provider is not enough as
  PSM3 uses constructors which may include AVX insctruction.
  Only requires SSE4.2 as it does make a large performance impact
  in calculatin packet hashes.
  - Remove psm3-fix-SIGILL-on-system-not-supporting-AVX.patch
  - Add psm3-prevent-code-from-building-using-AVX-AVX2.patch
- Add _constraints to mark SSE4.2 as required

OBS-URL: https://build.opensuse.org/request/show/1227697
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=108
2024-12-02 09:12:22 +00:00
3b7c0598f7 Accepting request 1227352 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1227352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=49
2024-11-30 12:27:31 +00:00
5055e1ac64 Accepting request 1227162 from home:NMorey:branches:science:HPC
- Add psm3-fix-SIGILL-on-system-not-supporting-AVX.patch to fix
  SIGILL hapening during init on older CPU (bsc#1213538, bsc#1233356).
- Refresh libfabric-libtool.patch tu support patch -p0

OBS-URL: https://build.opensuse.org/request/show/1227162
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=106
2024-11-29 15:18:23 +00:00
f700a502af Accepting request 1193128 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1193128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfabric?expand=0&rev=48
2024-08-10 17:06:13 +00:00
bc9cd1607d Accepting request 1191892 from home:NMorey:branches:science:HPC
- Update to 1.22.0
  - Coll
    - Fix Coverity issues
  - Core
    - General bug fixes
    - hmem: change neuron get_dmabuf_fd error code
    - Fix an error in the error handling path of fi_param_define()
    - Makefile.am: Add Windows build files to distribution tarball
    - hmem: disable ZE IPC
    - Add profile variables for connections and memory allocated
    - hmem: Fix `cuDeviceCanAccessPeer()` error reporting
    - man: Update text for `len` parameter
    - Add page size MR attr field
    - man: Extend fi_mr_refresh support
    - man: Improve FI_MR_ALLOCATED documentation
    - man: Support optional MR desc
    - man: Improve FI_MR_HMEM documentation
    - Added ofi_get_realtime interfaces
    - Add endpoint options for max message size and inject size
    - Add Windows definition for `EREMOTEIO`
  - EFA
    - General improvement and bug fixes
    - Handle recv cancel for zero copy recv
    - Avoid iterating EP list in CQ read
    - Add RDMA core errno for remote unknown peer
    - Map EFA errnos to Libfabric codes
    - Improve the zero-copy receive feature
    - Improve the handshake enforcement procedure
    - Support unsolicited rdma-write recv
    - Support FI_MORE for eager send and rdma-write

OBS-URL: https://build.opensuse.org/request/show/1191892
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=104
2024-08-10 14:56:13 +00:00
9bb053841b Accepting request 1191648 from home:fkastl:gcc14
- Add -Wno-incompatible-pointer-types to CFLAGS to enable building
  for 32bit with GCC 14.

If this request is ok, please forward it soon to factory so that
it is ready when the default compiler is switched.

OBS-URL: https://build.opensuse.org/request/show/1191648
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=103
2024-08-08 16:01:35 +00:00
10 changed files with 1252 additions and 24 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of libfabric in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/libfabric/standard)
The current state of libfabric in the devel project build (science:HPC)
![Devel project build results](https://br.opensuse.org/status/science:HPC/libfabric)

14
_constraints Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<constraints>
<overwrite>
<conditions>
<arch>i586</arch>
<arch>x86_64</arch>
</conditions>
<hardware>
<cpu>
<flag>sse4_2</flag>
</cpu>
</hardware>
</overwrite>
</constraints>

View File

@@ -1,5 +1,5 @@
<services>
<service name="tar_scm" mode="disabled">
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/ofiwg/libfabric.git</param>
<param name="package-meta">no</param>
@@ -8,11 +8,10 @@
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">f67fad269327a1a25731d89fb94548d89ae7ae63</param>
<param name="revision">ae02f52ef5c30e3023d399b27818876fe81763ac</param>
</service>
<service name="recompress" mode="disabled">
<service name="recompress" mode="manual">
<param name="file">libfabric*.tar</param>
<param name="compression">bz2</param>
</service>
</services>

View File

@@ -1,7 +1,7 @@
#
# spec file for package fabtests
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,10 @@
#
%define git_ver .0.f67fad269327
%define git_ver .0.5a13558c2
Name: fabtests
Version: 1.21.0
Version: 2.4.0
Release: 0
Summary: Test suite for libfabric API
License: BSD-2-Clause OR GPL-2.0-only
@@ -38,9 +38,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Fabtests provides a set of examples that uses libfabric, a fabric software library.
%prep
%autosetup -p1 -n libfabric-%{version}%{git_ver}
%autosetup -p0 -n libfabric-%{version}%{git_ver}
%build
%set_build_flags
%if 0%{?gcc_version} >= 8
export CFLAGS="$CFLAGS --std=gnu17"
%endif
cd fabtests
./autogen.sh
%configure %{?_with_libfabric}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:766162bc9b3fbd6d57c40d230c076f7314a64ce28bee9eadf2fb1b046355a148
size 3463094

Binary file not shown.

View File

@@ -1,8 +1,18 @@
diff --git a/configure.ac b/configure.ac
index d137250..4e67035 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,7 +89,7 @@ AC_HEADER_STDC
commit 81de541fdd4abc77167f955f8ddd85f195888e5c
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Fri Sep 30 13:49:16 2022 +0200
libfabric libtool
Disable static libs
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
diff --git configure.ac configure.ac
index 7dacf69c9a69..90fcdc610754 100644
--- configure.ac
+++ configure.ac
@@ -193,7 +193,7 @@ m4_version_prereq([2.70],
dnl Check for compiler features
AC_C_TYPEOF

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
#
# spec file for package libfabric
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,27 @@
#
%define git_ver .0.f67fad269327
%define git_ver .0.5a13558c2
%ifarch aarch64 %power64 x86_64 s390x
%if 0%{?suse_version} > 1530
%ifarch aarch64 %power64 x86_64 s390x riscv64
%if 0%{?suse_version} > 1530
%define with_ucx 1
%endif
%endif
%ifarch x86_64 aarch64
%define with_efa 1
%endif
Name: libfabric
Version: 1.21.0
Version: 2.4.0
Release: 0
Summary: User-space RDMA Fabric Interfaces
License: BSD-2-Clause OR GPL-2.0-only
Group: Development/Libraries/C and C++
Source: %{name}-%{version}%{git_ver}.tar.bz2
Source1: baselibs.conf
Source100: README.md
Patch0: libfabric-libtool.patch
URL: http://www.github.com/ofiwg/libfabric
BuildRequires: autoconf
@@ -79,9 +83,15 @@ libfabric provides a user-space API to access high-performance fabric
services, such as RDMA. This package contains the development files.
%prep
%autosetup -p1 -n %{name}-%{version}%{git_ver}
%autosetup -p0 -n %{name}-%{version}%{git_ver}
%build
%set_build_flags
export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types"
%if 0%{?gcc_version} >= 8
export CFLAGS="$CFLAGS --std=gnu17"
%endif
rm -f config/libtool.m4
autoreconf -fi
# defaults: with-dlopen and without-valgrind can be over-rode:

View File

@@ -2,7 +2,7 @@
# This script has to be run prior to a check-in if changes were done
# to spec and/or changes
GIT_VER=$(grep "%define git_ver" libfabric.spec)
VERSION=$(egrep "^Version:" libfabric.spec)
VERSION=$(grep -E "^Version:" libfabric.spec)
sed -i -e 's/^%define git_ver.*$/'"$GIT_VER/" -e 's/^Version:.*$/'"$VERSION/" fabtests.spec
osc service localrun format_spec_file
osc service run format_spec_file