forked from pool/mvapich2
Accepting request 523634 from science:HPC
1 OBS-URL: https://build.opensuse.org/request/show/523634 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mvapich2?expand=0&rev=3
This commit is contained in:
commit
8ec26f84f8
@ -1,5 +1,7 @@
|
|||||||
<multibuild>
|
<multibuild>
|
||||||
<package>testsuite</package>
|
<package>testsuite</package>
|
||||||
<package>psm</package>
|
<package>psm</package>
|
||||||
|
<package>psm-testsuite</package>
|
||||||
<package>psm2</package>
|
<package>psm2</package>
|
||||||
|
<package>psm2-testsuite</package>
|
||||||
</multibuild>
|
</multibuild>
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 12 09:25:01 UTC 2017 - nmoreychaisemartin@suse.com
|
||||||
|
|
||||||
|
- Drop unnecessary dependency to xorg-x11-devel
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 11 09:19:37 UTC 2017 - nmoreychaisemartin@suse.com
|
||||||
|
|
||||||
|
- Only requires verbs libraries for verbs build.
|
||||||
|
libibverbs devel causes a SEGV when run in a chroot using the
|
||||||
|
psm or psm2 conduits
|
||||||
|
- Add testuite packages for all build flavours
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 13 14:59:13 UTC 2017 - nmoreychaisemartin@suse.com
|
Thu Jul 13 14:59:13 UTC 2017 - nmoreychaisemartin@suse.com
|
||||||
|
|
||||||
|
@ -18,16 +18,36 @@
|
|||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%nil
|
%global flavor @BUILD_FLAVOR@%nil
|
||||||
|
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
%define build_flavor verbs
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == "testsuite"
|
||||||
|
%define build_flavor verbs
|
||||||
|
%define testsuite 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "psm"
|
||||||
|
%define build_flavor psm
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == "psm-testsuite"
|
||||||
|
%define build_flavor psm
|
||||||
|
%define testsuite 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "psm2"
|
||||||
|
%define build_flavor psm2
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == "psm2-testsuite"
|
||||||
|
%define build_flavor psm2
|
||||||
|
%define testsuite 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%if "%{flavor}" != ""
|
%if "%{flavor}" != ""
|
||||||
%define pack_suff -%{flavor}
|
%define pack_suff -%{flavor}
|
||||||
%else
|
%else
|
||||||
%define pack_suff %{nil}
|
%define pack_suff %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%flavor" == "testsuite"
|
|
||||||
%define testsuite 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define module_name mvapich2%{pack_suff}
|
%define module_name mvapich2%{pack_suff}
|
||||||
%define _prefix /usr/%_lib/mpi/gcc/%{module_name}
|
%define _prefix /usr/%_lib/mpi/gcc/%{module_name}
|
||||||
%define _libexecdir %{_prefix}/%{_lib}
|
%define _libexecdir %{_prefix}/%{_lib}
|
||||||
@ -56,10 +76,6 @@ BuildRequires: automake
|
|||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
BuildRequires: infiniband-diags-devel
|
|
||||||
BuildRequires: libibumad-devel
|
|
||||||
BuildRequires: libibverbs-devel
|
|
||||||
BuildRequires: librdmacm-devel
|
|
||||||
%ifnarch s390 s390x armv7hl
|
%ifnarch s390 s390x armv7hl
|
||||||
BuildRequires: libnuma-devel
|
BuildRequires: libnuma-devel
|
||||||
%endif
|
%endif
|
||||||
@ -68,15 +84,20 @@ BuildRequires: libtool
|
|||||||
BuildRequires: mpi-selector
|
BuildRequires: mpi-selector
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: sysfsutils
|
BuildRequires: sysfsutils
|
||||||
BuildRequires: xorg-x11-devel
|
%if "%{build_flavor}" == "psm"
|
||||||
%if "%{flavor}" == "psm"
|
|
||||||
ExclusiveArch: %ix86 x86_64
|
ExclusiveArch: %ix86 x86_64
|
||||||
BuildRequires: infinipath-psm-devel
|
BuildRequires: infinipath-psm-devel
|
||||||
%endif
|
%endif
|
||||||
%if "%{flavor}" == "psm2"
|
%if "%{build_flavor}" == "psm2"
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
BuildRequires: libpsm2-devel
|
BuildRequires: libpsm2-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{build_flavor}" == "verbs"
|
||||||
|
BuildRequires: infiniband-diags-devel
|
||||||
|
BuildRequires: libibumad-devel
|
||||||
|
BuildRequires: libibverbs-devel
|
||||||
|
BuildRequires: librdmacm-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: mpi-selector
|
Requires: mpi-selector
|
||||||
|
|
||||||
@ -90,14 +111,16 @@ is based on MPICH2 and MVICH.
|
|||||||
Summary: OSU MVAPICH2 MPI package
|
Summary: OSU MVAPICH2 MPI package
|
||||||
Group: Development/Libraries/Parallel
|
Group: Development/Libraries/Parallel
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
%if "%{build_flavor}" == "psm"
|
||||||
|
Requires: infinipath-psm-devel
|
||||||
|
%endif
|
||||||
|
%if "%{build_flavor}" == "psm2"
|
||||||
|
Requires: libpsm2-devel
|
||||||
|
%endif
|
||||||
|
%if "%{build_flavor}" == "verbs"
|
||||||
Requires: libibumad-devel
|
Requires: libibumad-devel
|
||||||
Requires: libibverbs-devel
|
Requires: libibverbs-devel
|
||||||
Requires: librdmacm-devel
|
Requires: librdmacm-devel
|
||||||
%if "%{flavor}" == "psm"
|
|
||||||
Requires: infinipath-psm-devel
|
|
||||||
%endif
|
|
||||||
%if "%{flavor}" == "psm2"
|
|
||||||
Requires: libpsm2-devel
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -128,11 +151,11 @@ cp /usr/share/automake*/config.* .
|
|||||||
#./autogen.sh
|
#./autogen.sh
|
||||||
%configure \
|
%configure \
|
||||||
--disable-wrapper-rpath \
|
--disable-wrapper-rpath \
|
||||||
%if "%{flavor}" == "psm"
|
%if "%{build_flavor}" == "psm"
|
||||||
--with-device=ch3:psm \
|
--with-device=ch3:psm \
|
||||||
--with-psm=/usr \
|
--with-psm=/usr \
|
||||||
%endif
|
%endif
|
||||||
%if "%{flavor}" == "psm2"
|
%if "%{build_flavor}" == "psm2"
|
||||||
--with-device=ch3:psm \
|
--with-device=ch3:psm \
|
||||||
--with-psm2=/usr \
|
--with-psm2=/usr \
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user