forked from pool/openucx
Accepting request 618096 from home:NMoreyChaisemartin:branches:science:HPC
- Remove libnuma-devel on s390x for older releases OBS-URL: https://build.opensuse.org/request/show/618096 OBS-URL: https://build.opensuse.org/package/show/science:HPC/openucx?expand=0&rev=19
This commit is contained in:
parent
37de8011ef
commit
1bb8a7934f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 13 12:45:34 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
- Remove libnuma-devel on s390x for older releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 07:12:37 UTC 2018 - nmoreychaisemartin@suse.com
|
||||
|
||||
|
15
openucx.spec
15
openucx.spec
@ -34,7 +34,13 @@ BuildRequires: automake >= 1.10
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libibverbs-devel
|
||||
%if 0%{?suse_version} < 1330
|
||||
%ifnarch s390x
|
||||
BuildRequires: libnuma-devel
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: libnuma-devel
|
||||
%endif
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: zlib-devel
|
||||
@ -139,7 +145,14 @@ export UCX_CFLAGS="$UCX_CFLAGS -mno-avx"
|
||||
%ifarch %ix86
|
||||
export UCX_CFLAGS="$UCX_CFLAGS -mno-sse -mno-sse2"
|
||||
%endif
|
||||
%configure --disable-static --without-avx --docdir="%_docdir/%name"
|
||||
%configure --disable-static --without-avx \
|
||||
%if 0%{?suse_version} < 1330
|
||||
%ifarch s390x
|
||||
--disable-numa \
|
||||
%endif
|
||||
%endif
|
||||
--docdir="%_docdir/%name"
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%post -n libucp0 -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user