File tree Expand file tree Collapse file tree 3 files changed +36
-2
lines changed
Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 4343// no debian/ support yet
4444// no pmix for leap15 yet
4545packageBuildingPipeline([' distros' : [' centos7' ],
46- ' make args' : ' -f Makefile-rpm.mk' ])
46+ ' make args' : ' CHROOT=true -f Makefile-rpm.mk' ])
Original file line number Diff line number Diff line change @@ -111,3 +111,33 @@ $(NAME)-$(DL_VERSION).tar.$(SRC_EXT): $(NAME)-$(DL_VERSION)-$(GIT_COMMIT).tar
111111 fi
112112 rm -f $@
113113 gzip < $< > $@
114+
115+ CHROOT ?= false
116+
117+ romio-$(VERSION ) .tar.gz :
118+ set -e; \
119+ if $( CHROOT) ; then \
120+ romio_prefix=/var/lib/mock/epel-7-x86_64/root/builddir/build; \
121+ chroot_romio_prefix=/builddir/build; \
122+ else \
123+ romio_prefix=_topdir; \
124+ fi ; \
125+ romio_dir=BUILD/mpich-$(VERSION ) /src/mpi/romio; \
126+ if grep " MPI_LIB = /" $$ romio_prefix/$$ romio_dir/test/Makefile; then \
127+ trap ' mv $$romio_prefix/$$romio_dir/test/Makefile{.old,}' EXIT; \
128+ mv $$ romio_prefix/$$ romio_dir/test/Makefile{,.old}; \
129+ sed -e ' s/\(MPI_LIB = \)\/\(.*\)/\1-L\/\2/' \
130+ < $$ romio_prefix/$$ romio_dir/test/Makefile.old \
131+ > $$ romio_prefix/$$ romio_dir/test/Makefile; \
132+ fi ; \
133+ if $( CHROOT) ; then \
134+ mock --chroot " make -C $$ chroot_romio_prefix/$$ romio_dir clean" ; \
135+ else \
136+ make -C $$ romio_prefix/$$ romio_dir clean; \
137+ fi ; \
138+ tar -C $$ romio_prefix/$$ romio_dir/.. --exclude Makefile.old \
139+ -czf romio-$(VERSION ) .tar.gz romio
140+
141+ romio-tarball : romio-$(VERSION ) .tar.gz
142+
143+ .PHONY : romio-tarball
Original file line number Diff line number Diff line change 11Summary: A high-performance implementation of MPI
22Name: mpich
33Version: 3.3
4- Release: 3 %{?dist }
4+ Release: 4 %{?dist }
55License: MIT
66URL: http://www.mpich.org/
77
@@ -90,6 +90,7 @@ Provides: %{name}-devel-static = %{version}-%{release}
9090Requires: %{name } = %{version }-%{release }
9191Requires: pkgconfig
9292Requires: gcc-gfortran
93+ Requires: daos-devel
9394%if (0%{?fedora } >= 30)
9495Requires: rpm-mpi-hooks
9596%endif
@@ -333,6 +334,9 @@ make check VERBOSE=1
333334%{python3_sitearch }/%{name }.pth
334335
335336%changelog
337+ * Thu Nov 28 2019 Brian J. Murrell <brian.murrell@intel.com> - 3.3-4
338+ - mpich-devel should Requires: daos-devel
339+
336340* Fri Nov 22 2019 Brian J. Murrell <brian.murrell@intel.com> - 3.3-3
337341- Rebuild with newer CaRT SO version
338342
You can’t perform that action at this time.
0 commit comments