diff --git a/hdf5.spec b/hdf5.spec index 4a5175827b4e9ce8fb95dc7a672eef5fedcd5513..e2b4a746485e9c57d9f0e0a6c1985d665c4928e1 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -9,7 +9,7 @@ Name: hdf5 Version: 1.8.20 -Release: 11 +Release: 12 Summary: A data model, library, and file format for storing and managing data License: GPL @@ -143,7 +143,7 @@ ln -s ../configure . %{configure_opts} \ --enable-cxx sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -make LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" +make %{?_smp_mflags} LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" popd export CC=mpicc @@ -168,7 +168,7 @@ do --datarootdir=%{_libdir}/$mpi/share \ --mandir=%{_libdir}/$mpi/share/man sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool - make LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" + make %{?_smp_mflags} LDFLAGS="%{__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" module purge popd done @@ -233,7 +233,7 @@ cat > ${RPM_BUILD_ROOT}/%{_rpmmacrodir}/macros.hdf5 < - 1.8.20-12 +- Support parallel compilation + * Fri Jan 15 2021 yanan li - 1.8.20-11 - add sub packages hdf5-openmpi-static, hdf5-openmpi-devel, hdf5-openmpi, - hdf5-mpich-static, hdf5-mpich-devel, hdf5-mpich