]>
Commit | Line | Data |
---|---|---|
3e5f7aab JB |
1 | Summary: Test suite for libfabric API |
2 | Summary(pl.UTF-8): Zestaw testów dla API libfabric | |
3 | Name: fabtests | |
ab4fffd6 | 4 | Version: 1.15.1 |
3e5f7aab JB |
5 | Release: 1 |
6 | License: BSD or GPL v2 | |
7 | Group: Libraries | |
44c4636c JB |
8 | #or https://github.com/ofiwg/fabtests/releases |
9 | #Source0Download: https://github.com/ofiwg/libfabric/releases | |
10 | Source0: https://github.com/ofiwg/libfabric/releases/download/v%{version}/%{name}-%{version}.tar.bz2 | |
ab4fffd6 | 11 | # Source0-md5: 43d287d071958d99db4ceaea88a5477b |
3e5f7aab JB |
12 | URL: https://github.com/ofiwg/fabtests |
13 | BuildRequires: autoconf >= 2.57 | |
14 | BuildRequires: automake >= 1:1.11 | |
ab4fffd6 | 15 | BuildRequires: libfabric-devel >= 1.15.1 |
3e5f7aab | 16 | BuildRequires: libtool >= 2:2 |
b56f04fd | 17 | BuildRequires: sed >= 4.0 |
ab4fffd6 | 18 | Requires: libfabric >= 1.15.1 |
3e5f7aab JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Fabtests provides a set of examples that uses libfabric - a | |
23 | high-performance fabric software library. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Fabtests to zbiór przykładów wykorzystujących libfabric - bibliotekę | |
27 | wysoko wydajnych usług sieci typu fabric. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | ||
ab4fffd6 | 32 | %{__sed} -i -e '1s,/usr/bin/env python3,/usr/bin/python3,' scripts/runfabtests.py |
b56f04fd JB |
33 | %{__sed} -i -e '1s,/usr/bin/env ruby,/usr/bin/ruby,' scripts/rft_yaml_to_junit_xml |
34 | ||
3e5f7aab JB |
35 | %build |
36 | %{__libtoolize} | |
37 | %{__aclocal} -I config | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure \ | |
42 | --disable-silent-rules | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | # don't package plain unit tests | |
34f5c940 | 52 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/fi_{av_test,cm_data,cntr_test,cq_data,cq_test,dgram,dgram_waitset,dom_test,eq_test,getinfo_test,mr_cache_evict,mr_test,msg,msg_epoll,msg_sockets,poll,rdm,rdm_atomic,rdm_rma_*,rdm_tagged_peek,scalable_ep,shared_ctx} |
3e5f7aab | 53 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/runfabtests.sh |
34f5c940 | 54 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/fi_{av_test,cm_data,cntr_test,cq_data,cq_test,dgram,dgram_waitset,dom_test,eq_test,getinfo_test,mr_test,msg,msg_epoll,msg_sockets,poll,rdm,rdm_atomic,rdm_rma_*,rdm_tagged_peek,scalable_ep,shared_ctx}.1 |
3e5f7aab | 55 | |
ab4fffd6 JB |
56 | # adjust names for 1.15.x |
57 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/fi_efa_{ep_rnr_retry,rnr_queue_resend}.1 | |
58 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/fi_{inj_complete,msg_inject}.1* | |
59 | ||
3e5f7aab JB |
60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS COPYING | |
0d190d33 | 66 | %attr(755,root,root) %{_bindir}/fi_av_xfer |
34f5c940 | 67 | %attr(755,root,root) %{_bindir}/fi_bw |
f47b427e | 68 | %attr(755,root,root) %{_bindir}/fi_dgram_pingpong |
ab4fffd6 JB |
69 | %attr(755,root,root) %{_bindir}/fi_efa_info_test |
70 | %attr(755,root,root) %{_bindir}/fi_efa_rnr_queue_resend | |
71 | %attr(755,root,root) %{_bindir}/fi_efa_rnr_read_cq_error | |
34f5c940 | 72 | %attr(755,root,root) %{_bindir}/fi_loopback |
0d190d33 | 73 | %attr(755,root,root) %{_bindir}/fi_mcast |
ab4fffd6 JB |
74 | %attr(755,root,root) %{_bindir}/fi_msg_bw |
75 | %attr(755,root,root) %{_bindir}/fi_msg_inject | |
76 | %attr(755,root,root) %{_bindir}/fi_msg_pingpong | |
0d190d33 JB |
77 | %attr(755,root,root) %{_bindir}/fi_multi_ep |
78 | %attr(755,root,root) %{_bindir}/fi_multi_mr | |
34f5c940 JB |
79 | %attr(755,root,root) %{_bindir}/fi_multi_recv |
80 | %attr(755,root,root) %{_bindir}/fi_multinode | |
81 | %attr(755,root,root) %{_bindir}/fi_multinode_coll | |
b56f04fd | 82 | %attr(755,root,root) %{_bindir}/fi_rdm_cntr_pingpong |
0d190d33 | 83 | %attr(755,root,root) %{_bindir}/fi_rdm_deferred_wq |
34f5c940 | 84 | %attr(755,root,root) %{_bindir}/fi_rdm_multi_client |
0d190d33 | 85 | %attr(755,root,root) %{_bindir}/fi_rdm_multi_domain |
b56f04fd | 86 | %attr(755,root,root) %{_bindir}/fi_rdm_pingpong |
c912fa87 JB |
87 | %attr(755,root,root) %{_bindir}/fi_rdm_shared_av |
88 | %attr(755,root,root) %{_bindir}/fi_rdm_tagged_bw | |
b56f04fd | 89 | %attr(755,root,root) %{_bindir}/fi_rdm_tagged_pingpong |
0d190d33 JB |
90 | %attr(755,root,root) %{_bindir}/fi_recv_cancel |
91 | %attr(755,root,root) %{_bindir}/fi_resmgmt_test | |
f47b427e | 92 | %attr(755,root,root) %{_bindir}/fi_rma_bw |
34f5c940 | 93 | %attr(755,root,root) %{_bindir}/fi_stream_msg |
b56f04fd | 94 | %attr(755,root,root) %{_bindir}/fi_ubertest |
0d190d33 | 95 | %attr(755,root,root) %{_bindir}/fi_unexpected_msg |
34f5c940 | 96 | %attr(755,root,root) %{_bindir}/fi_unmap_mem |
b56f04fd | 97 | %attr(755,root,root) %{_bindir}/rft_yaml_to_junit_xml |
ab4fffd6 | 98 | %attr(755,root,root) %{_bindir}/runfabtests.py |
c912fa87 | 99 | %{_datadir}/fabtests |
44c4636c | 100 | %{_mandir}/man1/fi_av_xfer.1* |
34f5c940 | 101 | %{_mandir}/man1/fi_bw.1* |
44c4636c | 102 | %{_mandir}/man1/fi_dgram_pingpong.1* |
ab4fffd6 | 103 | %{_mandir}/man1/fi_efa_rnr_queue_resend.1* |
44c4636c JB |
104 | %{_mandir}/man1/fi_mcast.1* |
105 | %{_mandir}/man1/fi_multi_ep.1* | |
106 | %{_mandir}/man1/fi_multi_mr.1* | |
34f5c940 | 107 | %{_mandir}/man1/fi_multi_recv.1* |
44c4636c | 108 | %{_mandir}/man1/fi_msg_bw.1* |
ab4fffd6 | 109 | %{_mandir}/man1/fi_msg_inject.1* |
44c4636c JB |
110 | %{_mandir}/man1/fi_msg_pingpong.1* |
111 | %{_mandir}/man1/fi_rdm_cntr_pingpong.1* | |
112 | %{_mandir}/man1/fi_rdm_deferred_wq.1* | |
34f5c940 | 113 | %{_mandir}/man1/fi_rdm_multi_client.1* |
44c4636c JB |
114 | %{_mandir}/man1/fi_rdm_multi_domain.1* |
115 | %{_mandir}/man1/fi_rdm_pingpong.1* | |
116 | %{_mandir}/man1/fi_rdm_shared_av.1* | |
117 | %{_mandir}/man1/fi_rdm_tagged_bw.1* | |
118 | %{_mandir}/man1/fi_rdm_tagged_pingpong.1* | |
119 | %{_mandir}/man1/fi_recv_cancel.1* | |
120 | %{_mandir}/man1/fi_resmgmt_test.1* | |
44c4636c JB |
121 | %{_mandir}/man1/fi_rma_bw.1* |
122 | %{_mandir}/man1/fi_ubertest.1* | |
123 | %{_mandir}/man1/fi_unexpected_msg.1* | |
34f5c940 | 124 | %{_mandir}/man1/fi_unmap_mem.1* |
3e5f7aab | 125 | %{_mandir}/man7/fabtests.7* |