SHA256
1
0
forked from pool/libfabric

Accepting request 507237 from home:NMoreyChaisemartin:branches:science:HPC

- Add x86 build without libpsm2

OBS-URL: https://build.opensuse.org/request/show/507237
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=13
This commit is contained in:
Nicolas Morey-Chaisemartin 2017-06-30 08:06:57 +00:00 committed by Git OBS Bridge
parent 5c62e72d1c
commit 10f9b3ed0c
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 30 07:42:15 UTC 2017 - nmoreychaisemartin@suse.com
- Add x86 build without libpsm2
-------------------------------------------------------------------
Tue May 16 06:43:19 UTC 2017 - nmoreychaisemartin@suse.com

View File

@ -35,12 +35,13 @@ BuildRequires: automake
BuildRequires: infinipath-psm-devel
BuildRequires: libibverbs-devel
BuildRequires: libnl3-devel
%ifarch x86_64
BuildRequires: libpsm2-devel
%endif
BuildRequires: librdmacm-devel
BuildRequires: libtool
BuildRequires: pkg-config
#Currently *only* builds on x86_64 as it is dependent on libpsm2
ExclusiveArch: x86_64
ExclusiveArch: x86_64 %{ix86}
%define lib_major 1
%description
@ -74,7 +75,10 @@ autoreconf -fi
# defaults: with-dlopen and without-valgrind can be over-rode:
%configure %{?_without_dlopen} %{?_with_valgrind} \
--enable-sockets --enable-verbs --enable-usnic --enable-psm \
--disable-static --enable-psm2
%ifarch x86_64
--enable-psm2 \
%endif
--disable-static
make %{?_smp_mflags}
%install
@ -225,7 +229,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_mandir}/man7/fi_verbs.7.gz
%{_mandir}/man7/fi_usnic.7.gz
%{_mandir}/man7/fi_psm.7.gz
%ifarch x86_64
%{_mandir}/man7/fi_psm2.7.gz
%endif
%{_mandir}/man3/fi_trywait.3.gz
%{_mandir}/man7/fi_udp.7.gz