File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515%bcond_without zfs
1616%bcond_without jansson
1717%bcond_without variorum
18+ %bcond_without libfabric
1819
1920%ifarch ppc64le
2021 %undefine with_slurm
2324 %undefine with_avrokafka
2425 %undefine with_kafka
2526 %undefine with_variorum
27+ %undefine with_libfabric
2628%endif
2729%ifarch aarch64
2830 %undefine with_rdc
@@ -139,6 +141,10 @@ BuildRequires: jansson-devel
139141Requires: variorum >= 0.8.0
140142BuildRequires: variorum >= 0.8.0
141143%endif
144+ %if %{with libfabric}
145+ Requires: libfabric
146+ BuildRequires: libfabric-devel
147+ %endif
142148
143149Url: https://github.com/ovis-hpc/ovis
144150
@@ -180,6 +186,7 @@ export CFLAGS="-g -O2 -fdiagnostics-color=auto %{optflags}"
180186 %{?with_zfs:--enable-zfs}%{!?with_zfs:--disable-zfs} \
181187 %{?with_tests:--enable-slurmtest --enable-ldms-test}%{!?with_tests:--disable-slurmtest --disable-ldms-test} \
182188 %{?with_variorum:--enable-variorum}%{!?with_variorum:--disable-variorum} \
189+ %{?with_libfabric:--with-libfabric}%{!?with_libfabric:--without-libfabric} \
183190%if %{with papi}
184191 --enable-papi \
185192 --with-libpapi-prefix=/usr/papi600 \
Original file line number Diff line number Diff line change 1515%bcond_without zfs
1616%bcond_without jansson
1717%bcond_without variorum
18+ %bcond_without libfabric
1819
1920%ifarch ppc64le
2021 %undefine with_slurm
2324 %undefine with_avrokafka
2425 %undefine with_kafka
2526 %undefine with_variorum
27+ %undefine with_libfabric
2628%endif
2729%ifarch aarch64
2830 %undefine with_rdc
@@ -143,6 +145,10 @@ BuildRequires: jansson-devel
143145Requires: variorum >= 0.8.0
144146BuildRequires: variorum >= 0.8.0
145147%endif
148+ %if %{with libfabric}
149+ Requires: libfabric
150+ BuildRequires: libfabric-devel
151+ %endif
146152
147153Url: https://github.com/ovis-hpc/ovis
148154
@@ -184,6 +190,7 @@ export CFLAGS="-g -O2 -fdiagnostics-color=auto %{optflags}"
184190 %{?with_zfs:--enable-zfs}%{!?with_zfs:--disable-zfs} \
185191 %{?with_tests:--enable-slurmtest --enable-ldms-test}%{!?with_tests:--disable-slurmtest --disable-ldms-test} \
186192 %{?with_variorum:--enable-variorum}%{!?with_variorum:--disable-variorum} \
193+ %{?with_libfabric:--with-libfabric}%{!?with_libfabric:--without-libfabric} \
187194%if %{with papi}
188195 --enable-papi \
189196%endif
You can’t perform that action at this time.
0 commit comments