Skip to content

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Jan 7, 2020

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
(cherry picked from commit 352e575)

Refs #6914
FYI @jschwartz-cray

RMs: technically, this is an enhancement. But it's pretty much an oversight; we really should have included this functionality in the first place.

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>
(cherry picked from commit 352e575)
@bwbarrett bwbarrett merged commit d16d9a6 into open-mpi:v3.0.x Jan 8, 2020
@jsquyres jsquyres deleted the pr/v3.0.x/rpm-specfile-fix branch January 8, 2020 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants