1
1

76 Коммитов

Автор SHA1 Сообщение Дата
John McIver
da701042b5 Fix buildrpm.sh "-r" option used for RPM options specification
The "-r" option now concatenates using the rpmbuild_options
variable. The "-r" option in prior versions of buildrpm.sh
concatenated using the configure_options variable, which uses special
delineation for Autoconf options (first word of argument string is
"configure_options"). This resulted in an RPM build failure as the
Autoconf options would contain nested RPM option statements.

Signed-off-by: John K. McIver III <john.mciver.iii@gmail.com>
2020-07-07 22:31:51 -06:00
Jie Zhang
9f385a0c9f openmpi.spec: Fix Open MPI packaging issue
Libtool archive files (.la files) create an unnecessary dependency
between linked applications and the development versions of packages
upon which Open MPI depends (to get the .so.1 -> .so symlink).

Remove .la libtool archive files to keep the best practice in
package builders.

Signed-off-by: Jie Zhang <zhngaj@amazon.com>
2020-06-12 02:30:46 +00:00
Jeff Squyres
9687d5e867 Upgrade all www.open-mpi.org URLs to https
Found a handful of other URLs that weren't https-ized, so I updated
them, too (after verifying that they support https, of course).

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2020-04-02 10:43:50 -04:00
Jeff Squyres
352e575e18 openmpi.spec: update modulefile_path behavior
Allow the user to override the modulefile_path (root directory to
install the Open MPI modulefile), even if install_in_opt==1.  For
example:

rpmbuild \
    --rebuild \
    --define 'install_in_opt 1' \
    --define 'modulefile_path /path/to/my/modulefiles/openmpi/%{version}' \
    openmpi-4.0.2-1.src.rpm

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2019-12-30 06:53:56 -08:00
Jeff Squyres
013f5b03f5 openmpi.spec: make sure grep failure doesn't abort
Thanks to Daniel Letai for bringing this to our attention.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2019-05-14 16:28:53 -07:00
Michael Heinz
8562211623 Corrects some whitespace issues with buildrpm.sh
Signed-off-by: Michael Heinz <michael.william.heinz@intel.com>
2019-05-01 15:22:03 -04:00
Michael Heinz
687a5603a1 buildrpm.sh no longer respects the value of rpmtopdir
In OMPI 2.1.2, buildrpm.sh could work with a value of rpmtopdir that was
set in the environment. In newer versions this is no longer true,
causing such values to be ignored. This patch adds a new argument to
buildrpm.sh, -R, which allows the user to specify where to build the
RPMs.

Signed-off-by: Michael Heinz <michael.william.heinz@intel.com>
2019-05-01 15:20:41 -04:00
Andrey Maslennikov
c7d51a3a83 rpmbuild: fix rpmtopdir redefinition
Erasing this variable by default makes outside definition useless.

Signed-off-by: Andrey Maslennikov <andreyma@mellanox.com>
2018-09-18 09:38:01 +03:00
Kevin Buckley
9e23c5e3f6 openmpi.spec: also put the modulefile in /opt if install_in_opt==1
Thanks to Kevin Buckley for noticing the issue and supplying the
patch.

[skip ci]
bot:notest

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2017-03-28 20:45:09 -04:00
Jeff Squyres
6002a8bca5 buildrpm.sh: don't use $HOME
This is news to me: I didn't know that some distros do not set $HOME.
So use "~" instead, and only try to grep ~/.rpmmacros if it exists.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2016-12-21 07:42:32 -08:00
Jeff Squyres
5ecd271934 buildrpm.sh: minor fixes
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2016-12-20 10:54:37 -08:00
Martin Kontsek
30d076a2f7 Add arguments to rpmbuild script and update README, implement pull request suggestions.
Signed-off-by: Martin Kontsek <mkontsek@cisco.com>
2016-12-15 11:18:41 -08:00
Jeff Squyres
48938f542c openmpi.spec: don't export FFLAGS
The Open MPI configure script has long-since only paid attention to
FCFLAGS.  Indeed, it will warn if you set FFLAGS or F77FLAGS.  So
remove them from the spec file.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2016-07-12 14:22:20 -07:00
Gilles Gouaillardet
6ab3289582 rpm: fix openmpi.spec not to include the /usr directory
/usr cannot be included on RHEL7 like distros
2015-11-12 16:21:40 +09:00
Ralph Castain
869041f770 Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Bert Wesarg
f02203b98b Do not add any VampirTrace binaries into the RPM. 2015-01-22 08:08:07 +01:00
Mike Dubman
8c265fab15 BUILD RPM: revert dist token in Release tag, reset dist to nil when building src.rpm
This commit was SVN r32224.
2014-07-12 12:29:30 +00:00
Mike Dubman
080d88bc9b build: remove distro id from src.rpm filename, select md5 packing algorithm for
consistency across different distros: src.rpm create on one distro can be unpacked on
another when same packing algorithm used on both.

reviewed by Jeff
cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r32205.
2014-07-10 19:35:15 +00:00
Jeff Squyres
e498e20d46 openmpi.spec: several minor fixes
Thanks to Oliver Lahaye for supplying the patch.

This commit was SVN r32147.
2014-07-07 12:06:55 +00:00
Jeff Squyres
3de7bb61cb Linux specfile: update %description blocks
Update the Open MPI description and fix lots of grammatical errors in
the OpenSHMEM description.

cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31709.
2014-05-09 14:21:36 +00:00
Mike Dubman
be80ade431 Implemening Jeffs comments
Refs: #3887 reviewer=ompi-rm1.7

This commit was SVN r29647.
2013-11-09 15:41:31 +00:00
Mike Dubman
926667c114 Move debian/ into contrib
Refs: #3887
reviewer=ompi-rm1.7

This commit was SVN r29633.
2013-11-07 14:19:27 +00:00
Mike Dubman
d8a24692b0 revert r29615, will stick to Dave suggestion and put everything under contrib/dist/linux/debian
Refs: #3887

This commit was SVN r29632.

The following SVN revision numbers were found above:
  r29615 --> open-mpi/ompi@c356bdeeae
2013-11-07 09:28:43 +00:00
Mike Dubman
c356bdeeae packaging: add support for debian + example
unfortunately the debian packaging files should reside in the root folder
and cannot be placed under contrib/dist/... tree.
developed by Aleksey, reviewed by miked
cmr=v1.7.4:reviewer=ompi-gk1.7

This commit was SVN r29615.
2013-11-06 12:50:28 +00:00
Joshua Ladd
b3f88c4a1d Per the RFC schedule, this commit adds Mellanox OpenSHMEM to the trunk. It does not yet run on OSX or with CM PML for an MTL other than MXM. Mellanox is aware of these issues and is in the process of resolving them. This should be added to \ncmr=v1.7.4:subject=Move OSHMEM to 1.7.4:reviewer=rhc
This commit was SVN r29153.
2013-09-10 15:34:09 +00:00
Jeff Squyres
f85dca0285 Fix spelling mistake that has been there for a long, long time...
This commit was SVN r28562.
2013-05-24 22:28:15 +00:00
Jeff Squyres
8e304f0fb5 Remove the comment about OSCAR being long gone; it's apparently alive
and well.

This commit was SVN r27674.
2012-12-15 13:08:04 +00:00
Jeff Squyres
b8a83c43fd Merge over fixes and updates to the spec file from the v1.6 branch.
See #27663 and #27664.

This commit was SVN r27665.
2012-12-11 20:41:06 +00:00
Jeff Squyres
7dcce6d19b Open MPI is no longer distributed in OFED, so remove all the
OFED-specific crud (i.e., the ofed and munge-build-into-install
stuff).

This commit was SVN r26700.
2012-06-29 15:43:54 +00:00
Jeff Squyres
ef54fdc632 Force the hashing functions to be md5 so that the SRPM remains
backwards compatible with older RPM implementations.

This commit was SVN r26534.
2012-06-01 19:03:57 +00:00
Jeff Squyres
692ee4dd9a Add comment about RHEL6
This commit was SVN r26288.
2012-04-18 16:58:37 +00:00
Jeff Squyres
e366075151 Minor updates to the Open MPI spec file
This commit was SVN r25950.
2012-02-17 13:37:42 +00:00
Nadia Derbey
af30f53556 Committed for D. Guinier: The new env variable MPI_ROOT facilitate launch script creation. It is asked by customers who use BPS and LSF batch manager
This commit was SVN r24465.
2011-02-25 14:40:49 +00:00
Nadia Derbey
4e71d4ae32 remove trailing colon at the end of the generated LD_LIBRARY_PATH
This commit was SVN r22677.
2010-02-22 07:47:30 +00:00
Jeff Squyres
656701e2b0 - Add missing executables to specfile (ompi-server, etc.)
- Fix: pull in VT files when building multiple RPMs (reported by Jim
  Kusznir).
- Add allow_fortify_source option to let users selectively disable
  _FORTIFY_SOURCE processing on platforms where it just doesn't work
  (even with gcc; also reported by Jim Kusznir).

cmr:v1.4
cmr:v1.5

This commit was SVN r22306.
2009-12-14 19:52:23 +00:00
Jeff Squyres
eed890c3d7 Fix one more spelling typo
This commit was SVN r22156.
2009-10-28 17:28:54 +00:00
Jeff Squyres
3dc84e9d0b Change the default value of shell_scripts_basename to not include the
version because they're installed in bindir by default, where you can
only have one Open MPI installation at a time.  Plus, without the
version numbers is what mpi-selector expects.

Thanks to Bill Johnstone for pointing out the problem.

This commit was SVN r22074.
2009-10-08 11:47:53 +00:00
Mike Dubman
e728668031 add ext variables to control script behave
This commit was SVN r20253.
2009-01-13 08:50:18 +00:00
Mike Dubman
b5cc2f389f fix: pass custom $topdir to rpmbuild command if defined by user
This commit was SVN r20207.
2009-01-06 13:15:40 +00:00
Jeff Squyres
5ae8b699f0 OFED 1.3 has a much better installer; remove all the leave_build_root
kludge nastiness.  W00t!

This commit was SVN r17372.
2008-02-04 16:22:23 +00:00
Jeff Squyres
eadd82b70e Remove the hard-coded "openmpi" name from two Requires statements and
use %{name} instead (FWIW, %{_name} caused rpmbuild to barf).

This commit was SVN r17164.
2008-01-19 02:29:55 +00:00
Jeff Squyres
fe244271f2 Several small fixes:
* Remove duplicate %{_sysconfdir} in the % files sections when
  building the sub-packages.
* When building the sub-packages, ensure that devel.files also picks
  up the F90 module.
* Hard-code the directory name "openmpi" into _pkglibdir (vs. using
  %{name}) because the OMPI code base has it hard-coded as well.
  Thanks to Jim Kusznir for noticing the problem.

This commit was SVN r17036.
2008-01-02 21:52:59 +00:00
Jeff Squyres
4b2c152107 Err... fix what was committed yesterday. We didn't want to disable
both provides and requires -- we just wanted to disable the automatic
requires.

This commit was SVN r16854.
2007-12-05 17:28:16 +00:00
Jeff Squyres
64d00186ea Oops -- also include the "turn off the auto-dependency generation"
stuff in the sub-packages as well.

This commit was SVN r16839.
2007-12-04 18:08:28 +00:00
Jeff Squyres
6e530893cd Add a command-line option to disable the rpmbuild auto-dependency
generation. 

This commit was SVN r16838.
2007-12-04 17:40:01 +00:00
Sven Stork
29b2f8ce97 - fix broken build target, we have to use the files in the RPM build
environment.

This commit was SVN r16561.
2007-10-24 17:48:30 +00:00
Jeff Squyres
790bfd5b2a Just do a little word wrapping.
This commit was SVN r15389.
2007-07-12 19:02:01 +00:00
Jeff Squyres
7dee2fc4e8 At the prompting of Alex Tumanov and per suggestion from Red Hat, when
using install_in_opt, put the %doc files in there as well (i.e., move
docdir to be in /opt as well).

This commit was SVN r15387.
2007-07-12 15:32:18 +00:00
Jeff Squyres
b9195145e9 Bring over Sven's specfile generator from /tmp/sven-specfile-generator.
This commit was SVN r14628.
2007-05-09 12:18:39 +00:00
Jeff Squyres
740af39d0a Bring over latest fixes from v1.2 branch.
This commit was SVN r14577.
2007-05-03 14:18:48 +00:00